Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

TPS65930 keypad hardware key scanning problem

$
0
0

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


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>