IMX RT1052 LVGL DISPLAY ROTATE QUESTION

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX RT1052 LVGL DISPLAY ROTATE QUESTION

1,649 Views
ruihuan
Contributor I

Platform : imxRT1052 

lcd : 320(hor_res) * 240(ver_res)

the application need change to 240(hor_res) * 320(ver_res) display

 

PROGRESS:

      1.use SDK_2_10_0_MIMXRT1052xxxxB create my own project with lvgl and  freertos 

       2.change LCDIF parameter to my lcd module。

       3.I need rotate 90 degree in my application . i notice LVGL v7.10.1 do not support software rotation support.So i upgrade lvgl version to V7.11.0. From this version LVGL support software rotation support.

      4.when I rotate 90 or 270 degree,LCD do not work well.but when I rotate 0 or180 degree,LCD work fine.

     does anyone know why??

     PIC as below:

      A. do not rotate

ruihuan_0-1641474764237.jpeg

 

 

      B. rotate 270 degree

ruihuan_2-1641474785406.jpeg

 

      C.rotate 180 degree

ruihuan_1-1641474775546.jpeg

 

 

0 Kudos
Reply
1 Reply

1,629 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

Hope you are well.
Does this issue persist when you set the screen resolution to 240x240? I believe that this issue is caused because the resolution also changes or some parameters from the screen are modified.
For the rotation I suggest you use the PXP module, you can find an example in the SDK so you can integrate it into your application.

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos
Reply