2022-04-29 03:21 AM
2022-05-03 05:47 AM
I am also new with TouchGFX stuff and I had exactly the same problem - I figured out that you can just flash the G071 demo project onto G070 dev board. At least as a fast evaluation approach.
I also tried creating new G070 project with CubeMX.
Long story short: Add and configure TouchGFX Software Pack, set up all you need - GPIOs, SPI, DMA (look out for the default callback generation configuration). Generate everything with CubeMX and than the TouchGFX Designer (the MX generates a directory with a project template for it).
I also ported the drivers from the demo project as I needed them. What I missed was the external SPI flash, but it was enough for me.
2022-05-12 06:01 AM
Thank you for your reply, could you explain what does "flash the G071 demo project onto G070 dev board" mean?
2022-05-12 06:42 AM
TouchGFX Designer allows you to generate project for Nucleo-G071RB board. This project can be programmed to the Nucle-G070RB board. It just works. Click the "Run Target" button ;)
Note: I haven't tested or researched the exact difference between the two MCUs, I have used this approach only for fast evaluating the TouchGFX capabilities.
However, you can use CubeMX to generate a new project from scratch for the correct board/MCU . When you include the Software Pack for TouchGFX it will also generate a template file to open with the Designer.
2022-05-12 07:04 AM
When I generate the code for the Nucleo-G071RB board in TouchGFX and click run while I have the Nucle-G070RB board plugged in it results in an error
2022-05-12 07:44 AM
What is the error? I suppose it is something different.
Fast proof of concept:
https://www.youtube.com/watch?v=c7xaZMGLh9I
BTW: I restart it by hand as I do not have external SPI Flash as the project expects, but I am in the middle of something else and cannot rewire.