Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Configurable_Robots DISCO-F469NI_LCD_demo DISCO-F469NI_SD_demo DISCO-F469NI_EEPROM_demo ... more
Issues
Issue1: Wrong configuration for Portrait orientation¶
Description¶
The LCD display is wrong (white screen) if the Portrait mode is selected.
Resolution¶
In the function BSP_LCD_InitEx (file stm32f469i_discovery_lcd.c), replace the following lines of code:
if(orientation == LCD_ORIENTATION_PORTRAIT)
{
VSA = OTM8009A_480X800_VSYNC; /* 12 */
VBP = OTM8009A_480X800_VBP; /* 12 */
VFP = OTM8009A_480X800_VFP; /* 12 */
HSA = OTM8009A_480X800_HSYNC; /* 120 */
HBP = OTM8009A_480X800_HBP; /* 120 */
HFP = OTM8009A_480X800_HFP; /* 120 */
lcd_x_size = OTM8009A_480X800_WIDTH; /* 480 */
lcd_y_size = OTM8009A_480X800_HEIGHT; /* 800 */
}
by
if(orientation == LCD_ORIENTATION_PORTRAIT)
{
VSA = OTM8009A_480X800_HSYNC;
VBP = OTM8009A_480X800_HBP;
VFP = OTM8009A_480X800_HFP;
HSA = OTM8009A_480X800_VSYNC;
HBP = OTM8009A_480X800_VBP;
HFP = OTM8009A_480X800_VFP;
lcd_x_size = OTM8009A_480X800_WIDTH; /* 480 */
lcd_y_size = OTM8009A_480X800_HEIGHT; /* 800 */
}
The fix should be also available with coming STM32CubeF4 Package.
Fix done https://developer.mbed.org/teams/ST/code/BSP_DISCO_F469NI/rev/9e4eb47092ed