cancel
Showing results for 
Search instead for 
Did you mean: 

DSI display not init always OK

MM..1
Chief III

Hi folks,

i use CubeMX and touchGFX generated code with custom DSI 480x1280 display.

All code works ok , but sometimes display is shifted horizontaly.

70% starts code on and display is pixel 0 to 479 ok.

But 30% starts dispolay randomly shifted and show 60-479-0-59 and rgb is too shifted randomly to gbr or brg. 60 is too random between 30 - 150

I need idea howto solve this.

We use FMC SDRAM and seems as LTDC DSI sync data problem.

Pls help. I attach hwinit cpp file. MCU in main is started and go to sleep

HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);

then wake up by button and go. Code work all ok only GUI is sometimes shifted.

10 REPLIES 10

It is still temporary fix, not sure what is the exact cause of image getting out of sync.