How to use Touch GFX with MSK-ARM compiler and use touch gfx and mcu peripheral simultaneously?
I build an application using touch GFX ,but I also want to use MCU peripheral to control other things. According to UI data.
I build an application using touch GFX ,but I also want to use MCU peripheral to control other things. According to UI data.
Hello. Yes, this is very possible to do. Due to some compiler integration issues, it will be best for you to consider at this time, IAR or SW4STM32 compilers only. The others are being debugged and not suitable for your use with CubeMX & TouchGFX.
Please review the following thread:
https://touchgfx.zendesk.com/hc/en-us/articles/205074561-Connecting-the-UI-to-your-system
https://touchgfx.zendesk.com/hc/en-us/articles/205074551-Interfacing-with-physical-buttons
https://touchgfx.zendesk.com/hc/en-us/articles/205717801-The-Screen-Concept-and-Model-View-Presenter
https://www.youtube.com/watch?v=KnJAEpE5iXg
https://www.youtube.com/watch?v=sKVuaD-JOqs
You will have to review the MVP model that was applied with TouchGFX. Model, Viewer, Presenter.
Using this approach, you can send packets of data to / from real hardware or virtual buttons on your LCD display. Study the posted code examples and also review the video posted by Martin (who is a developer of this tool and on this forum). The video is very nice to watch.
Write back if you still have questions or problems.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.