cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F469i-DISCO: Need help with LCD drivers

carri453
Visitor

So as the title suggests, I have been trying to get the LCD screen to work on the STM32F469i-DISCO board. Currently I just want it to turn on at all.

 

I found the BSP drivers in this link as well as the OTM8009A drivers in this other link 

 

When I run the code however, it gives me the following error:

../Drivers/BSP/STM32469I-Discovery/stm32469i_discovery_lcd.c:402:5: error: too few arguments to function 'OTM8009A_Init'

402 | OTM8009A_Init(OTM8009A_FORMAT_RGB565, orientation);

 

I noticed that the function prototype for that function is int32_t OTM8009A_Init(OTM8009A_Object_t *pObj, uint32_t ColorCoding, uint32_t Orientation);
so I am not sure why the lcd drivers call the function in that way.

 

Are there better/newer drivers that I should be using instead?

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

It would be better to start from a working example that has consistent set of code and library versions. You can select from a a few of them using the Example Selector in STM32CubeMX.

TDK_0-1770094949388.png

 

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

3 REPLIES 3
TDK
Super User

It would be better to start from a working example that has consistent set of code and library versions. You can select from a a few of them using the Example Selector in STM32CubeMX.

TDK_0-1770094949388.png

 

If you feel a post has answered your question, please click "Accept as Solution".

Do you know if any of these work on the version with the blue pcb? I read somewhere that there was no software examples for it but also that post was 2+ years old

I just verified that they do, thank you!