JAJSHO4D January 2014 – November 2019 TCA9545A
The TCA9545A provides four interrupt inputs (one for each channel) and one open-drain interrupt output (see Table 2). When an interrupt is generated by any device, it is detected by the TCA9545A and the interrupt output is driven low. The channel does not need to be active for detection of the interrupt. A bit also is set in the control register.
Bits 4–7 of the control register correspond to channels 0–3 of the TCA9545A, respectively. Therefore, if an interrupt is generated by any device connected to channel 1, the state of the interrupt inputs is loaded into the control register when a read is accomplished. Likewise, an interrupt on any device connected to channel 0 would cause bit 4 of the control register to be set on the read. The master then can address the TCA9545A and read the contents of the control register to determine which channel contains the device generating the interrupt. The master then can reconfigure the TCA9545A to select this channel and locate the device generating the interrupt and clear it.
It should be noted that more than one device can provide an interrupt on a channel, so it is up to the master to ensure that all devices on a channel are interrogated for an interrupt.
The interrupt inputs can be used as general-purpose inputs if the interrupt function is not required.
If unused, interrupt input(s) must be connected to VCC.
|X||X||X||0||X||X||X||X||No interrupt on channel 0|
|1||Interrupt on channel 0|
|X||X||0||X||X||X||X||X||No interrupt on channel 1|
|1||Interrupt on channel 1|
|X||0||X||X||X||X||X||X||No interrupt on channel 2|
|1||Interrupt on channel 2|
|0||X||X||X||X||X||X||X||No interrupt on channel 3|
|1||Interrupt on channel 3|