Skip to main content
kartik
Associate III
May 7, 2014
Question

STM32F439_EVAL2 enable Touch Panel Interrupts

  • May 7, 2014
  • 1 reply
  • 563 views
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
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
May 7, 2014
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..