I am using the DISCO-F429ZI_LCDTS_demo with my STM32F429I platform and it works fine except I want to rotate the display to a "landscape" orientation. There is no init function to do this in the project, at least not one I could find.
I tried manipulating ili9341.c but it didn't do anything I could see.
DISCO-F429ZI_LCDTS_demo
//..
ili9341_WriteReg(LCD_MAC);
ili9341_WriteData(0x20); // was (0xC8)
//..
/* Colomn address set */
ili9341_WriteReg(LCD_COLUMN_ADDR);
ili9341_WriteData(0x00);
ili9341_WriteData(0x00);
ili9341_WriteData(0x01); // was (0x00)
ili9341_WriteData(0x3F); // was (0xEF)
/* Page address set */
ili9341_WriteReg(LCD_PAGE_ADDR);
ili9341_WriteData(0x00);
ili9341_WriteData(0x00);
ili9341_WriteData(0x00); // was (0x01)
ili9341_WriteData(0xEF); // was (0x06)
Does anyone know what steps are needed to rotate the screen 90 deg? (besides turning the board 90 deg)
I am using the DISCO-F429ZI_LCDTS_demo with my STM32F429I platform and it works fine except I want to rotate the display to a "landscape" orientation. There is no init function to do this in the project, at least not one I could find.
I tried manipulating ili9341.c but it didn't do anything I could see.
<<code title=DISCO-F429ZI_LCDTS_demo>>
//..
ili9341_WriteReg(LCD_MAC);
ili9341_WriteData(0x20); // was (0xC8)
//..
/* Colomn address set */
ili9341_WriteReg(LCD_COLUMN_ADDR);
ili9341_WriteData(0x00);
ili9341_WriteData(0x00);
ili9341_WriteData(0x01); // was (0x00)
ili9341_WriteData(0x3F); // was (0xEF)
/* Page address set */
ili9341_WriteReg(LCD_PAGE_ADDR);
ili9341_WriteData(0x00);
ili9341_WriteData(0x00);
ili9341_WriteData(0x00); // was (0x01)
ili9341_WriteData(0xEF); // was (0x06)
<</code>>
Does anyone know what steps are needed to rotate the screen 90 deg? (besides turning the board 90 deg)
When using the ST-LINK_CLI the device wasn't loading the binary, now that I figured that out...
I rotated the display 90 degree and the characters are displaying correctly but I have a section of the screen or the right side that is blank.
Any info on how to set the screen size?
FWIW this demo sucks and is overly complicated without enough documentation
When using the ST-LINK_CLI the device wasn't loading the binary, now that I figured that out...
I rotated the display 90 degree and the characters are displaying correctly but I have a section of the screen or the right side that is blank.
Any info on how to set the screen size?
FWIW this demo sucks and is overly complicated without enough documentation
I gave up on this demo. The poorly documented API was a waste of time. No indication of how to manipulate the rotation of the LCD on the STM32F429I-DISCO.
I was mucking around in the ILI3941 driver in the common code section but I found myself questioning why I had to go through so much trouble when the HAL was supposed to make everything so seamless and easy.
I gave up on this demo. The poorly documented API was a waste of time. No indication of how to manipulate the rotation of the LCD on the STM32F429I-DISCO.
I was mucking around in the ILI3941 driver in the common code section but I found myself questioning why I had to go through so much trouble when the HAL was supposed to make everything so seamless and easy.
i agree with these comments. unable to rotate or flip to get a sensible viewing angle/orientation, really limits its usefulness. not a great example or library to start off with. not being able to pick up a disco board with mbed and smash something together with a reasonable level of control over the hw kind of defeats the point of it. Going to have to backtrack out of mbed altogether unless i can find a way to drive the lcd adequately.
i agree with these comments. unable to rotate or flip to get a sensible viewing angle/orientation, really limits its usefulness. not a great example or library to start off with. not being able to pick up a disco board with mbed and smash something together with a reasonable level of control over the hw kind of defeats the point of it. Going to have to backtrack out of mbed altogether unless i can find a way to drive the lcd adequately.
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
I am using the DISCO-F429ZI_LCDTS_demo with my STM32F429I platform and it works fine except I want to rotate the display to a "landscape" orientation. There is no init function to do this in the project, at least not one I could find.
I tried manipulating ili9341.c but it didn't do anything I could see.
DISCO-F429ZI_LCDTS_demo
Does anyone know what steps are needed to rotate the screen 90 deg? (besides turning the board 90 deg)