JAJSP27A September 2022 – September 2023 TMAG5173-Q1
PRODUCTION DATA
The TMAG5173-Q1 supports flexible and configurable interrupt functions through either the INT or the SCL pin. Table 7-1 shows different conversion completion events where result registers and SET_COUNT bits update, and where they do not.
INT_MODE | MODE DESCRIPTION | I2C BUS BUSY, NOT TALKING TO DEVICE | I2C BUS BUSY & TALKING TO DEVICE | I2C BUS NOT BUSY | |||
---|---|---|---|---|---|---|---|
RESULT UPDATE? | SET_COUNT UPDATE? | RESULT UPDATE? | SET_COUNT UPDATE? | RESULT UPDATE? | SET_COUNT UPDATE? | ||
000b | No interrupt | Yes | Yes | No | No | Yes | Yes |
001b | Interrupt through INT | Yes | Yes | No | No | Yes | Yes |
010b | Interrupt through INT except when I2C busy | Yes | Yes | No | No | Yes | Yes |
011b | Interrupt through SCL | Yes | Yes | No | No | Yes | Yes |
100b | Interrupt through SCL except when I2C busy | No | No | No | No | Yes | Yes |
TI does not recommend sharing the same I2C bus with multiple secondary devices when using the SCL pin for interrupt function. The SCL interrupt may corrupt transactions with other secondary devices if present in the same I2C bus.
Figure 7-3 shows an example for interrupt function through the SCL pin with the device programmed to generate interrupt at magnetic threshold cross event. When the magnetic threshold cross is detected, the device asserts a fixed width interrupt signal through the SCL pin.
Figure 7-4 shows an example for fixed-width interrupt function through the INT pin. The device is programmed to generate interrupt at magnetic threshold cross event. The INT_STATE register bit is set 1b. When the magnetic threshold cross is detected, the device asserts a fixed width interrupt signal through the INT pin.
Figure 7-5 shows an example for latched interrupt function through the INT pin. The device is programmed to generate interrupt at magnetic threshold cross event. The INT_STATE register bit is set 0b. When the magnetic threshold cross is detected, the device asserts a latched interrupt signal through the INT pin. The latched interrupt is cleared only after the device receives a valid address through the SCL line.