AnsweredAssumed Answered

IMX6Q PAD_KEY Configuration: key scan registers entire row

Question asked by Keo Malope on Feb 4, 2016
Latest reply on Feb 16, 2016 by Keo Malope


I'm trying to integrate a keypad with IMX6Q board. 4 rows, and 4 columns. To start, I have enabled only one row (ROW0), and one column (COL1).


External Keypad: Columns=<open-drain output>, Rows=<input>


#pin control


MX6QDL_PAD_KEY_COL0__KEY_COL0   0x80000000 /* No PAD ctrl*/
MX6QDL_PAD_KEY_ROW0__KEY_ROW0   0x000000e0 





When I press ANY of the the keys on ROW0, events get generated for all keys in ROW0 instead of just the one key.



1. How do I determine what the correct PAD key configuration to use is? Mux-config register has a number of "nobs" which I have no idea of what the correct combination to use is and/or how to calculate the correct configuration.