cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube rotate screen

kqian
Associate II
Posted on January 17, 2015 at 20:29

2 REPLIES 2
Amel NASRI
ST Employee
Posted on January 19, 2015 at 17:25

Please describe clearly what are you facing as issue.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

kqian
Associate II
Posted on January 23, 2015 at 22:29

Sorry I did not successfully post my question last time.

What I want is to fix the screen rotate problem. I am running the stm32 cube demo code (STemwin example) on the STM32F429 eval board which is connected to a 800x600 LCD. The screen runs well if in the landscape, but when I tried to rotate the screen 90 degree, the back ground is looks like out of sync (text is still ok). I do some search online and someones said it is caused by the no enough memory. I tried to use the external memory for GUI as

#define GUI_NUMBYTES (1024) * 510

but does not work, even I switched back to the origianl 480x272 LCD, the portrait display has the same problem. Please see the attached screen shoot.

Anyone has the idea how to fix it?

________________

Attachments :

IMG_0693.JPG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0uz&d=%2Fa%2F0X0000000bfZ%2FEQ8r5pYaDcCwpXr7vPAtjgZBbPr_CE7JlKC.vtrDlBQ&asPdf=false

IMG_0694.JPG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0et&d=%2Fa%2F0X0000000bfY%2FQ7uxAX5x4lhBBF4QHfxPaAZEQ8T9tw6cxjtuECtha0E&asPdf=false