Page 1
This document provides product information and descriptions regarding: • C Registers • C Interface • Diagnostic Intended audience This document is aimed at engineers and developers of hard and software using the sensor TLI493D-A2B6. User Manual Ver. 1.11 www.infineon.com/sensors 2019-05-28...
TLI493D-A2B6 C Registers C Registers The TLI493D-A2B6 includes several registers that can be accessed via Inter-Integrated Circuit interface (I C) to read data as well as to write and configure settings. Registers overview A bitmap overview is presented in Figure 1.
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.1 Bit types The TLI493D-A2B6 contains read bits, write bits and reserved bits. Table 2 Bit Types Abbreviation...
Page 5
TLI493D-A2B6 C Registers Magnetic values MSBs Register names Address Reset Value Bx, By and Bz Bx, By and Bz (11...4) Field Bits Type Description Bx, By and Bz Bx, 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.
Page 6
TLI493D-A2B6 C Registers Field Bits Type Description Bx value Signed value as two’s complement from the HALL probes in the x- direction of the magnetic field. Contains the four Least Significant Bits. By value Signed value as two’s complement from the HALL probes in the y- direction of the magnetic field.
TLI493D-A2B6 C Registers 1.2.3 Configuration registers combined in the I C parity flag “CF” The I C communication of the registers in this chapter is protected by the parity bit CF, which is described in the Diag register with the address 06 .
TLI493D-A2B6 C Registers Back to TLI493D-A2B6 Bitmap. Table 3 X2 bit X2 bit Bx (11 ... 0) By (11 ... 0) Bz (11 ... 0) T (11 ... 2) Bx full-range By full-range Bz full-range T full-range Bx short-range By short-range...
TLI493D-A2B6 C Registers Field Bits Type Description Interrupt enabled If 1 /INT disabled If 0 /INT enabled: After 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.
TLI493D-A2B6 C Registers Low Power Mode update rate Register name Address Reset Value MOD2 (bits 7:5) 000 Reserved Field Bits Type Description Update rate settings If 0 = fast. Update If 1 = slow. Update Reserved Factory settings Back to TLI493D-A2B6 Bitmap.
Page 11
TLI493D-A2B6 C Registers Field Bits Type Description Fuse parity flag Provides a flag from the internal fuse parity check of registers 11 and 13 (bit 7). This parity check includes the bit. If 1 parity is OK. If 0 the parity is not correct. The sensor must be considered defective and must no longer be used.
Page 12
TLI493D-A2B6 C Registers Version register Register name Address Reset Value , D9 or E9 Reserved TYPE Field Bits Type Description Reserved Factory settings TYPE Chip feature If 11 : device without Wake Up feature. Hardware revision If 9 it is the B21 design step.
1-byte read command. C protocol description The TLI493D-A2B6 provides one I2C write protocol, based on 2 bytes and two I C read protocols. Default is the 2-byte read protocol. With the bit it can be selected, if the 1-byte read protocol or the 2-byte read protocol is used.
Page 14
TLI493D-A2B6 C Interface The I C write communication frame consists of: • The start condition. • The sensor address, according to Table • Write command bit = “low” (read = “high”). • Acknowledge ACK. • Trigger bits, according to Table •...
Page 15
TLI493D-A2B6 C Interface Table 6 C trigger bits (cont’d) Read/Write Trigger- Trigger- Trigger- Trigger command command bit 7 bit 6 bit 5 ADC trigger after register 05 Figure 5 ADC trigger after register 05 Figure 5 ADC trigger after register 05...
Page 16
TLI493D-A2B6 C Interface Example I2C write communication An example of a write communication is provided in Figure In this example the sensor with the address 6A / 6B (see Table 4) should be configured for: • Master Controlled Mode, •...
TLI493D-A2B6 C Interface 2.1.3 I2C read commands Read I2C communication description: • The purpose of the sensor address is to identify the sensor with which communication should occur. The sensor address byte is required independently of the number of sensors connected to the microcontroller.
Page 18
TLI493D-A2B6 C Interface The I C communication frame consists of: • The start condition. • The sensor address, according to Table • Read command bit = “high” (write = “low”). • Acknowledge ACK. • Reading of one or several bytes from the sensor, each byte followed by an acknowledge ACK.
TLI493D-A2B6 C Interface Read data reg. 00 Read data reg. 06 NACK C master is driving data (µC) C slave is driving data (sensor) Figure 9 Example I2C frame format 1-byte: Read data from sensor to microcontroller Collision avoidance and clock stretching Using the configuration bits and INT, collision avoidance and clock stretching can be configured.
TLI493D-A2B6 C Interface conversion /INT omitted Read data reg. 00 Read data reg. 06 NACK C master is driving data (µC) C slave is driving data (sensor) Figure 11 Example with collision avoidance bit =0 bit = 0 2.2.2 Clock stretching...
TLI493D-A2B6 C Interface Sensor reset by I If the microcontroller is reset, the communication with the sensor may be corrupted, possibly causing the sensor to enter an incorrect state. The sensor can be reset via the I C interface by sending the following command sequence from the microcontroller to the sensor: •...
I²C bus I²C bus can be disturbed Microcontroller Figure 14 Example of I2C bus and a TLI493D-A2B6 with disconnected V When V is pulled to GND the SDA and SCL line will not disturb the bus. User Manual Ver. 1.11...
TLI493D-A2B6 Diagnostic Diagnostic The sensor TLI493D-A2B6 provides diagnostic functions. These functions are running in the background, providing results, which can be checked by the microcontroller for the verification of the measurement results. To ensure the integrity of received data the following diagnostic functions are available.
Data pin Sensor Refers to the TLI493D-A2B6 product Sensor module Refers to the TLI493D-A2B6 product and all the passive elements in the customer’s module Supply Refers to the sensor supply pins V and GND (the unused pins are assumed to be connected to GND as well).
TLI493D-A2B6 Revision history Revision history Revision Date Changes Ver. 1.11 2019-05-28 Register MODE updated. Ver. 1.1 2018-09-20 TRIG updated. MOD2 updated. Table 5 updated. Trigger bits in the I C protocol updated. Table 6 updated and Figure 4 accordingly. Figure 5 updated.
Page 27
Infineon Technologies, customer's products and any use of the product of Infineon Technologies’ products may not be used in Infineon Technologies in customer's applications. any applications where a failure of the product or any...