2019-04-11 12:32 PM
I started with the tips that user @BBenn commented in this forum post. Eventually I was able to get a project that compiled and loaded on the target device.
The minimal gui that I generated in TouchGFX shows up on the display but the START button does not react to touches.
UPDATE: Thanks to the advice of users @eng23and @BBenn I was able to get the touch driver configured. Thanks again for your help.
Solved! Go to Solution.
2019-04-12 03:59 AM
Hi,
No, in fact you need to follow the instructions after this line:
"In the project add a sub-group under Drivers called BSP and add the three"
And until the QSPI part... I said EWARM because the article is organised in this way..
For example, your files about Touch need to be like this:
And after you need to add the code in STM32F7TouchController.cpp like the article. Finally I think your touch will be working!
Regards.
2019-04-11 12:42 PM
Hmmm... On the same board, touch worked just fine for my project. Did the as-shipped example firmware respond to touch? (i.e. does your hardware work?) If so, there's got to be an error in your touch configuration...
2019-04-11 12:49 PM
Hello,
I followed this article to enable touch driver:
https://touchgfx.zendesk.com/hc/en-us/articles/360019884752-Configuring-STM32F746G-DISCO
In the end in section "Modifying the EWARM Project" (even if you aren't in IAR).
You can check this other tutorial to see the files about BSP and how to import the files properly.
https://community.st.com/s/article/FAQ-Enable-touch-screen-on-the-STM32F746G-Discovery
Regards.
Anderson
2019-04-11 01:13 PM
I have confirmed the hardware is functional using TouchGFX stand-alone.
Thanks again for your help.
2019-04-11 01:55 PM
Are you saying that you modified your linker script according to the values that are listed under "Add the following changes to EWARM\stm32f746xx_flash.icf:"? If so, can you explain how you did that?
I also applied most what I read in the FAQ article that you linked. I stopped once I got to where the user is directed to add code that calls functions that are generated by STemwin. Is this incorrect?
Thank you for your help.
2019-04-12 03:59 AM
Hi,
No, in fact you need to follow the instructions after this line:
"In the project add a sub-group under Drivers called BSP and add the three"
And until the QSPI part... I said EWARM because the article is organised in this way..
For example, your files about Touch need to be like this:
And after you need to add the code in STM32F7TouchController.cpp like the article. Finally I think your touch will be working!
Regards.