The TCA8418 key scanner IC, contains a FIFO which stores both "Pressed" and "Released" events. I want to configure it to save only the "Pressed" events. How can I do it and what are the register addresses and the values that I should set?
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.
The TCA8418 key scanner IC, contains a FIFO which stores both "Pressed" and "Released" events. I want to configure it to save only the "Pressed" events. How can I do it and what are the register addresses and the values that I should set?
Hi Chameera,
The recording of the key press / release events is not configurable to just the recording of press events. The filtering between these two events would need to be done in software by throwing away the data that contains KEA[7] = 0.
Regards,
Tyler
Hi Tyler
Thanks a lot for your response. I have another question. Is there a way that I can clear the entire FIFO with a single register write operation? (without reading the "TCA8418_REG_KEY_EVENT_A" register)
Only with the /RESET pin, which would also reset the configuration.
During normal operation, you can empty the FIFO only by actually reading all events.
Hi Chameera,
Please let me know if Clemens response answered your question. I agree with his solution.
Regards,
Tyler