LPC54S018 rotate display to portrait failed with lvgl

Hi Gabor,

Hi hope that yo are doing well!

I am testing with my i.MX RT1064 and i.MX RT1060 and I ended up with a black screen like @Paul_B mentioned. Interestingly my customer , who is using an RT1064 got a irregular line red, white and gray.

I have used the _lvgl_guider and the lvgl_demo_widgets_bm examples from the latest NXP MCUXpresso SDK. The version of the LVGL is 8.0.2.

Please find my init function attached.
init_driver_func.c (1.2 KB)

disp_drv.full_refresh = 1; is set to one.

According to my debug, in my case there is a problem when doing display rotation. See the image.

So it seems that we could modify some code.

Let me know your thoughts.

Best regards,
Diego