Hi,
I am finding a chip for a new design scanning keyboard matrix and the TCA8424 would be a right solution.
But, I have a question about handling the order of simultaneous pressed keys (keyboard buffer/FIFO) which is not answered by datasheet (or I missed it).
How TCA8424 works when several buttons are pressed between two read operation (input report) via I2C?
For example, how would be stored data in input report structure in these cases?
Case-1:
1.1. no pressed buttons, no interrupt request signals (stable system state)
1.2. 'A' button has pressed, then released
1.3. 'B' button has pressed, then released
1.4. ISR has been performed by CPU, and data is read from TCA8424
Case-2:
2.1. no pressed buttons, no interrupt request signals (stable system state)
2.2. 'B' button has pressed, then released
2.3. 'A' button has pressed, then released
2.4. ISR has been performed by CPU, and data is read from TCA8424
Peter