This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LCD rotation

Other Parts Discussed in Thread: OMAP3530

hello All:

(A)

I want to use SMS_ROTATION register to rotate the IMAGE by hardware.But do not understand how to config the registers here in OMAP3530.

The procedure which I applied is as below:

1,SMS_ROT_PHYSICAL_BAn (n=0,n<4,n++)

log info :

phy_addr virt_addr

0x7100 0000 -> 0xD100 0000

0x7200 0000 -> 0xD180 0000

0x7300 0000 -> 0xD200 0000

0x7400 0000 -> 0xD280 0000

   Set the SMS_ROT_PHYSICAL_BA1[90] as 0x7100 0000

 2,SMS_ROT_CONTROLn (n=0,n<4,n++)

  log info :

  5 = PAGE_WIDTH_EXP

5 = PAGE_HEIGHT_EXP

 pixel_size_exp = bytes_per_pixel >> 1

#define SMS_PH_OFFSET          8

#define SMS_PW_OFFSET          4

 3,SMS_ROT_SIZEn (n=0,n<4,n++)

  log info :

  width 0x1E0

  heigth 0x1200 000

4,GFX_BA0

set the GFX_BA0 as 0x7100 0000 (SMS_ROTATE[90])

5,DISPC_GFX_ATTRIBUTES

13:12 GFXROTATION Graphics rotation flag (used only in case of RGB24 packed format)

After all these register are set,nothing heppend to the Penguin...

(B)

And another 2 questions :

1,what is the difference between YUV and 24 packed formate.

2,what is the difference between Digital Pixel Data[23:0] and LCD Pixel Data[23:0].

Thank you

Edawrd