Temperature valuesConfiguration busReserved bitsParity bits and related registers (colour)
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
1I2C Register
The TLE493D-P2B6 includes several registers that can be accessed via Inter-Integrated Circuit interface (I2C) to
read data as well as to write and configure settings.
1.1Register overview
A bitmap overview is presented in Figure 1. Basically the following sections are available:
•measurement data (green bits in registers 00H till 05H)
•sensor status and diagnostics (grey bits in registers 05H, 06H, 0EH, 0FH, 10H and 11H)
•configuration parameters such as the power mode (orange bits in registers 10H, 11H and 13H)
•Wake Up values in registers (blue bits in registers 07H till 0FH)
Figure 1TLE493D-P2B6 Bitmap
The diagnostic register 06H contains parity information as a diagnostic mechanism. The bitmap illustrates this
and marks the relationship of the sections to this flags with dierent colored lines/frames around the bit
contents.
Usermanual4Ver. 1.0
2020-12-11
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
Table 1Register overview
Register nameRegister long nameAddress
Bx, By and BzMagnetic values MSBs00H, 01H, 02
TempTemperature value MSBs03
Bx2Magnetic values LSBs04
Temp2Temperature and magnetic LSBs and device address05
DiagSensor diagnostic and status register06
H
H
H
H
XL, YL and ZLWake Up lower threshold MSBs07H, 09H, 0B
XH, YH and ZHWake Up upper threshold MSBs08H, 0AH, 0C
WUWake Up enable and X thresholds LSBs0D
TModeTest Mode and Wake Up Y thresholds LSBs0E
TPhaseTest Phase and Wake Up Z thresholds LSBs0F
ConfigConfiguration register10
MOD1Power mode, interrupt, address, parity11
MOD2Low Power Mode update rate13
VerVersion register16
H
H
H
H
H
H
H
1.2Register description
H
H
H
The I2C registers can be read or written at any time. It is recommended to read measurement data in a
synchronized fashion, i.e. aer an interrupt pulse (/INT). This avoids reading inconsistent sensor or diagnostic
data, especially in fast mode. Additionally, several flags can be checked to ensure the register values are
consistent and the ADC was not running at the time of readout.
1.2.1Bit types
The TLE493D-P2B6 contains read bits, write bits and reserved bits.
Table 2Bit types
AbbreviationFunctionDescription
rReadRead-only bits
rwRead WriteReadable and writable bit
ReservedBits that must keep the default values (read prior to write required)
1.2.2Measurement data and registers combined in the I²C parity bit “P”
The I2C communication of the registers in this chapter is protected with the parity bit “P”, described in the Diag
register with the address 06H. See also Figure 1 - parity bits and related registers.
To make sure all data is consistent, the registers from 00H to 06H should be read with the same I2C command.
Otherwise, the sampled data (X, Y, Z, Temperature) may correspond to dierent conversion cycles.
Usermanual5Ver. 1.0
2020-12-11
7
0
Bx, By and Bz (11...4)
7
0
Temp (11...4)
7
0
Bx (3...0)
By (3...0)
43
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
Magnetic values MSBs
Register namesAddressReset Value
Bx, By and Bz00H, 01H, 02
H
80
FieldBitsTypeDescription
Bx, By and Bz7:0rBx, By and Bz values
Signed value as two’s complement from the HALL probes in the
x, y and z-direction of the magnetic field. Contains the eight Most
Significant Bits. If Bz is deactivated the Bz value is the reset value.
Back to TLE493D-P2B6 Bitmap.
Temperature value MSBs
Register nameAddressReset Value
Temp03
H
80
FieldBitsTypeDescription
H
H
Temp7:0rTemperature value
Signed value as two’s complement. If the temperature
measurement is deactivated, the Temp value is the reset value.
Back to TLE493D-P2B6 Bitmap.
Magnetic values LSBs
Register nameAddressReset Value
Bx204
H
00
FieldBitsTypeDescription
Bx7:4rBx value
Signed value as two’s complement from the HALL probes in the xdirection of the magnetic field. Contains the four Least Significant
Bits.
By3:0rBy value
Signed value as two’s complement from the HALL probes in the ydirection of the magnetic field. Contains the four Least Significant
Bits.
H
Back to TLE493D-P2B6 Bitmap.
Usermanual6Ver. 1.0
2020-12-11
7
0
Bz (3...0)
43
Temp (3...2)
ID
6
5
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
Temperature and magnetic LSBs and device address
Register nameAddressReset Value
Temp205
H
FieldBitsTypeDescription
Temp7:6rTemperature value
Signed value as two’s complement. If the temperature
measurement is deactivated, the Temp value is the reset value.
ID5:4rID
Readback of the sensor ID, from IICadr . µC shall verify the address
sent by the sensor. See Table 4 .
Bz3:0rBz value
Signed value as two’s complement from the HALL probes in the zdirection of the magnetic field. Contains the four Least Significant
Bits. If Bz is deactivated the Bz value is 0H.
(Product Type A0) 00
(Product Type A1) 10
(Product Type A2) 20
(Product Type A3) 30
H
H
H
H
Back to TLE493D-P2B6 Bitmap.
Usermanual7Ver. 1.0
2020-12-11
7
0
XL, YL and ZL (11...4)
7
0
XH, YH and ZH (11...4)
7
0
6
53
2
XL (3...1)XH (3...1)WUWA
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
1.2.3Wake Up and registers combined in the I2C parity flag “CF"
The I2C communication of the registers in this chapter is protected by the parity bit CF, which is described in the
Diag register with the address 06H. See also Figure 1 - parity bits and related registers.
Wake Up lower threshold MSBs
Register namesAddressReset Value
XL, YL and ZL07H 09H 0B
H
80
FieldBitsTypeDescription
XL, YL and ZL7:0rwWake Up lower threshold
Defines the lower threshold MSBs of the magnetic field in the x, y
and z-direction at or below which the sensor enables the /INT, if
INT bit = 0B.
See Equation 2.
Back to TLE493D-P2B6 Bitmap.
Wake Up upper threshold MSBs
Register namesAddressReset Value
XH, YH and ZH08H 0AH 0C
H
7F
H
H
FieldBitsTypeDescription
XH, YH and ZH7:0rwWake Up upper threshold
Defines the upper threshold MSBs of the magnetic field in the x,
y and z direction at or above which the sensor enables the /INT, if
INT bit = 0B. See Equation 2.
Back to TLE493D-P2B6 Bitmap.
Wake Up enable and X thresholds LSBs
Register nameAddressReset Value
WU0D
Usermanual8Ver. 1.0
H
2020-12-11
38
H
7
0
6
53
2
YL (3...1)YH (3...1)TST
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
FieldBitsTypeDescription
WA7rWake Up mode active
Flag that reports whether the Wake Up mode is disabled or
enabled.
If 0B the Wake Up mode is disabled.
If 1B the Wake Up mode is enabled.
This bit can be checked if the Wake Up function is disabled or
enabled. As long as the WA bit = 0B, the /INT will be asserted
according Table 5.
WU6rwEnables Wake Up mode
If 0B the Wake Up mode will be disabled.
If 1B the Wake Up mode will be enabled.
The following conditions must be fulfilled:
•Test modes must be disabled (T bit = 0B)
•CP parity bit (register 10H) must be odd
•Configuration parity must be flagged (CF bit = 1B)
Interrupts /INT will be sent when the measurement data is ≥ upper
or ≤ lower Wake Up threshold.
XH5:3rwWake Up X upper threshold
Defines the upper threshold LSBs of the magnetic field in the
x-direction at or above the sensor enables the /INT, if INT bit = 0B.
See Equation 2.
XL2:0rwWake Up X lower threshold
Defines the lower threshold LSBs of the magnetic field density in
the x-direction at or below the sensor enables the /INT, if INT bit =
0B. See Equation 2.
Back to TLE493D-P2B6 Bitmap.
Test Mode and Wake Up Y thresholds LSBs
Register nameAddressReset Value
TMode0E
H
FieldBitsTypeDescription
TST7:6rwTest mode
Dierent test modes can be enabled, see Table 3:
If 00B no test active (normal sensor operation and T bit = 0B). In the
following test modes the T bit = 1B and the test result overwrites
the measurement data register:
If 01B Vhall/Vext test starts: measure the Hall bias voltage on all
Hall plates and VDD.
If 10B Spintest starts: the PH bits select the channel to diagnose
with the Spin-switch and Hall-oset test.
If 11B SAT test starts: a test of the whole digital path, generates
patterns, defined by the PH bits during conversion.
Usermanual9Ver. 1.0
2020-12-11
38
H
7
0
6
53
2
ZL (3...1)ZH (3...1)PH
7
0
CP
6
5
4
3
2
1
TL_magX2AMDTTRIG
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
FieldBitsTypeDescription
YH5:3rwWake Up Y upper threshold
Defines the upper threshold LSBs of the magnetic field in the
y-direction at or above which the sensor enables the /INT, if INT bit
= 0B.
See Equation 2.
YL2:0rwWake Up Y lower threshold
Defines the lower threshold LSBs of the magnetic field density in
the y-direction at or below which the sensor enables the /INT, if INT
bit = 0B. See Equation 2.
Back to TLE493D-P2B6 Bitmap.
Test Phase and Wake Up Z thresholds LSBs
Register nameAddressReset Value
TPhase0F
H
FieldBitsTypeDescription
PH7:6rwTest phase selection
In the Spintest these bits define the channel. In the digital test,
specific patterns are defined. See Test phase selection Table 3.
The PH bits have no eect in the voltage measurement test (Vext)
and in normal operating mode TST bit=00B and T bit=0B).
See Equation 2.
ZH5:3rwWake Up Z upper threshold
Defines the upper threshold LSBs of the magnetic field in the
z-direction at or above which the sensor enables the /INT, if INT bit
= 0B.
See Equation 2.
ZL2:0rwWake Up Z lower threshold
Defines the lower threshold LSBs of the magnetic field density in
the z-direction at or below which the sensor enables the /INT, if INT
bit = 0B. See Equation 2.
38
H
Back to TLE493D-P2B6 Bitmap.
Configuration register
Register namesAddressReset Value
Config10
Usermanual10Ver. 1.0
H
2020-12-11
01
H
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
FieldBitsTypeDescription
DT7rwDisable Temperature
If 0B temperature measurement is enabled.
If 1B temperature measurement is disabled. This means the Bx, By
and Bz channels are measured. The Temp channel is disabled and
contains the reset value until a new conversion with Temp is done.
AM6rwX/Y Angular Measurement
If 0B the Bz measurement is enabled.
If 1B and DT bit = 1B: the Bz measurement is disabled. This means
the Bx and By channel is measured. The channels Bz and Temp
contain the reset values until a new conversion with Bz and Temp
is done
If 1B and DT bit = 0B: must not be used.
TRIG5:4rwTrigger options
If PR bit = 1B (1-byte read protocol), the TRIG bits define the trigger
mode of the device:
If 00B no ADC trigger on read
If 01B ADC trigger on read before first MSB.
If 1xB ADC trigger on read aer register 05H.
If PR bit = 0B these bits have no eect.
X23rwShort range sensitivity
When this bit is set, the sensitivity of the Bx, By, and Bz ADCconversion is doubled by a longer ADC integration time. The Temp
result will not change, neither in sensitivity nor conversion time.
See Table 3.
TL_mag2:1rwMagnetic temperature compensation
There are two bits for setting the sensitivity over temperature of
the sensor to compensate a magnet temperature coeicient.
If 00B → TC0 (no compensation)
If 01B → TC
If 10B → TC
If 11B → TC
1
2
3
CP0rwWake Up and configuration parity
The registers 07H through 10H (including 10H) without WA TST and
PH bit are odd parity protected with this bit. On startup or reset,
this parity is false and the CF bit in the status register 06H is
cleared. Thus the CP bit has to be corrected once aer startup or a
reset.
If this parity bit is incorrect during a write cycle, the Wake Up is
disabled.
Usermanual11Ver. 1.0
2020-12-11
Usermanual TLE493D-P2B6
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
Table 3Test mode interaction of TST, PH and X2 bits
High Accuracy Low Power 3D Hall Sensor with I²C Interface
1 I2C Register
1.2.4Mode registers combined in the I²C parity flag “FF”
The I²C communication of the registers in this chapter is protected with the parity bit “FF”, described in the Diag
register with the address 06H. See also Figure 1 - parity bits and related registers.
Power mode, interrupt, address, parity
Register nameAddressReset Value
MOD111
H
FieldBitsTypeDescription
FP7rwFuse parity
The registers 11H and 13H (bits 7:5) are odd parity protected with
this bit.
If this parity bit is incorrect please see FF bit.
To exit this state a sensor reset is necessary.
IICadr6:5rwI²C address
Bits can be set to 00B, 01B, 10B or 11B to define the slave address in
bus configuration.
See Table 4 and data sheet.
PR4rwI²C 1-byte or 2-byte read protocol
If 0B this is the 2-byte read protocol:
<start> <I²Cadr.> <reg.adr.> <data of reg.adr.> <data of reg.adr.+1>
…. <stop>
If 1B this is the 1-byte read protocol:
<start> <I²Cadr.> <data of reg.00H> <data of reg.01H> …. <stop>
See I²C read commands
(Product Type A0) 80
(Product Type A1) 20
(Product Type A2) 40
(Product Type A3) E0
H
H
H
H
CA3rwCollision avoidance
Clock stretching only in master-controlled and low-power mode,
not in fast mode.
The CA bit interacts with the INT bit, see Table 5 and Collision
avoidance and clock stretching.
INT2rwInterrupt enabled
If 1B /INT disabled
If 0B /INT enabled: Aer a completed measurement and ADC-
conversion, an /INT pulse will be generated.
For bus configurations /INT timing constraints between I²C data
transfers and interrupt pulses must be monitored and aligned.
Enabled Wake Up mode or Collision avoidance (CA bit = 0B and
INT bit = 0B) may suppress the /INT pulse.
The INT bit interacts with the CA bit, see Table 5 .
Usermanual13Ver. 1.0
2020-12-11
Loading...
+ 28 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.