2025-06-16 5:29 AM
Hi Team,
I’m currently working on a project involving the TouchGFX interface with an internal clock configured at 480 MHz. I’ve created a custom TouchGFX project using STM32CubeMX and successfully brought up both QSPI and SDRAM, verifying their functionality independently.
Following the guidelines from TouchGFX Seminar -3, I proceeded to enable TouchGFX through CubeMX. I've attached screenshots showing my LTDC, DMA2D, Clock, and TouchGFX configurations for your reference.
Project Details:
MCU: STM32H750IBT6
Display: 12.1-inch panel supporting RGB888
LVDS Driver: DS90C385AMTX_NOPB
Initially, with a simple background and the default designer gauge, everything worked fine.
However, when I customized the gauge's background and needle graphics, I started encountering errors, including:
TouchGFX rendering errors (specific message attached in screenshot)
Occasional Hard Fault exceptions
I would appreciate your insights on what might be causing this issue—especially whether it could be related to memory constraints, asset sizes, or configuration mismatches.
Thanks in advance for your support.
I have attached a document that includes all the screenshots of the Touch-GFX configuration steps I followed during development. If there are any mistakes in the setup, please excuse me and feel free to point them out.
2025-06-16 5:44 AM
Here are some screen shorts of error I got when I flashed customized gauge.
2025-06-23 5:26 AM
Hello @naveen ,
Are you able to see something triggering the hardfault? After x minutes of running? After clicking on the screen? Once the needle reach a certain point?
The screen shots tells me that issue happens while calculating the bilinear interpolation of the edge pixels but not much more.
Could you share the assets that works and the one that doesn't?
Also, why can't you connect to STM32CubeProgrammer?
Regards,