AnsweredAssumed Answered

Rotation of STM32F429I-Disco LCD

Question asked by januskae on Feb 11, 2016
Latest reply on Mar 7, 2016 by Barta.Hank
So I've been through the HAL, the CubeF4, and the StdPeriph library. 
There are many functions to do many things to the LCD but I cannot for the life of me find one to rotate the LCD or initialize it in with a landscape or portrait type orientation.

I have seen some parameters such as LTDC_VerticalStart but what exactly the parameter controls is unknown and not documented.

I have discovered that by manipulating the MADCTL bits in the ili9341.c the orientation can be changed. But then then I have width and sync issues.

I just don't get why ST went through all that trouble to create an interface for the LCD and touchscreen, then left out something so simple. Or is it there and I just don't see it?

BTW I don't want to use SPI to control the LCD, so please don't suggest using a third party SPI library. I want to use the LTDC lib.

I've read the ili9341 datasheet, its not very helpful either.