Hi Champs,
I have the hardware key scanning trouble now.
When key is pressed, the interrupt is generated after the debouncing time. Then the key is released, but the interrupt is not generated.
The key coding register bit that correspond to a keypad remain 1. It indicates that the key is still pressed. Also the time-out interrupt is not generated.
The keypad controller settings are below.
- Enable time-out, 200ms
- Debouncing time, 20ms
- PTV(Prescaler Time Value) , 4
- Key-press event not masked
- Enable key-pressed event rising/falling detection
- Enable time-out event rising detection
- Clear ISR when read mode
- Disable pending event feature
The key-pressed interrupt is cleared correctly.
So, could you please give me advice what I should check.
And dose anyone know similar troubles?
Thanks in advance for cooperation
Best regards,
j-breeze
↧
TPS65930 keypad hardware key scanning problem
↧