cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F439_EVAL2 enable Touch Panel Interrupts

kartik
Associate II
Posted on May 07, 2014 at 22:32

I'm working on the STM32F439 Evaluation board. The touch panel dirver in the demo code only polls for touch co-ordinates. I want to set it up so that I can get touch interrupts however when I look at the accompanying component driver, there stubs to enable interrupts on the TS3510 are all blank. Can someone who is familiar with this tell me how I might be able to enable touch interrupts. 

The TS3510 on the eval board is wired via I2C1. I found a Software guide for the TS351x series, but it does not mention I2C protocol (only SPI and SMBus). I've attached the document to the message.

Thanks

Kartik

#touch #stm32f439
1 REPLY 1
Posted on May 07, 2014 at 22:42

SMBus is a variant of I2C

The interrupt from the display is routed to the IO Expander (EXP_IO4), so you need to configure the IO Expander to catch/signal the interrupt, and setup the interrupt EXTI/NVIC for the IOE on the STM32 side (EXT_INT PI8).
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..