SLYS045B June 2021 – July 2024 TMAG5273
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
The TMAG5273 supports flexible and configurable interrupt functions through either the INT or the SCL pin. Table 6-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 6-3 shows an example for interrupt function through the SCL pin with the device programmed to wake up and sleep mode for threshold cross at a predefined intervals. The wake-up intervals can be set through the SLEEPTIME bits. When the device detects a magnetic threshold cross, the TMAG5273 asserts a fixed width interrupt signal through the SCL pin, and goes back to standby mode.
Figure 6-4 shows an example for fixed-width interrupt function through the INT pin. The device is programmed to be in wake-up and sleep mode to detect a magnetic threshold. The INT_STATE register bit is set 1b. When the device detects a magnetic threshold cross, the TMAG5273 asserts a fixed width interrupt signal through the INT pin, and goes back to standby mode.
Figure 6-5 shows an example for latched interrupt function through the INT pin. The device is programmed to be in wake-up and sleep mode to detect a magnetic threshold. The INT_STATE register bit is set 0b. When the device detects a magnetic threshold cross, the TMAG5273 asserts a latched interrupt signal through the INT pin and goes back to standby mode. The interrupt latch is cleared only after the device receives a valid address through the SCL line.