I am developping a GUI with STM32F746G-DISCO. How can I get the information of the position where the interruption occured when the user touches the screen?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-19 11:59 PM
Also, what position does the LTDC current position status register (LTDC_CPSR) return? Is it the position of the touch interrupt?
Labels:
- Labels:
-
LCD-LTDC
-
STM32F7 Series
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-21 3:04 AM
Answer if someone needs it: LTDC_CPSR register has no link with position of touch interrupt. In order to find touch position, you need to read the I2C memory of the touch screen pannel (http://www.newhavendisplay.com/app_notes/FT5x06_registers.pdf). Using peripheral I2C3 of uC. Default device adress is 0x70. Interesting registers for position are 0x3:0x6
