cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7: CM4 for TouchGFX, CM7 for the rest

Ahper
Associate

Hello TouchGFX Community!

It's not a question, but my findings.

ST recommends to split tasks between two cores of STM32H7: CM7 for GUI, and CM4 for real-time tasks.

In this configuration, we throw away all advantages of CM7 over CM4:
- instruction cache
- data cache
- tightly coupled memory for data
- tighlty coupled memory for instructions
- advanced instruction set
- MPU

Looking at this, I thought the price is too much and decided to run TGFX on CM4.

However TouchGFX Designer does not support this approach and generates the TGFX code for CM7 by default. So it was needed to roll up sleeves, and after some time I managed to build the GUI for CM4.

The price is not zero but affordable - CM4 runs TGFX at 30FPS (CM7 did it at 60FPS) in STM32H747I-DISCO, because its clock is twice lower.

And CM7 has full fuel tanks for the real-time tasks.

 

0 REPLIES 0