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

AM335x TSC PEN_UP interrupt

$
0
0

Hello,
I'm working on AM335xEVM+StarterWare+CCS, and testing touchscreen controller with StarterWare sample(tscCalibrate.c).
About a PEN_UP interrupt, follow things a written in In TRM(spruh73g.pdf) P1019 "12.3.5 Interrupts"
------------------
A PEN_UP interrupt is generated only if the HW steps are used and the Charge step must be enabled. If
a pen_down event caused the HW steps to be scheduled, and after the sequencer finishes servicing the
charge step, if the HW Pen (touch) is not active then PEN UP is generated.
------------------
So, if I touch the screen about 3 or 4 seconds and then my finger up, I should get many many Pen Touch interrupt and only one Pen Up interrupt.
But actually, I've got many Pen Touch interrupt and many Pen Up interrupt.
I see Pen Touch and Pen Up interrupt on IRQSTATUS_RAW Register from CCS memory window.
Althogh I crear them writing a 1 to IRQSTATUS Register, Pen Up Flag is set instantly.

Why so many Pen Up interrupts happen ?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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