Text not showing after enabling peripherals (CAN/UART) on NUCLEO-H503RB + GFX01M2
- April 15, 2025
- 1 reply
- 1179 views
I'm working on a project using TouchGFX Designer v4.25.0 with the NUCLEO-H503RB board and GFX01M2 display module. The firmware is based on STM32Cube FW_H5 V1.5.0 and V3.0.6 on the touchGFX project version
The main idea of the project is to communicate by CAN and to display the information received in a text on the screen.
Here's is the issue: when I enable peripherals like CAN, UART1 or UART2 via STM32CubeMX, and generate the code, text stops displaying on the screen.Although the rest of the graphical elements are displayed. If i comment out the Init functions, the text show up correctly.
This are the things i've test so dar
I tried enabling "Mapped Text Storage Format" in TouchGFX as a workaround. It causes a HardFault in this function --> touchgfx::ConstFont::find(unsigned short)
I also tried using vector fonts instead of raster ones, but the issue persists.
I tested with different STM32Cube FW_H5 versions, but the problem remains the same.
It feels like there's a memory conflict between the peripheral initializations and how TouchGFX stores or accesses text/fonts. Maybe the memory layout gets affected when enabling these peripherals?
Has anyone experienced something similar with this board/setup?
Any suggestions on what I can try ?
Thanks!
