2025-11-09 12:06 PM - last edited on 2025-12-05 2:37 AM by Andrew Neil
Hi everyone
I am looking for a tutorial on: how to integrate your code in TouchGFX with some used case examples such as ON/OFF control of an LED or sending data over serial port to Putty terminal on PC
I am using the following Board:
STM32F469I-DISCO
2025-12-15 6:11 PM
My project uses a gc9503cv display panel with stm32f469-disco configured for dsi-video+ltdc. The left side of the screen displays normally, while the right side shows ripple-like artifacts. These artifacts gradually disappear after prolonged operation, but misaligned frames can still be observed.
The image shows that the TouchGFX output is not updating. How should I troubleshoot these issues?
2025-12-15 6:13 PM
I test but i dont know why i only get three waves .
2025-12-16 12:45 AM
TouchGFX does not render the screen unless anything actually changes from frame to frame.
You can force a rerender on every frame by adding an interaction that runs every tick calling invalidate():
2025-12-16 12:52 AM
Regarding your alignment issues, the cause may be that you initialize the display as a landscape mode display, while the display is actually a portrait mode display.
The display controller will then be able to receive the data correctly to the internal memory, but the actual scanline that updates the pixels still runs the same direction. This can result in slanted tear lines on the siplay for moving content.
If that is the case, I would recommend you initialize the display as a portrait mode display and rotate the canvas in TouchGFX instead.
2025-12-16 6:49 PM - edited 2025-12-16 10:57 PM
screan ic is gc9503cv , this is configure, and the misalignment always appears on the right half of the screen, while the left half works perfectly fine. The issue improves after the computer has been on for a while. I'm very confused and don't know how to diagnose the problem.
1. DSI configure
2. LTDC configure
3.I don't find these define
/*-------- Peripheral Clock source for STM32F42xxx/STM32F43xxx ---------------*/
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)
#define RCC_PERIPHCLK_I2S 0x00000001U
#define RCC_PERIPHCLK_SAI_PLLI2S 0x00000002U
#define RCC_PERIPHCLK_SAI_PLLSAI 0x00000004U
#define RCC_PERIPHCLK_LTDC 0x00000008U
#define RCC_PERIPHCLK_TIM 0x00000010U
#define RCC_PERIPHCLK_RTC 0x00000020U
#define RCC_PERIPHCLK_PLLI2S 0x00000040U
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx */
/*---4.there are some deffient between dsi and ltdc in demo stm32u5a9njhxq , how to set they
2025-12-18 6:35 AM
The settings look fine to me, but it's generally very difficult to debug DSI issues.
In your last image of the screen, it looks like the pixels are shifted. Can you tell if there is a black pixel missing on one side of the box on the lines where there is an extra pixel at the other side of the bus?
It looks timing related to me, but again, it's hard to guess whats going on in a DSI interface.
2025-12-18 6:20 PM
Does this imply that LTDC configuration must be aligned with screen specifications, whereas DSI configuration necessitates individual fine-tuning?
2025-12-19 12:38 AM
Not necessarily, but it complicates things, and it's not easy to troubleshoot because of the large amount of parameters.
If I remember correctly, some of the values in the DSI host pane is auto-calculated based on your LTDC settings, but not always re-calculated when changing the DSI settings.
I definitely think your active width should be the same between both panes. Disabling DSI and re-enabling it should trigger the calculation.
2025-12-22 8:30 PM - last edited on 2025-12-22 9:20 PM by MM..1
OK, i see . and I don't find this define