Hi
We have used the keypad ic ADP5589ACPZ-00-R7 for 4x4(R0 to R3 and C0 to C3)key pad and it is found to be working during our initial testing but when we used ADP5589ACPZ-01-R7 & ADP5589ACPZ-02-R7 after making the configuration as per the data sheet some of the keys are not working as desired but its generating the junk values even if the key are not pressed. Below are the some of the test we conducted
1.Using ADP5589ACPZ-00-R7
All R0 to R3 is pulled high, so when ever the key is pressed it getting properly detected.
2. ADP5589ACPZ-01-R7 & ADP5589ACPZ-02-R7
As per the Figure 9. Simplified Key Scan Block in page 10 in the ADP5589 data sheet the Row pins are pulled high internally however in our case the Two Row pins will be high and other pins will be low and vice versa, hence we are getting improper key values
Here is our the configuration
ADP5589ACPZ-00-R7 PIN_CONFIG_A_0x49 = 0x0F (R3 to R0 is set as keypad)
PIN_CONFIG_B_0x4A = 0x0F (C3 to C0 is set as keypad)
GENERAL_CFG_OSC_0x4D =0x80 (enable internal 1 MHz oscillator)
INT_EN_0x4E =0x01 (assert the INT pin if EVENT_INT is set)
How to resolve this issues
Regards Santhosh