2025-03-17 8:59 PM - last edited on 2025-03-18 2:42 AM by Andrew Neil
Hi,
we are trying to get a 800x800 display to work with the STM32U5G9VJT6Q, using either RGB888 or RGB565 in Video Mode (Burst).
According to what we read it is definitely possible. Did we miss something?
Could someone please confirm that is definitely possible?
Much appreciated
Thank you
2026-01-20 11:28 AM
@Uros ,thank you so much for your help.
I revise the code so that MX_DSIHOST_DSI_Init( ) and MX_LTDC_Init() are as MX generated.
In the main function, between MX_DSIHOST_DSI_Init( ) and MX_LTDC_Init(), code for DSI start, display panel init and set display out of reset status is inserted.
In the hardware, VCI_EN is always on. Only display panel reset signal is controlled by STM32 GPIO. I am not sure which part is not working, after modification, I am still not able to display image on display. Revised code is attached.
2026-01-24 3:49 AM
Hello again, sorry im late with reply, i was trying to find some example from my files. I cant share you full main file but i found dsi and ltd init that worked for me. Luckily i made a note back then that this is working one. I hope this helps you. This project was using LTDC and DSI( in video mode).
2026-01-26 9:18 AM
@Uros ,Thank you so much!
I followed the initial sequence in your code. My code does not work yet. It might be related to the timing parameters I used. May I know how you choose the following timing parameters,
PhyTimings.ClockLaneHS2LPTime = 43;
PhyTimings.ClockLaneLP2HSTime = 62;
PhyTimings.DataLaneHS2LPTime = 25;
PhyTimings.DataLaneLP2HSTime = 48;
PhyTimings.DataLaneMaxReadTime = 0;
PhyTimings.StopWaitTime = 0;I used the timing in display controller timing table. It is typical MIPI timing values. The ones in your code is much larger values.
I set DSI clock to be 62.5M byte clock, the maximum. And LTDC pixel clock to be 20.888MHz. Thus, there is enough time for DSI host to send command in LP mode. Do you think the LTDC pixel clock could be a cause of LP command not sent properly? I attached the revised main.c file.
Best Regards,