Hello,
I'm trying to utilize the keypad lock feature of the TCA8418 to ignore all button presses but unable to get the device to actually enter locked mode. I have followed the application example in the data sheet (9.2.2.2) down to the exact register values. This is followed by a write of 0xFF to the KEY_LCK_EC register to lock the keypad. I then read back every register to verify the correct values have been latched and they are all correct. The only problem is LCK1 and LCK2 of KEY_LCK_EC are both 0 indicating the keypad is still not locked even though K_LCK_EN is 1 on the same readback.
Testing the keypad after this does indeed show that lock failed to enabled as K_INT's are fired on every key press allowing the keypad to function normally.
What is preventing the keypad from entering lock mode?
Thanks for your help,
Lukas