Azoteq
IQ Switch®
ProxSense® Series
IQS624 DATASHEET
Combination sensor including: Hall-effect rotation sensing, along with dual-channel capacitive
proximity/touch sensing, or single-channel inductive sensing.
The IQS624 ProxFusion® IC is a multifunctional capacitive and Hall-effect sensor designed for
applications where any or all the technologies may be required. The two Hall-effect sensors calculate
the angle of a magnet rotating parallel with the sensor. The sensor is fully I 2C compatible and onchip calculations enable the IC to stream the current angle of the magnet without extra calculations.
Features
>
Hall effect angle sensor:
• On-chip Hall plates
• 360° Absolute Output
• 1° Resolution*, calculated on chip
• Relative rotation angle.
• Detect movement and the direction of
movement.
• Raw data: can be used to calculate
degrees on external processor.
• Wide operational range
• No external components required
> Partial auto calibration:
• Continuous
auto-calibration,
compensation for wear or small
displacements of the sensor or magnet.
• Flexible gain control
• Automatic Tuning Implementation (ATI) –
Performance enhancement (10 bit).
> Capacitive sensing
• Full
auto-tuning
with
adjustable
sensitivity
• 2pF to 200pF external capacitive load
capability
>
Inductive sensing
• Only external
sense
coil
required (PCB
trace)
Multiple
integrated UI
DFN10
WLCSP-9
• Proximity / Touch
Representations only, not actual markings
• Proximity wake-up
• Event mode
• Wake Hall sensing on proximity
Minimal external components
Standard I2C interface
Optional RDY indication for event mode
operation
Low power consumption:
• 240uA (100Hz response, Hall),
• 55uA (100Hz response, capacitive),
• 65uA (20Hz response, Hall)
• 15uA (20Hz response, capacitive)
• 5uA (5Hz response, capacitive)
Supply Voltage: 2.0V to 3.6V**
>
>
>
>
>
>
*Optimal conditions
**5V solution available on demand.
Applications
>
>
>
Anemometer
Dial or Selector knob
Mouse wheel
>
>
>
TA
-20°C to 85°C
Measuring wheel
Digital angle gauge
Speedometer for bicycle
Available Packages
DFN(3x3)-10
IQS624-xzyy
1
WLCSP-9
IQS624-32yy
1
All versions
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 1 of 75
May 2022
IQ Switch®
ProxSense® Series
Azoteq
Contents
IQS624 DATASHEET ........................................................................................................................................ 1
1
INTRODUCTION ....................................................................................................................................... 5
1.1
1.2
1.3
1.4
1.5
2
CAPACITIVE SENSING ............................................................................................................................ 9
2.1
2.2
2.3
2.4
2.5
3
INTRODUCTION TO HALL-EFFECT SENSING ................................................................................... 14
CHANNEL SPECIFICATIONS .......................................................................................................... 14
HARDWARE CONFIGURATION....................................................................................................... 15
REGISTER CONFIGURATION......................................................................................................... 15
EXAMPLE CODE: ......................................................................................................................... 16
SENSOR DATA OUTPUT AND FLAGS .............................................................................................. 16
IQS624-32 INTERVAL UI ............................................................................................................ 17
IQS624-32 EXAMPLE................................................................................................................. 19
IQS624-32 WHEEL WAKE PRELOAD (0X7C) ............................................................................... 20
IQS624-32 EVENT MODE OPTIONS ............................................................................................ 20
DEVICE CLOCK, POWER MANAGEMENT AND MODE OPERATION ............................................... 22
5.1
5.2
6
INTRODUCTION TO INDUCTIVE SENSING........................................................................................ 12
CHANNEL SPECIFICATIONS .......................................................................................................... 12
HARDWARE CONFIGURATION....................................................................................................... 12
REGISTER CONFIGURATION......................................................................................................... 13
SENSOR DATA OUTPUT AND FLAGS .............................................................................................. 13
HALL-EFFECT SENSING ....................................................................................................................... 14
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
4.10
5
INTRODUCTION ..............................................................................................................................9
CHANNEL SPECIFICATIONS .............................................................................................................9
HARDWARE CONFIGURATION....................................................................................................... 10
REGISTER CONFIGURATION......................................................................................................... 10
SENSOR DATA OUTPUT AND FLAGS .............................................................................................. 11
INDUCTIVE SENSING ............................................................................................................................ 12
3.1
3.2
3.3
3.4
3.5
4
PROXFUSION® .............................................................................................................................5
PACKAGING AND PIN-OUT .............................................................................................................5
REFERENCE SCHEMATIC ................................................................................................................7
SENSOR CHANNEL COMBINATIONS..................................................................................................7
PROXFUSION® SENSITIVITY ..........................................................................................................8
DEVICE MAIN OSCILLATOR........................................................................................................... 22
DEVICE MODES .......................................................................................................................... 22
REPORT RATES ..................................................................................................................................... 24
6.1
NORMAL POWER MAXIMUM REPORT RATE................................................................................... 24
7
SYSTEM RESET ..................................................................................................................................... 24
8
COMMUNICATION ................................................................................................................................. 25
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
CONTROL BYTE.......................................................................................................................... 25
I2C READ .................................................................................................................................. 25
I2C WRITE................................................................................................................................. 26
END OF COMMUNICATION SESSION / WINDOW ............................................................................. 26
STOP-BIT DISABLE OPTION(IQS624-32) ...................................................................................... 26
DEVICE ADDRESS AND SUB-ADDRESSES ...................................................................................... 27
ADDITIONAL OTP OPTIONS ......................................................................................................... 27
REQUEST COMMUNICATION WINDOW .......................................................................................... 28
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 2 of 75
May 2022
IQ Switch®
ProxSense® Series
8.9
8.10
9
Azoteq
I2C SPECIFIC COMMANDS ........................................................................................................... 28
RECOMMENDED COMMUNICATION AND RUNTIME FLOW DIAGRAM ................................................... 29
IQS624 MEMORY MAP .......................................................................................................................... 30
9.2
9.3
9.4
9.5
9.6
9.7
9.8
9.9
10
ELECTRICAL CHARACTERISTICS ...................................................................................................... 51
10.1
10.2
10.3
10.4
10.5
10.6
11
DFN10 PACKAGE AND FOOTPRINT SPECIFICATIONS ..................................................................... 56
WLCSP-9 PACKAGE AND FOOTPRINT SPECIFICATIONS ................................................................. 57
DEVICE MARKING AND ORDERING INFORMATION ........................................................................... 58
TAPE AND REEL SPECIFICATION ................................................................................................... 59
MSL LEVEL ............................................................................................................................... 60
DATASHEET REVISIONS ...................................................................................................................... 61
12.1
12.2
13
ABSOLUTE MAXIMUM SPECIFICATIONS ........................................................................................ 51
VOLTAGE REGULATION SPECIFICATIONS ...................................................................................... 51
RESET CONDITIONS ................................................................................................................... 51
DIGITAL INPUT/OUTPUT TRIGGER LEVELS ..................................................................................... 52
CURRENT CONSUMPTIONS .......................................................................................................... 53
START-UP TIMING SPECIFICATIONS .............................................................................................. 55
PACKAGE INFORMATION .................................................................................................................... 56
11.1
11.2
11.3
11.4
11.5
12
DEVICE INFORMATION ................................................................................................................ 32
DEVICE SPECIFIC DATA .............................................................................................................. 33
COUNT DATA ............................................................................................................................. 35
PROXFUSION SENSOR SETTINGS ................................................................................................. 36
TOUCH / PROXIMITY UI SETTINGS................................................................................................ 39
HALL SENSOR SETTINGS ........................................................................................................... 40
HALL WHEEL OUTPUT ................................................................................................................ 44
DEVICE AND POWER MODE SETTINGS ......................................................................................... 47
REVISION HISTORY ..................................................................................................................... 61
ERRATA ..................................................................................................................................... 62
APPENDICES ......................................................................................................................................... 64
13.1
13.2
13.3
APPENDIX A: MAGNET ORIENTATION ........................................................................................... 64
APPENDIX B: MAGNET CALIBRATION ............................................................................................ 67
APPENDIX C: HALL ATI .............................................................................................................. 73
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 3 of 75
May 2022
IQ Switch®
ProxSense® Series
Azoteq
List of abbreviations
PXS – ProxSense®
ATI – Automatic Tuning Implementation
LTA – Long term average
Thr – Threshold
UI – User interface
AC – Alternating current
DSP – Digital signal processing
RX – Receiving electrode
TX – Transmitting electrode
CS – Sampling capacitor
C – Capacitive
NP – Normal power
LP – Low power
ULP – Ultra low power
ACK – I2C Acknowledge condition
NACK – I2C Not Acknowledge condition
FG – Floating gate
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 4 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
1
1.1
Introduction
ProxFusion®
The ProxFusion® sensor series provide all the proven ProxSense® engine capabilities with additional
sensors types. A combined sensor solution is available within a single platform.
1.2
Packaging and Pin-Out
1.2.1 DFN(3x3)-10
SDA
VSS
RDY
NC
VDDHI
SCL
IQS624
VREG
RX1
LTX
RX0
Figure 1.1
Pin out of IQS624 DFN (3X3)-10 package.
Table 1.1 IQS624 Pin-out
IQS624 Pin-out
Pin
1
2
3
4
5
6
7
8
9
10
Name
SDA
RDY
VDDHI
VREG
LTX
CRX0
CRX1
SCL
NC
VSS
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Type
Function
Digital Input / Output
Digital Output
Supply Input
Regulator Output
Analogue
Analogue
Analogue
Digital Input / Output
Not connect
Supply Input
2
I C: SDA Output
I2C: RDY Output
Supply Voltage Input
Internal Regulator Pin
Transmit Electrode 1
Sense Electrode 0
Sense Electrode 1
I2C: SCL Output
Not connect
Ground Reference
IQS624 Datasheet V2.07
Memory map
Page 5 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
1.2.2 WLCSP-9
Pin 1 Marking
Figure 1.2
1
2
3
A
SCL
GPIO3/
LTX
GPIO0/
RDY
B
RX1
RX0
SDA
C
VSS
VREG
VDDHI
IQS624 pin-out (WLCSP-9 package top view; markings may differ)
Table 1.2 WLCSP-9 pin-out description
IQS620A in WLCSP-9
Pin
Name
Type
A1
B1
B2
B3
C1
SCL
GPIO3 /
LTX
GPIO0 /
RDY
RX1
RX0
SDA
VSS
Digital input / output
Digital output /
Analogue transmitter electrode
Digital output
Open drain active low logic
Analogue receiving electrode
Analogue receiving electrode
Digital input / output
Supply input
C2
VREG
Voltage regulator output
C3
VDDHI
Supply input
A2
A3
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Function
SCL (I2C Clock signal)
Connect to inductive sensor’s transmitting coil
RDY (I2C Ready interrupt signal)
Sense Electrode 1
Sense Electrode 0
SDA (I2C Data signal)
Common ground reference
Regulates the system’s internal voltage
Requires external capacitors to ground
Supply Voltage Input
IQS624 Datasheet V2.07
Memory map
Page 6 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
1.3
Reference schematic
Figure 1.3
Figure 1.4
1.4
IQS624 reference schematic
IQS624 WLCSP-9 reference schematic
Sensor channel combinations
The table below summarizes the IQS624’s sensor and channel associations.
Table 1.3 Sensor - channel allocation
Sensor type
CH0
CH1
Discreet Self
Capacitive
o
o
Hall effect rotary
UI
Mutual Inductive
CH2
CH3
CH4
CH5
•
1 plate
Positive
•
1 plate
Negative
•
2 plate
Positive
•
2 plate
Negative
st
o
st
nd
nd
o
Key:
o
Optional implementation
•
Fixed use for UI
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 7 of 75
May 2022
IQ Switch®
ProxSense® Series
1.5
Azoteq
ProxFusion® Sensitivity
The measurement circuitry uses a temperature stable internal sample capacitor (CS) and internal
regulated voltage (VREG). Internal regulation provides for more accurate measurements over
temperature variation. The size of the sample capacitor can be decreased to increase sensitivity on
the capacitive channels of the IQS624.
𝑆𝑒𝑛𝑠𝑖𝑡𝑖𝑣𝑖𝑡𝑦 ∝
1
𝐶𝑠
The Automatic Tuning Implementation (ATI) is a sophisticated technology implemented on the
ProxFusion® series devices. It allows for optimal performance of the devices for a wide range of
sense electrode capacitances, without modification or addition of external components. The ATI
functionality ensures that sensor sensitivity is not affected by external influences such as temperate,
parasitic capacitance and ground reference changes.
The ATI process adjusts three values (Coarse multiplier, Fine multiplier, Compensation) using two
parameters (ATI base and ATI target) as inputs. A 10-bit compensation value ensures that an
accurate target is reached. The base value influences the overall sensitivity of the channel and
establishes a base count from where the ATI algorithm starts adding compensation. A rough
estimation of sensitivity can be calculated as:
𝑇𝑎𝑟𝑔𝑒𝑡
𝐵𝑎𝑠𝑒
As seen from this equation, the sensitivity can be increased by either increasing the Target value or
decreasing the Base value. A lower base value will typically result in lower multipliers and more
compensation would be required. It should, however, be noted that a higher sensitivity will yield a
higher noise susceptibility. Refer to Appendix B and Appendix C for more information on Hall ATI.
𝑆𝑒𝑛𝑠𝑖𝑡𝑖𝑣𝑖𝑡𝑦 ∝
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 8 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
2
Capacitive sensing
2.1
Introduction
Building on the previous successes from the ProxSense® range of capacitive sensors, the same
fundamental sensor engine has been implemented in the ProxFusion® series.
2.2
Channel specifications
The IQS624 provides a maximum of 2 channels available to be configured for capacitive sensing.
Each channel can be setup separately using the channel’s associated settings registers.
Table 2.1 Capacitive sensing - channel allocation
Sensor type
CH0
CH1
Discreet Self
Capacitive
o
o
CH2
CH3
CH4
CH5
Key:
Optional implementation
o
•
Optional implementation
Fixed use for UI
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 9 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
2.3
Hardware configuration
In the table below are two options of configuring sensing (Rx) electrodes.
Table 2.2 Capacitive hardware description
Self-capacitive configuration
1 button
IQS624
RX1
LTX
RX0
2 buttons
IQS624
RX1
LTX
2.4
RX0
Register configuration
2.4.1 Registers to configure for the capacitive sensing:
Table 2.3 Capacitive sensing settings registers
Address
Name
0x40, 0x41
Ch0/Ch1
Settings 0
ProxFusion
0x42
Ch0&Ch1
Settings 1
ProxFusion
0x43, 0x44
Ch0/Ch1
Settings 2
ProxFusion
0x45
Ch0&Ch1
Settings 3
ProxFusion
0x50, 0x52
Proximity threshold
0x51, 0x53
Touch threshold
Description
Recommended setting
Sensor mode should be set to
Sensor
mode
and capacitive mode
configuration of each
An appropriate RX should be
channel.
chosen and no TX
Global settings for the
None
ProxFusion sensors
ATI target should be more
ATI
settings
for
than ATI base to achieve an
ProxFusion sensors
ATI
Additional Global settings
AC filter should be enabled
for ProxFusion sensors
Proximity Threshold for Preferably more than touch
UI
threshold
Touch Threshold for UI
None
2.4.2 Proximity Thresholds
A proximity threshold for both channels can be selected for the application, to obtain the desired
proximity trigger level. The proximity threshold is selectable between 1 (most sensitive) and 255
(least sensitive) counts. These threshold values (i.e. 1-255) are specified in Counts (CS) in the
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 10 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
Ch0 Proximity threshold (0x50) and Ch1 Proximity threshold (0x51) registers for the discreet button
UI.
2.4.3 Touch Thresholds
A touch threshold for each channel can be selected by the designer to obtain the desired touch
sensitivity and is selectable between 1/256 (most sensitive) to 255/256 (least sensitive). The touch
threshold is calculated as a fraction of the Long-Term Average (LTA) given by,
𝑇𝑇𝐻𝑅 = 𝑥⁄256 × 𝐿𝑇𝐴
With lower target values (therefore lower LTA’s) the touch threshold will be lower and vice versa.
Individual touch thresholds can be set for each channel, by writing to the Ch0 Touch threshold (0x51)
and Ch1 Touch threshold (0x53) for the discreet button UI.
2.4.4 Example code:
Example code for an Arduino Uno can be downloaded at:
www.azoteq.com//images/stories/software/IQS62x_Demo.zip
2.5
Sensor data output and flags
The following register should be monitored by the master to detect capacitive sensor output.
a) The Proximity/Touch UI Flags (0x12) provide more detail regarding the outputs. A proximity
and touch output bit for each channel 0 and 1 is provided in the Proximity/Touch UI Flags
register.
Proximity/Touch UI Flags (0x12)
Bit Number
7
6
5
4
Data Access
Name
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
3
2
1
0
Read
Chan 1 Chan 0
Touch touch
out
out
IQS624 Datasheet V2.07
Memory map
Chan 1
Chan 0
proximity proximity
out
out
Page 11 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
3
Inductive sensing
3.1
Introduction to inductive sensing
The IQS624 provides inductive sensing capabilities to detect the presence of metal/metal-type
objects.
3.2
Channel specifications
The IQS624 requires 3 sensing lines for mutual inductive sensing.
A single inductance user interface is available.
a) Discreet proximity/touch UI (always enabled)
Table 3.1 Mutual inductive sensor – channel allocation
Mode
CH0
CH1
Mutual
inductive
o
o
CH2
CH3
CH4
CH5
Key:
o
•
- Optional implementation
- Fixed use for UI
3.3
Hardware configuration
Rudimentary hardware configurations (to be completed).
Table 3.2 Mutual inductive hardware description
Mutual inductive
Mutual
inductance
VSS
IQS624
RX1
LTX
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
RX0
IQS624 Datasheet V2.07
Memory map
Page 12 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
3.4
Register configuration
Table 3.3 Inductive sensing settings registers.
Address
0x40, 0x41
0x42
0x43, 0x44
0x45
Name
Description
Ch0/Ch1
Settings 0
ProxFusion
Ch0&Ch1
Settings 1
Ch0/Ch1
Settings 2
ProxFusion
Ch0&Ch1
Settings 3
ProxFusion
ProxFusion
0x50, 0x52
Proximity threshold
0x51, 0x53
Touch threshold
Recommended setting
Sensor mode should be set to
Inductive mode
Sensor
mode
and
Choose one channel and
configuration of each
deactivate the other channel
channel.
Enable both RX for the
activated channel
Global settings for the
CS divider should be enabled
ProxFusion sensors
ATI
settings
for ATI target should be more than
ProxFusion sensors
ATI base to achieve an ATI
Additional
Global
settings for ProxFusion None
sensors
Proximity Threshold for
Less than touch threshold
UI
Touch Threshold for UI None
3.4.2 Example code:
Example code for an Arduino Uno can be downloaded at:
www.azoteq.com//images/stories/software/IQS62x_Demo.zip
3.5
Sensor data output and flags
The following register should be monitored by the master to detect capacitive sensor output.
a) The Proximity/Touch UI Flags (0x12) provide more detail regarding the outputs. A proximity
and touch output bit for each channel 0 and 1 is provided in the Proximity/Touch UI Flags
register.
Proximity/Touch UI Flags (0x12)
Bit Number
7
6
5
4
Data Access
Name
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
3
2
1
0
Read
Chan 1 Chan 0
Touch touch
out
out
IQS624 Datasheet V2.07
Memory map
Chan 1
Chan 0
proximity proximity
out
out
Page 13 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
4
Hall-effect sensing
4.1
Introduction to Hall-effect sensing
The IQS624 has two internal Hall-effect sensing plates (on die). No external sensing hardware is
required for Hall-effect sensing.
The Hall-effect sensor measures the generated voltage difference across the plate, which can be
modelled as a Wheatstone bridge. The voltage difference is converted to a current using an
operational amplifier in order to be measured by the same ProxSense® sensor engine.
Advanced digital signal processing is performed to provide sensible output data.
•
•
•
Calculates absolute position in degrees.
Auto calibration attempts to linearize degrees output on the fly
Differential Hall-Effect sensing:
o Removes common mode disturbances
Refer to the Errata for correct setup of the IC.
4.2
Channel specifications
Channels 2 to 5 are dedicated to Hall-effect sensing. Channel 2 & 4 performs the positive direction
measurements while channel 3 & 5 handle all measurements in the negative direction. Differential
data is obtained from these four channels. This differential data is used as input data to calculate the
output angle of the Hall-effect rotation UI. Channel 2 & 3 is used for the one plate and channel 4 &
5 for the second plate.
Table 4.1 Hall-effect sensor – channel allocation
Mode
>
CH0
Hall rotary
UI
CH1
>
CH2
•
1st plate
Positive >
CH3
CH4
•
•
1st plate
2nd plate
Negative > Positive >
CH5
•
2nd plate
Negative
Key:
o
•
- Optional implementation
- Fixed use for UI
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 14 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
4.3
Hardware configuration
Rudimentary hardware configurations. For more detail and alternative placement options, refer to
Appendix A.
Diametrically polarized magnet (rotational purposes)
S
Hall
Rotation
UI
N
IQS624
X-Y
S
4.4
N
Register configuration
For more detail on the setup of the IQS624 refer to Appendix B.
Table 4.2 Table 4-1 Hall sensing settings registers
Address
0x70
0x71
Name
Hall Rotation UI
Settings
Hall sensor
settings
0x72,0x73
Hall ATI Settings1
0x78
Hall ratio Settings
0x79
0x7A
Sin(phase)
constant
Cos(phase)
constant
Description
Hall wheel UI settings
Auto ATI and charge
frequency settings
Hall channels ATI
settings
Invert Direction setting
for Hall UI
Sin phase calibration
value
Cos phase calibration
value
1
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Recommended setting
Hall UI should be enabled for degree
output; enable Auto Calibration
Auto ATI should be enabled for
temperature drift compensation
ATI Target should be more than base
None
Calculate this value using the GUI or
the calculations in the Appendix A
Calculate this value using the GUI or
the calculations in the Appendix A
Refer to the errata and Appendix B
IQS624 Datasheet V2.07
Memory map
Page 15 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
0x7B1
Wheel Filter Beta
Degree filter value
Adjust filter value based on the
amount of noise on the degree value
0x7C1
Wheel Wake
Preload
Wheel wakeup settings
Use default values
0x7D1
Interval UI Divider
Depending on the application (should
be equal or greater than 3)
0x7E1
Wheel Offset
Divider for filtered degree
values
Wheel offset from zero
position
4.5
Can be used for accurate intervals
Example code:
Example code for an Arduino Uno can be downloaded at:
www.azoteq.com//images/stories/software/IQS62x_Demo.zip
For ARM mbed resources refer to:
https://os.mbed.com/components/IQS624/
4.6
Sensor data output and flags
a) The Hall UI Flags (0x14) register. Bit7 is dedicated to indicating a movement of the magnet.
Bit6 indicates the direction of the movement. Bit 1 is set when the movement counts are
negative and bit 0 is set when the relative angle is negative. Bit 6 can be used to
determine the magnet direction. Please note that these bits will be set for small
movements, therefore jitter may change the direction of movement bit.
Hall UI Flags (0x14)
Bit Number
7
6
5
4
Data Access
Name
3
2
1
0
Read
Wheel
Movement
movement direction
b) The Filtered Degree Output (0x17-0x16)
read from these registers. (0-359 degrees)
1
A 16-bit value for the filtered degrees can be
Filtered Degree Output1 (0x17-0x16)
Bit Number
15
14
13
12
11
10
Data Access
Name
9
8
7
6
5
4
3
2
1
0
Read
Degrees High Byte
Degrees Low Byte
Bit definitions:
•
0-360: Filtered absolute degree position of magnet
c) The Interval Number (0x18) 1 An 8-bit value for the current interval number can be read from
this register.
1
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Only Available on IQS624-32
IQS624 Datasheet V2.07
Memory map
Page 16 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
Interval Number1 (0x18)
Bit Number
7
6
5
4
3
2
Data Access
Read/Write
Name
Current Interval Number
•
1
0
Bit 7-0: Current interval number
d) The Degree Output (0x81-0x80). A 16-bit value for the degrees can be read from these
registers. (0-360 degrees)
Degree Output (0x81-0x80)
Bit Number
15
14
13
12
11
10
Data Access
9
8
7
6
5
4
3
2
1
0
Read/Write
Name
Degrees High Byte
Degrees Low Byte
e) The Relative Rotation Angle (0x8E). The delta in degrees from the previous cycle to the
current cycle can be read from this register. (0-180 degrees)
Relative Rotation Angle (0x8E)
Bit Number
7
6
5
4
3
Data Access
Read/Write
Name
Relative degrees
4.7
2
1
0
IQS624-32 Interval UI
The IQS624-32 offers a new on-chip interval UI specifically designed for applications with discreet
mechanical intervals or reduced resolution requirements.
4.7.1 Interval UI Features
>
>
>
>
Adjustable interval size (3°-180°)
The wheel can be zeroed at startup
Adjustable wheel offset value
An event is generated for changes to the Interval Number Register (0x18)
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 17 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
4.7.2 Interval UI Settings Registers
Hall Rotation UI Settings (0x70)
Bit Number
7
6
5
4
Data Access
Name
3
2
1
0
Read/Write
Hall
Wheel
UI disable
UI Setting
Interval
UI
disable1
Zero
Wheel1
Hall Wheel
Event
disable1
Interval
Event
Disable1
Auto
calibration
-
Wheel
wakeup
0
0
1
0
1
-
0
0
Bit definitions:
•
Bit 5: Zero Wheel angle1
o 1: Zero angle, automatically cleared by firmware
Bit 3: Interval UI Event disable1
o 0: Event UI is enabled
o 1: Event UI is disabled
•
Interval UI Divider1 (0x7D)
Bit Number
7
6
5
4
3
2
Data Access
Read/Write
Name
Interval size in degrees
Default
3
1
0
Bit definitions:
•
Bit 7-0: Interval size in degrees (>= 3° and
>
The device wakes up from the low-power modes when there is a touch on Ch0.
In normal power mode events are only generated when there is a touch on Ch0. Ready events
will be continuously generated as long as there is a touch on Ch0. If Touch on Wheel is enabled
Interval and Hall Wheel Events are ignored.
4.10.2 Interval Event (Bit3, 0x70)
>
>
The device wakes up from low-power modes when the wheel increment or decrement the interval
register.
Ready events are generated in normal power mode when the interval changes. If Interval Events
and Hall Wheel Events (below) are enabled the IC will respond to Hall Wheel Events.
4.10.3 Hall Wheel Event (Bit4, 0x70)
>
The device wakes up based on the conditions described in Section 4.7. The wheel will wake up
if the counter value reaches the counter threshold value before the timer reaches 0.
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 20 of 75
May 2022
IQ Switch®
ProxSense® Series
>
Azoteq
Events are generated on the same condition when the device is in low power mode. If Hall Wheel
Events and Interval Events are enabled the IC will respond to Hall Wheel Events.
The device can also be set to Stream in Normal Power (Bit5, 0xD9). With this bit set the device
will wake up from either of the selected modes above. Events will be generated based on the Normal
Power Report Rate during Normal Power mode. The device will stop streaming when low-power
mode is entered.
Table 4.3 : Hall Rotation UI Settings
Touch on Wheel Wakeup
Interval Event
Hall Wheel Event
Hall Rotation UI Settings
(0x70)
0x1D
0x14
0x0C
If all these modes are disabled, there will be no events generated for wheel movements.
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 21 of 75
May 2022
IQ Switch®
ProxSense® Series
5
5.1
Azoteq
Device clock, power management and mode operation
Device main oscillator
The IQS624 has a 16MHz main oscillator (default enabled) to clock all system functionality.
An option exists to reduce the main oscillator to 8MHz. This will result in charge transfers to be slower
by half of the default implementations.
To set this option:
>
>
As a software setting – Set the General System Settings (0xD0): bit4 = 1, via an I2C command.
As a permanent setting – Set the OTP option in FG Bank 0: bit2 = 1, using Azoteq USBProg
program.
The ProxFusion® channels charges at half of the main oscillator frequency. Therefore the frequency
multiplier selected in Ch0&1 ProxFusion Settings 1 (0x42; bit 4-5) and Hall sensor settings (0x71; bit
4-5) is multiplied by half of the main oscillator frequency.
5.2
Device modes
The IQS624 supports the following modes of operation;
>
>
>
>
>
Normal mode (Fixed report rate)
Low Power mode (Reduced report rate, no UI execution)
Ultra-Low Power mode (Only channel 0 is sensed for a prox)
Halt Mode (Suspended/disabled)
Note: Auto modes must be disabled to enter or exit halt mode.
The device will automatically switch between the different operating modes by default. However, this
Auto mode feature may be disabled by setting the Disable Auto Modes bit (Power Mode Settings
0xD2; bit 5) to confine device operation to a specific power mode. The Power Mode bits (Power
Mode Settings 0xD2; bit 3-4) can then be used to specify the desired mode of operation.
5.2.1 Normal mode
Normal mode is the fully active sensing mode to function at a fixed report rate specified in the Normal
Mode report rate (0xD3) register. This 8-bit value is adjustable from 0ms – 255ms in intervals of 1ms.
5.2.2 Low power mode
Low power mode is a reduced sensing mode where all channels are sensed but no UI code are
executed. The sample rate can be specified in the Low Power Mode report rate (0xD4) register. The
8-bit value is adjustable from 0ms – 255ms in intervals of 1ms. Reduced report rates also reduce
the current consumed by the sensor.
5.2.3 Ultra-low power mode
Ultra-low power mode is a reduced sensing mode where only channel 0 is sensed and no other
channels or UI code are executed. Set the Enable ULP Mode bit (Power Mode Settings 0xD2; bit 6)
to enable use of the ultra-low power mode. The sample rate can be specified in the Low Power Mode
report rate (0xD5) register. The 8-bit value is adjustable from 0ms – 4sec in intervals of 16ms.
When in Ultra-low power mode the IQS624 can be configured to update all channels at a specific
rate defined in Power Mode Settings (0xD2) register. A flag will be set in the System flags (0x10; bit
0) register when a normal power update is performed. Wake up will occur on proximity detection on
channel 0. Ultra-low power mode will not function properly if channel 0 is not enabled.
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 22 of 75
May 2022
IQ Switch®
ProxSense® Series
Azoteq
5.2.4 Halt mode
Halt mode will suspend all sensing and will place the device in a dormant or sleep state. The device
requires an I2C command from a master to explicitly change the power mode out of the halt state
before any sensor functionality can continue.
5.2.5 Mode time
The mode time is specified in the Auto Mode Timer (0xD6) register. The 8-bit value is adjustable
from 0ms – 2 min in intervals of 500ms.
5.2.6 Streaming and event mode:
Streaming mode is the default. Event mode is enabled by setting bit 5 in the General System
Settings (0xD0) register.
Streaming mode
The ready is triggered every cycle and per the report rate.
Event mode
The ready is triggered only when an event has occurred.
The events which trigger the ready can be configured to:
> Hall wheel movement (If the hall UI is enabled)
> Touch or proximity events on channel 0 or 1
> Interval Event1
Note: Both these events have built in hysteresis which filters out very slow changes.
1
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Only available on IQS624-32
IQS624 Datasheet V2.07
Memory map
Page 23 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
6
Report rates
6.1
Normal Power Maximum Report rate
Note: Assuming normal mode report rate set to 0 (maximum speed) and Auto Power Modes turned
off.
Hall UI
State
Channels
Register Address
Bytes
On
2 x Prox
4 x Hall
0x02 (PXS Flags)
0x80-0x81 (Degrees)
3
On
4 x Hall
0x80-0x81 (Degrees)
2
Off
2 x Prox
4 x Hall
0x02 (PXS Flags)
0x24-0x2B (Counts)
9
Off
4 x Hall
0x24-0x2B (Counts)
8
Off
1 x Hall
2 x Prox
Off
1 x Hall
1 x Prox
0x24 (CH2 Counts)
0x02 (PXS Flags)
3
Off
1 x Hall
0x24 (CH2 Counts)
2
0x24 (CH2 Counts)
0x02 (PXS Flags)
3
Functionality1
On-chip calculation of
rotation angle and prox
channels.
On-chip calculation of
rotation angle.
Off-chip calculation of
rotation angle and on-chip
prox channels.
Off-chip calculation of
rotation angle.
Off-chip RPM-calculation
and 2 Prox channels onchip
Off-chip RPM-calculation
and 1 Prox channels onchip
Off-chip RPM-calculation
Report Rate2
4.87 ms
3.29 ms
3.93 ms
2.94 ms
2.25 ms
1.63 ms
0.82 ms
- Report rates are not necessarily an accurate indication of maximum observable rotation rate. On-chip calculations are
only accurate at low rotation rates.
(1) Contact Azoteq for further information on functionality.
(2) These values were calculated by design and not by testing.
7
System reset
The IQS624 device monitor’s system resets and events.
a) Every device power-on and reset event will set the Show Reset bit in the System Flags (0x10;
bit 7) register and the master should explicitly clear this bit by setting the Ack Reset bit in the
General System Settings (0xD0; bit 6) register.
b) The system events will also be indicated with the Event bit in the System Flags (0x10; bit 1)
register if any system event occur such as a reset. This event will continuously trigger until
the reset has been acknowledged.
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 24 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
8
Communication
The IQS624 device interfaces to a master controller via a 3-wire (SDA, SCL and RDY) serial
interface bus that is I2CTM compatible with a maximum communication speed of 400 kHz. The
communications interface of the IQS624 supports the following:
>
>
Streaming data as well as event mode.
The master may address the device at any time. If the IQS624 is not in a communication
window, the device returns an ACK after which clock stretching is induced until a
communication window is entered. Additional communication checks are included in the
main loop in order to reduce the average clock stretching time.
The provided interrupt line (RDY) is push-pull active low on IQS624-3001 and open-drain
active low on IQS624-32. The RDY indicates a communication window.
>
8.1
Control Byte
The Control byte indicates the 7-bit device address (44H default) and the Read/Write indicator bit.
The structure of the control byte is shown in Figure 8.1.
7 bit address
MSB
1
0
0
0
1
I2C Group
Figure 8.1
0
0
R/W LSB
Sub- addresses
IQS624 Control Byte
2
The I C device has a 7 bit Slave Address (default 0x44H) in the control byte. To confirm the address,
the software compares the received address with the device address. Sub-address values can be
set by OTP programming options.
8.2
I2C Read
To read from the device a current address read can be performed. This assumes that the addresscommand is already setup as desired.
Current Address Read
Start
Control Byte
S
Data n
Data n+1
ACK
NACK
ACK
Figure 8.2
Stop
S
Current Address Read
If the address-command must first be specified, then a random read must be performed. In this case
a WRITE is initially performed to setup the address-command, and then a repeated start is used to
initiate the READ section.
Random Read
Start
Control Byte
S
Adr + WRITE
Addresscommand
ACK
ACK
Figure 8.3
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Start
Control Byte
S
Adr + READ
Data n
ACK
Stop
NACK
S
Random Read
IQS624 Datasheet V2.07
Memory map
Page 25 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
8.3
I2C Write
To write settings to the device a Data Write is performed. Here the Address-Command is always
required, followed by the relevant data bytes to write to the device.
DATA WRITE
Start
Control Byte
S
Adr + WRITE
AddressCommand
ACK
Data n
ACK
Figure 8.4
8.4
Data n+1
ACK
Stop
ACK
S
I2C Write
End of Communication Session / Window
Similar to other Azoteq I2C devices, to end the I2C communication session, a STOP command is
given. When sending numerous read and write commands in one communication cycle, a repeated
start command must be used to stack them together (since a STOP will jump out of the
communication window, which is not desired).
The STOP will then end the communication, and the IQS624 will return to process a new set of data.
Once this is obtained, the communication window will again become available (RDY set LOW).
8.5
Stop-bit disable option(IQS624-32)
The IQS624-32 part offer:
•
an additional I2C settings register (0xD9) specifically added for stop-bit disable functionality,
•
as well as a RDY timeout period register (0xD8) in order to set the required timeout period
for termination of any communication windows (RDY = Low) if no I 2C activity is present on
SDA and SCL pins.
Customers using an MCU with a binary serial-encoder peripheral which is not fully I2C compatible
(but provide some crude serial communication functions) can use this option to configure the
IQS624-32 so that any auto generated stop command from the serial peripheral can be ignored by
the IQS624-32 I2C hardware. This will restrict the IQS624-32 from immediately exiting a
communication window during event mode (reduced communication only for events) until all required
communication has been completed and a stop command can correctly be transmitted. Please refer
to the figures below for serial data transmission examples.
Please note:
1. Stop-bit disable and enable must be performed at the beginning and end of a communication
window. The first and last I2C register to be written to ensure no unwanted communication
window termination.
2. Leaving the Stop-bit disabled will result in successful reading of registers but will not execute
any commands written over I2C in a communication window being terminated after a RDY
timeout and with no IQS recognised stop command.
3. The default RDY timeout period for IQS624-32 is purposefully long (10.24ms) for slow
responding MCU hardware architectures. Please set this register according to your
requirements/preference.
4. These options are only available on IQS624-32 parts and not for IQS624-3001.
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 26 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
Stop-bit Disable
Communication
window open
Start
Control byte
RDY = ↓LOW
S
Addr + WRITE
AddressCommand
ACK
0xD9
Disable
stop-bit
ACK
0x81
ACK
Ignored
stop
Continue with
reads / writes
S
…
I2C Stop-bit Disable
Figure 8.5
Stop-bit Enable
Reads / Writes
Finished
Start
Control byte
…
S
Addr + WRITE
AddressCommand
ACK
0xD9
ACK
0x01
ACK
Stop
Communication
window closed
S
RDY = ↑HIGH
I2C Stop-bit Enable
Figure 8.6
8.6
Enable
stop-bit
Device address and sub-addresses
The default device address is 0x44 = DEFAULT_ADDR.
Alternative sub-address options are definable in the following one-time programmable bits:
OTP Bank0 (bit3; 0; bit1; bit0) = SUB_ADDR_0 to SUB_ADDR_7
a) Default address:
0x44 = DEFAULT_ADDR OR SUB_ADDR_0
b) Sub-address:
0x45 = DEFAULT_ADDR OR SUB_ADDR_1
c) Sub-address:
0x46 = DEFAULT_ADDR OR SUB_ADDR_2
d) Sub-address:
0x47 = DEFAULT_ADDR OR SUB_ADDR_3
e) Sub-address:
0x4C = DEFAULT_ADDR OR SUB_ADDR_4
f)
Sub-address:
0x4D = DEFAULT_ADDR OR SUB_ADDR_5
g) Sub-address:
0x4E = DEFAULT_ADDR OR SUB_ADDR_6
h) Sub-address:
0x4F = DEFAULT_ADDR OR SUB_ADDR_7
8.7
Additional OTP options
All one-time-programmable device options are located in FG bank 0.
Floating Gate Bank0
Bit Number
7
6
5
4
3
2
Name
-
Comms ATI
-
-
Sub address
2
8MHz
Default
-
0
-
0
0
0
1
0
Sub address 0-1
0
0
Bit definitions:
•
•
Bit 6: Comms mode during ATI
o 0: No streaming events are generated during ATI
o 1: Comms continue as setup regardless of ATI state.
Bit 2: Main Clock frequency selection
o 0: Run FOSC at 16MHz
o 1: Run FOSC at 8MHz
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 27 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
•
Bit 0,1,3: I2C sub-address
o I2C address = 0x44
All calibration data are located in FG bank 3 for the latest IQS624-3001 and all IQS624-32 IC’s.
Floating Gate Bank3
Bit Number
7
6
5
4
3
2
1
Name
-
Hall Plate Calibration Data
Default
-
15-1
0
Bit definitions:
•
Bit 3-0: Hall Plate Calibration Data
o 15-1: The calibration bin of the IC
o 0:
The IC is not calibrated (Before June 2018)
Please refer to
Appendix B: Magnet calibration for information regarding hall plate calibration.
8.8
Request Communication Window
The master or host MCU has the capability to request a communication window at any time, by
writing the device address to the IQS624. The communication window will open directly following the
current conversion cycle.
8.9
I2C Specific Commands
8.9.1 Show Reset
After start-up, and after every reset event, the “Show Reset” flag will be set in the System Flags
register (0x10H; bit 7).
The “Show Reset” bit can be read to determine whether a reset has occurred on the device (it is
recommended to be continuously monitored). This bit will be set ’1’ after a reset.
The “Show Reset” flag will be cleared (set to ’0’) by writing a ’1’ into the “Ack reset” bit in the General
system settings register (0xD0; bit 6) . A reset will typically take place if a timeout during
communication occurs.
8.9.2 I2C Timeout
If no communication is initiated from the master/host MCU within the first t COMMS (tCOMMS = 2.038 ms
default) of the RDY line indicating that data is available (i.e. RDY = low), the device will resume with
the next cycle of charge transfers and the data from the previous conversions will be lost. The RDY
timeout period register (0xD8) can be adjusted on IQS624-32. There is also a timeout (tI2C) that
cannot be disabled, for when communication has started but not been completed, for example when
the bus is being held by another device (tI2C = 33 ms).
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 28 of 75
May 2022
IQ Switch®
ProxSense® Series
Azoteq
8.10 Recommended communication and runtime flow diagram
The following is a basic master program flow diagram to communicate and handle the device. It
addresses possible device events such as output events, ATI and system events (resets).
.
Figure 8.7
Figure 8-1 Master command structure and runtime event handling flow diagram
It is recommended that the master verifies the status of the System Flags (0x10) bits to identify
events and resets. Detecting either one of these should prompt the master to the next steps of
handling the IQS624.
Streaming mode communication is used for detail sensor evaluation during prototyping and/or
development phases. Event mode communication is recommended for runtime use of the IQS624.
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 29 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9
IQS624 Memory map
Table 9.1 IQS624 Register map
Register Address
Group
0x00
0x01
Register Name
Product Number
Device Information
Software Number
0x02
Hardware Number
0x10
System Flags
0x12
Proximity/Touch UI Flags
0x14
0x15
HALL UI Flags
Device Specific
Data
Hall Ratio Flags
0x16 (IQS624-32)
Filtered Degree Output (Low byte)
0x17 (IQS624-32)
Filtered Degree Output (High byte)
0x18 (IQS624-32)
Interval Number Output
0x20
CH0 CS Low
0x21
CH0 CS High
0x22
CH1 CS Low
0x23
CH1 CS High
0x24
CH2 CS Low
0x25
CH2 CS High
0x26
CH3 CS Low
0x27
CH3 CS High
Count Data
0x28
CH4 CS Low
0x29
CH4 CS High
0x2A
CH5 CS Low
0x2B
CH5 CS High
0x30
CH0 LTA Low
0x31
CH0 LTA High
0x32
CH1 LTA Low
0x33
CH1 LTA High
0x40
Ch0 ProxFusion Settings 0
0x41
Ch1 ProxFusion Settings 0
0x42
Ch0&1 ProxFusion Settings 1
0x43
0x44
ProxFusion
sensor settings
Ch0 ProxFusion Settings 2
Ch1 ProxFusion Settings 2
0x45
Ch0&1 ProxFusion Settings 3
0x46
Ch0 Compensation
0x47
Ch1 Compensation
0x48
0x49
0x50
Ch1 Multipliers
Ch0 Proximity threshold
0x51
0x52
Ch0 Multipliers
ProxFusion
sensor settings
Ch0 Touch threshold
Touch / Proximity
UI settings
Ch1 Proximity threshold
0x53
Ch1 Touch threshold
0x54
UI Halt period
0x70
Hall Rotation UI Settings
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 30 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
0x71
Hall Sensor Settings
0x72
Ch2&3 Hall ATI Settings
0x73
Ch4&5 Hall ATI Settings
0x74
Ch2&3 Compensation
0x75
Ch4&5 Compensation
0x76
Ch2&3 Multipliers
0x77
Ch4&5 Multipliers
HALL Sensor
Settings
0x78
0x79
Hall Ratio Settings
Sin Constant
0x7A
Cos Constant
0x7B (IQS624-32)
Wheel Filter Beta
0x7C (IQS624-32)
Wheel Wake Preload
0x7D (IQS624-32)
Interval UI Divider
0x7E (IQS624-32)
Wheel Offset (Low byte)
0x7F (IQS624-32)
Wheel Offset (High byte)
0x80
Degree Output (Low byte)
0x81
Degree Output (High byte)
0x82
Ratio Output (Low byte)
0x83
Ratio Output (High byte)
0x84
Numerator of Ratio (Low byte)
0x85
Numerator of Ratio (High byte)
HALL Wheel
Output
0x86
Denominator of Ratio (Low byte)
0x87
Denominator of Ratio (High byte)
0x88
Rotation Correction factor (Low byte)
0x89
Rotation Correction factor (High byte)
0x8A
Max Numerator of Ratio (Low byte)
0x8B
Max Numerator of Ratio (High byte)
0x8C
Max Denominator of Ratio (Low byte)
0x8D
Max Denominator of Ratio (High byte)
HALL Wheel
Output
0x8E
Relative Rotation Angle
0x8F
Movement counter/timer
0xD0
General System Settings
0xD1
Active Channels
0xD2
Power Mode Settings
0xD3
Normal mode report rate
0xD4
0xD5
Device and Power
mode
Settings
Low power mode report rate
Ultra-low power mode report rate
0xD6
Auto Mode time
0xD8 (IQS624-32)
RDY Timeout Period
0xD9 (IQS624-32)
I2C Settings
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 31 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.2
Device Information
9.2.1 Product Number
Bit Number
Data Access
Name
7
6
Product Number (0x00)
5
4
3
Read
Device Product Number
2
1
0
2
1
0
Bit definitions:
•
Bit 7-0: Device Product Number = D’67’
9.2.2 Software Number
Bit Number
Data Access
Name
7
6
Software Number (0x01)
5
4
3
Read
Device Software Number
Bit definitions:
•
•
•
Bit 7-0: IQS624-3yy1 - Device Software Number = D’02’
Bit 7-0: IQS624-3yy2 - Device Software Number = D’14’ (Backwards compatible)
Bit 7-0: IQS624-5yy1 - Device Software Number = D’02’
9.2.3 Hardware Number
Bit Number
Data Access
Name
7
6
Hardware Number (0x02)
5
4
3
2
Read
Device Hardware Number
1
0
Bit definitions:
•
•
•
•
Bit 7-0: IQS624-3yy1 - Device Hardware Number = D’130’
Bit 7-0: IQS624-3yy2 - Device Hardware Number = D’130’
Bit 7-0: IQS624-3yy2 - Device Hardware Number = D’146’
Bit 7-0: IQS624-5yy1 - Device Hardware Number = D’162’
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 32 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.3
Device Specific Data
9.3.1 System Flags
Bit Number
Data Access
Name
7
6
Show
Reset
System flags (0x10)
5
4
3
Read
Current
power
mode
2
1
0
ATI
Busy
Event
NP
Segment
Active
Bit definitions:
•
•
•
•
•
Bit 7: Reset Indicator:
o 0: No reset event
o 1: A device reset has occurred and needs to be acknowledged
Bit 4-3: Current power mode indicator:
o 00: Normal power mode
o 01: Low power mode
o 10: Ultra-Low power mode
o 11: Halt power mode
Bit 2: ATI Busy Indicator:
o 0: No channels are in ATI
o 1: One or more channels are in ATI
Bit 1: Global Event Indicator:
o 0: No new event to service
o 1: An event has occurred and should be handled
Bit 0: Normal Power segment indicator:
o 0: Not performing a normal power update
o 1: Busy performing a normal power update
9.3.2 Proximity/Touch UI Flags
Bit Number
Data Access
7
Name
6
Proximity/Touch UI Flags (0x12)
5
4
3
2
Read
Chan 1 Chan 0
Touch
touch
out
out
1
0
Chan 1
Chan 0
proximity proximity
out
out
Bit definitions:
•
•
•
•
Bit 5: Channel 1 touch indicator:
o 0: Channel 1 delta below touch threshold
o 1: Channel 1 delta above touch threshold
Bit 4: Channel 0 touch indicator:
o 0: Channel 0 delta below touch threshold
o 1: Channel 0 delta above touch threshold
Bit 1: Channel 1 Proximity indicator:
o 0: Channel 1 delta below proximity threshold
o 1: Channel 1 delta above proximity threshold
Bit 0: Channel 0 Proximity indicator:
o 0: Channel 0 delta below proximity threshold
o 1: Channel 0 delta above proximity threshold
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 33 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.3.3 Hall UI Flags
Bit Number
Data Access
Name
7
Hall UI Flags (0x14)
5
4
3
Read
6
2
1
0
Wheel
Movement
movement direction
Bit definitions:
•
>
Bit 7: Wheel movement indicator:
o 0: No wheel movement detected
o 1: Wheel movement detected
• Bit 6: Movement direction indicator:
o 0: If movement is detected it is in positive direction
o 1: If movement is detected it is in negative direction
Please note that these bits will be set for small movements, therefore jitter may change the
direction of movement bit.
9.3.4 Hall Ratio Flags
Bit Number
Data Access
7
Hall Ratio Flags (0x15)
5
4
3
2
1
0
Read
Move
Max
Max
counter Denominator Numerator
full
set
set
6
Name
Bit definitions:
•
•
•
Bit 2: Move counter full indicator:
o 0: Movement counter is not full
o 1: Movement counter is full
Bit 1: Max Denominator set indicator:
o 0: Max denominator has not changed
o 1: Max denominator has changed (used for auto calibration)
Bit 0: Max Numerator set indicator:
o 0: Max Numerator has not changed
o 1: Max Numerator has changed (used for auto calibration)
9.3.5 Filtered Degree Output1
Bit Number
Data Access
Name
15
14
Filtered Degree Output1 (0x17-0x16)
13 12 11 10 9
8
7
6
5
4
3
2
Read
Degrees High Byte
Degrees Low Byte
1
0
Bit definitions:
•
0-360: Filtered absolute degree position of magnet
1
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Only available on IQS624-32
IQS624 Datasheet V2.07
Memory map
Page 34 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.3.6 Interval Number1
Bit Number
Data Access
Name
•
9.4
7
6
Interval Number1 (0x18)
5
4
3
Read/Write
Current Interval Number
2
1
0
Bit 7-0: Current interval number
Count Data
9.4.1 Count CS Values
Bit Number
Data Access
Name
15
14
Count CS values (0x20/0x21-0x2A/0x2B)
13 12 11 10 9
8
7
6
5
4
3
2
Read
Count High Byte
Count Low Byte
1
0
1
0
Bit definitions:
•
Bit 15-0: Counts
o AC filter or raw value
9.4.2 LTA Values
Bit Number
Data Access
Name
15
14
LTA values (0x30/0x31-0x32/0x33)
12 11 10 9
8
7
6
5
4
3
2
Read
LTA High Byte
LTA Low Byte
13
Bit definitions:
•
Bit 15-0: LTA Values
o LTA filter value
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 35 of 75
May 2022
IQ Switch®
ProxSense® Series
9.5
Azoteq
ProxFusion sensor settings
9.5.1 Ch0/1 ProxFusion Settings 0
9.5.1.1 Capacitive Sensing
Bit Number
Data Access
Name
Default
7
0
Ch0/1 ProxFusion Settings 0 (0x40/0x41)
6
5
4
3
2
Read/Write
Sensor mode
TX select
0
0
0
0
0
1
0
RX select
Bit definitions:
•
•
•
Bit 7-4: Sensor mode select:
o 0000: Self capacitive mode
Bit 3-2: TX-select:
o 00: TX 0 and TX 1 is disabled
Bit 1-0: RX select:
o 00: RX 0 and RX 1 is disabled
o 01: RX 0 is enabled
o 10: RX 1 is enabled
o 11: RX 0 and RX 1 is enabled
9.5.1.2 Inductive Sensing
Bit Number
Data Access
Name
Default
7
1
Ch0/1 ProxFusion Settings 0 (0x40/0x41)
6
5
4
3
2
Read/Write
Sensor mode
TX select
0
0
1
0
0
1
0
RX select
1
1
Bit definitions:
•
•
•
Bit 7-4: Sensor mode select:
o 1001: Mutual Inductive mode
Bit 3-2: TX-select:
o 00: TX 0 and TX 1 is disabled
Bit 1-0: RX select:
o 11: RX 0 and RX 1 is enabled
9.5.2 Ch0&1 ProxFusion Settings 1
Bit Number
Data Access
7
Name
-
Default
Ch0&1 ProxFusion Settings 1 (0x42)
6
5
4
3
2
Read/Write
CS
Charge Freq
Proj bias pxs
PXS
0x5B
1
0
Auto ATI Mode
Bit definitions:
•
Bit 6: ProxFusion Sensing Capacitor size select:
o 0: ProxFusion Sensing capacitor size is 15 pF
o 1: ProxFusion Sensing capacitor size is 60 pF
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 36 of 75
May 2022
IQ Switch®
ProxSense® Series
•
•
•
Azoteq
Bit 5-4: Charge Frequency select:
o 00: 1/2
o 01: 1/4
o 10: 1/8
o 11: 1/16
Bit 3-2: Projected bias:
o 00: 2.5µA / 88kΩ
o 01: 5µA / 66kΩ
o 10: 10µA / 44kΩ
o 11: 20µA / 22kΩ
Bit 1-0: Auto ATI Mode select:
o 00: ATI Disabled
o 01: Partial ATI (Multipliers are fixed)
o 10: Semi Partial ATI (Coarse multipliers are fixed)
o 11: Full ATI
9.5.3 Ch0 ProxFusion Settings 2
Bit Number
Data Access
Name
Default
Ch0 ProxFusion Settings 2 (0x43)
7
6
5
4
3
2
Read/Write
ATI Base
ATI Target
0x50
1
0
1
0
Bit definitions:
•
•
Bit 7-6: ATI Base value select:
o 00: 75
o 01: 100
o 10: 150
o 11: 200
Bit 5-0: ATI Target:
o ATI Target is 6-bit value x 32
9.5.4 Ch1 ProxFusion Settings 2
Bit Number
Data Access
Name
Default
Ch1 ProxFusion Settings 2 (0x44)
7
6
5
4
3
2
Read/Write
ATI Base
ATI Target
0x50
Bit definitions:
•
•
Bit 7-6: ATI Base value select:
o 00: 75
o 01: 100
o 10: 150
o 11: 200
Bit 5-0: ATI Target:
o ATI Target is 6-bit value x 32
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 37 of 75
May 2022
IQ Switch®
ProxSense® Series
Azoteq
9.5.5 Ch0&1 ProxFusion Settings 3
Bit Number
Data Access
7
Name
-
Default
Ch0&1 ProxFusion Settings 3 (0x45)
6
5
4
3
2
Read/Write
Two
ACF
CS Div
sided
LTA Beta
Disable
PXS
0x00
1
0
ACF Beta
Bit definitions:
•
•
•
•
•
Bit 6: CS divider
o 0: Sampling capacitor divider disabled
o 1: Sampling capacitor divider enabled
Bit 5: Two sided ProxFusion Sensing
o 0: Bidirectional detection disabled
o 1: Bidirectional detection enabled
Bit 4: ACF Disable
o 0: AC Filter Enabled
o 1: AC Filter Disabled
Bit 3-2: LTA Beta 0
o 00: 7
o 01: 8
o 10: 9
o 11: 10
Bit 1-0: ACF Beta 1
o 00: 1
o 01: 2
o 10: 3
o 11: 4
9.5.6 Ch0/Ch1 Compensation
Bit Number
Data Access
Name
7
6
Ch0/Ch1 Compensation (0x46,0x47)
5
4
3
2
Read/Write
Compensation (7-0)
1
0
Bit definitions:
•
Bit 7-0: 0-255: Lower 8 bits of the Compensation Value
Register addresses:
•
•
0x46: Channel 0 Lower 8 bits of the Compensation Value
0x47: Channel 1 Lower 8 bits of the Compensation Value
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 38 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.5.7 Ch0/Ch1 Multipliers values
Ch0/1 Multipliers values(0x48/0x49)
Bit Number
7
6
5
4
3
2
1
Data Access
Read/Write
Name
Compensation (9-8) Coarse multiplier
Fine multiplier
0
Bit definitions:
•
•
•
Bit 7-6: Compensation upper two bits
o 0-3: Upper 2-bits of the Compensation value.
Bit 5-4: Coarse multiplier Selection:
o 0-3: Coarse multiplier selection
Bit 3-0: Fine Multiplier Selection:
o 0-15: Fine Multiplier selection
Register addresses:
•
•
9.6
0x48: Channel 0 Multipliers Value
0x49: Channel 1 Multipliers Value
Touch / Proximity UI settings
9.6.1 Ch0/1 Proximity/touch threshold
Bit Number
Data Access
Name
7
Proximity/touch threshold Ch0/1(0x50-0x53)
6
5
4
3
2
Read/Write
Threshold
1
0
Bit definitions:
•
Bit 7-0: Proximity and touch thresholds:
If a difference between the LTA and counts value would exceed this threshold the
appropriate event would be flagged (either Touch or Proximity Event).
Register addresses:
•
•
•
•
0x50 Channel 0 Proximity Threshold Value
0x51 Channel 0 Touch Threshold Value
0x52 Channel 1 Proximity Threshold Value
0x53 Channel 1 Touch Threshold Value
9.6.2 UI Halt period
Bit Number
Data Access
Name
Default
7
6
UI Halt period (0x54)
5
4
3
Read/Write
UI Halt period
0x28 = 20 sec
2
1
0
Bit definitions:
•
Bit 7-0: Halt time in 500 ms ticks
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 39 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.7
HALL Sensor Settings
9.7.1 Hall Rotation UI Settings
Bit Number
Data
Access
Name
Default
Hall Rotation UI Settings (0x70)
6
5
4
3
7
2
1
0
Auto
calibration
-
Wheel
wakeup
1
-
0
Read/Write
Hall
Wheel
UI disable
0
Interval
UI
disable1
0
Zero
Wheel1
0
Hall Wheel
Event
disable1
0
Interval
Event
Disable1
1
Bit definitions:
•
•
•
•
•
•
•
Bit 7: Hall Wheel UI disable
o 0: Hall wheel UI is enabled
o 1: Hall wheel UI is disabled
Bit 6: Interval UI disable1
o 0: Interval UI is enabled
o 1: Interval UI is disabled
Bit 5: Zero Wheel angle1
o 1: Zero angle, automatically cleared by firmware
Bit 4: Hall Wheel UI Event disable1
o 0: Event UI is enabled
o 1: Event UI is disabled
Bit 3: Interval UI Event disable1
o 0: Event UI is enabled
o 1: Event UI is disabled
Bit 2: Auto calibration
o 0: Auto calibration disabled
o 1: Auto calibration enabled
Bit 0: Wheel wakeup select
o 0: Wheel wakeup mode disabled
o 1: Wheel wakeup mode enabled (wakes up on Ch0 touch).
9.7.2 Hall Sensor Settings
Hall Sensor Settings (0x71)
6
5
4
3
Read/Write
2
-
-
0
0
Bit Number
Data Access
7
Name
ACF Enable1
-
Default
0
0
Charge Freq
0
0
1
0
Auto ATI mode
Hall
1
1
Bit definitions:
•
Bit 7: ACF Enable: Enable filter on the individual Hall channels1
o 0: Filter disabled
o 1: Filter Enabled
1
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Only available on IQS624-32
IQS624 Datasheet V2.07
Memory map
Page 40 of 75
May 2022
IQ Switch®
ProxSense® Series
•
•
Azoteq
Bit 5-4: Charge Frequency: The rate at which our measurement circuit samples
o 00: 1/2
o 01: 1/4
o 10: 1/8
o 11: 1/16
Bit 1-0: Auto ATI Mode1
o 00: ATI disabled: ATI is completely disabled
o 01: Partial ATI: Only adjusts compensation
o 10: Semi-Partial ATI: Only adjusts compensation and the fine multiplier.
o 11: Full-ATI: Compensation and both coarse and fine multipliers is adjusted
9.7.3 Ch2/3, Ch4/5 Hall ATI Settings2
Ch2/3, Ch4/5 Hall ATI Settings (0x72/0x73)
7
6
5
4
3
2
Read/Write
ATI Base
ATI Target
0x73
Bit Number
Data Access
Name
Default
1
0
1
0
Register addresses:
• 0x72: Channel 2 & 3 ATI settings
• 0x73: Channel 4 & 5 ATI settings
Bit definitions:
•
•
Bit 7-6: ATI Base value select:
o 00: 75
o 01: 100
o 10: 150
o 11: 200
Bit 5-0: ATI Target:
o ATI Target is 6-bit value x 32
9.7.4 Ch2/3, Ch4/5 Hall Compensation
Bit Number
Data Access
Name
7
Ch2/3, Ch4/5 Hall Compensation (0x74,0x75)
6
5
4
3
2
Read/Write
Compensation (7-0)
Bit definitions:
•
Bit 7-0: 0-255: Lower 8 bits of the compensation value
1
2
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Refer to the Errata
See Appendix B for more information
IQS624 Datasheet V2.07
Memory map
Page 41 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.7.5 Ch2/3, Ch4/5 Hall Multipliers
Ch2/3, Ch4/5 Hall Multipliers (0x76-0x77)
Bit Number
7
6
5
4
3
2
1
Data Access
Read/Write
Name
Compensation 9-8 Coarse Multiplier
Fine Multiplier
0
Bit definitions:
•
•
•
Bit 7-6: Compensation 9-8:
o 0-3: Upper 2-bits of the compensation value
Bit 5-4: Coarse multiplier selection
o 0-3: Coarse multiplier selection
Bit 3-0: Fine multiplier selection
o 0-15: Fine multiplier selection
9.7.6 Hall Ratio Settings
Bit Number
Data Access
7
Name
-
Hall ratio settings (0x78)
6
5
4
3
2
1
0
Read
Read/Write
Read
Direction
Octant
Y
Ratio
Denominator Numerator
invert / Cos
flag
negative
Negative
negative
negative
negative
Bit definitions:
•
•
•
•
•
Bit 6-5: Quadrature output for octant changes (per 45 degrees)
o 0-3: Quadrature output
Bit 3: Invert direction of degrees
o 0 – Invert not active
o 1 – Invert active
Bit 2: Ratio negative (Used for on-chip angle calculation)
o 0 – Ratio is positive
o 1 – Ratio is negative
Bit 1: Denominator negative (Used for on-chip angle calculation)
o 0 – Denominator is positive
o 1 – Denominator is negative
Bit 0: Numerator negative (Used for on-chip angle calculation)
o 0 – Numerator is positive
o 1 – Numerator is negative
9.7.7 Sin Constant
Bit Number
Data Access
Name
7
6
Sin constant (0x79)
5
4
3
Read/Write
Sin constant
2
1
0
Bit definitions:
•
Bit 7-0: Sin (phase difference) x 255
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
IQS624 Datasheet V2.07
Memory map
Page 42 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.7.8 Cos Constant
Bit Number
Data Access
Name
7
Cos constant (0x7A)
5
4
3
Read/Write
Cos constant
6
2
1
0
Bit definitions:
•
Bit 7-0: Cos (phase difference) x 255
Phase difference:
Phase difference measured between the signals obtained from the two Hall sensor plates.
This can be calculated with a simple calibration, see Appendix B.
9.7.9 Wheel Filter Beta1
Bit Number
Data Access
Name
Default
7
Wheel Filter Beta1 (0x7B)
5
4
3
Read/Write
Wheel Filter Beta
0x08
6
2
1
0
Bit definitions:
•
Bit 7-0: Initial value used during calculation of wheel filter beta.
9.7.10 Wheel Wake Preload1
Bit Number
Data Access
Name
Default
Wheel Wake Preload1 (0x7C)
7
6
5
4
3
2
1
Read/Write
Counter Threshold
Timer Preload
7
31
0
Bit definitions:
•
•
Bit 7-5: Wheel Wake Counter Threshold
o 0-7: The wheel will wake up if the counter value reaches the counter threshold value
before the timer reaches 0.
Bit 4-0: Wheel Wake Timer Preload
o 0: Stop timer when wheel is in sleep. Load 31 when wheel is awake.
o 1-31: Preload Value loaded into Movement Timer (0x8F). The wheel will wake up if
the Movement Counter value (0x8F) reaches the Counter Threshold value before the
timer reaches 0.
1
Copyright © Azoteq (Pty) Ltd 2022.
All Rights Reserved.
Only available on IQS624-32
IQS624 Datasheet V2.07
Memory map
Page 43 of 75
May 2022
Azoteq
IQ Switch®
ProxSense® Series
9.7.11 Interval UI Divider1
Bit Number
Data Access
Name
Default
7
Interval UI Divider1 (0x7D)
5
4
3
Read/Write
Interval size in degrees
0x03
6
2
1
0
Bit definitions:
•
Bit 7-0: Interval size in degrees (>= 3° and