LCD 180 degree rotation in i.MX25

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

LCD 180 degree rotation in i.MX25

Jump to solution
1,406 Views
erickang
Contributor II

Dear All,

I want to perform the LCD 180 degree rotation in i.MX25.

For this, I confirmed the x-axis rotation with the LPCR and LSSAR register setting.

But, I couldn't find the y-axis rotation for LCD 180 degree rotation.

For the register setting, refer to the "i.MX25 Multimedia Applications Processor Reference Manual"(IMX25RM.pdf).

- 33.3.10 LCDC Panel Configuration Register (LPCR)

- 33.3.4 LCDC Screen Start Address Register (LSSAR)

And I found the relative information in the "Different Display Configurations on the i.MX25 WinCE PDK" (AN3977.pdf).

In this document, I could see that the LCDC didn't have the horizontal flip hardware acceleration, so 180 degree rotation can not be done by the LCDC.

So I want to perform the LCD 180 degree rotation or the Y-axis flip with the i.MX25 X-asix flip.

Could you tell me how to rotate the LCD 180 degree in i.MX25?

For Reference, I found the frame buffer rotation method by using OMAPpedia, but this method is not applied in the i.MX25.

For detailed information, refer to the below site.

[ Bootargs for enabling display ]

http://omappedia.org/wiki/Bootargs_for_enabling_display

  ~ $ echo "2" > /sys/class/graphics/fb0/rotate

Best Regards,

Eric.

Labels (2)
0 Kudos
1 Solution
740 Views
rogerio_silva
NXP Employee
NXP Employee

Hi Erik,

On i.MX25, It's only possible to flip along x-axis using HW. Other rotation/flip modes must be done by software (e.g. X11, QT, directfb and etc.

Rgds,

Rogerio

View solution in original post

0 Kudos
1 Reply
741 Views
rogerio_silva
NXP Employee
NXP Employee

Hi Erik,

On i.MX25, It's only possible to flip along x-axis using HW. Other rotation/flip modes must be done by software (e.g. X11, QT, directfb and etc.

Rgds,

Rogerio

0 Kudos