Hi
When does TCA6416 I/O expander use the INT pin? Are there any recommended ways to use this pin?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Gareth,
Clemens is correct in his explanation.
In a practical case, we usually see customers utilize the interrupt pin as a feedback output to the MCU. For example, an input on the TCA6416 changes states. This flags the interrupt pin to transition from a high to low logic level. This interrupt pin has some connection to the MCU. The MCU sees the falling edge on the /INT pin, and then proceeds to do some calculation / reading data from the IO expander to detect the input that changed state.
I.e. a push button is pressed, P0 changes state, /INT goes LOW, MCU takes in the interrupt and proceeds to read data from the IO expander.
In another case where an IO expander does not have an /INT pin, a state may change on the IO expander input, but the MCU would not realize it. Thus the MCU would have to constantly poll the IO expander to check periodically for data changes.
Regards,
Tyler