LTDC and STemWIn GUI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-08-05 4:39 AM - edited 2024-08-05 4:42 AM
Hi,
I am currently working with the STM32H7XIH microcontroller and an LCD TFT Type. I have successfully configured the LTDC and displayed a static image on the LCD. Now, I am attempting to integrate the STemWin GUI library into the project. The project compiles without any issues; however, I encounter a HardFault when I use the GUI_DispStringAt function. I need assistance with configuring the GUI library, please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-08-07 1:09 AM - edited 2024-08-07 1:11 AM
Hello @JKhal.1 ,
In the main, the HardFault issue may be caused by one of the following:
- If there is insufficient memory allocated for the GUI. For that, check Memory allocation, verify and increase the heap and stack sizes if necessary.
- The CRC module must be enabled before calling GUI_Init. If the CRC module is not enabled, STemWin will not function correctly. So, ensure that the CRC module is enabled before calling GUI_Init.
I hope my answer helps you solve your issue.
Thanks
Imen
