cancel
Showing results for 
Search instead for 
Did you mean: 

How to Set CUBEMX to Support LCD Display for STM32F469i-DISCO

Dimitrios Bako
Associate II
Posted on July 27, 2017 at 15:43

Hello,

I am trying to set up CUBEMX so that it can support LCD display for the STM32F469i-Discovery board.

Unfortunately I had no luck in making the correct configurations to enable the LCD display or find an example project for the STM32 ac6 or maybe a .ioc file with LCD setings.

Is there anyone familiar with LCD on 

STM32F469i?

What are the correct configurations?

Thank you!

#lcd #ltdc #stm32f469-discovery #cubemx #ac6 #ioc
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on July 31, 2017 at 10:41

Hello Dimitros Bako,

for your convenicence, an example Project for SW4STM32 + CubeMX4.22 with all BSP included (except Audio is not working).

Best regards,

Markus.

________________

Attachments :

STM32F469i-Disco_BSP_20170731.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyXe&d=%2Fa%2F0X0000000b9G%2FetGt4EGYe_Bfizoqp0YpAOKLBoy2qWhhArcoWONlp1U&asPdf=false

View solution in original post

14 REPLIES 14
Szymon PANECKI
Senior III
Posted on July 27, 2017 at 15:58

Hello Dimitros,

I am not an expert in graphics, so I am not in the position to guide you how to work with the display step by step. But at least let me provide you a hint.

In the CubeF4 package there is a complete code of demo application for STM32F469 Disco kit, which controls the LCD. You can find it under this path:

...\STM32Cube_FW_F4_V1.16.0\Projects\STM32469I-Discovery\Demonstrations

Among few supported toolchains you can find also a project for AC6 SW4STM32:

0690X00000607eIQAQ.png

If you open the project, you can navigate through it and find some libraries responsible for LCD, for example LCDConf.c:

0690X00000607iEQAQ.png

I hope this information will be helpful to you.

Regards

Szymon

Amel NASRI
ST Employee
Posted on July 27, 2017 at 16:22

Hi

Bakoyiannis.Dim

‌,

Besides to guidelines provided by

Panecki.Szymon.002

‌, look to

https://community.st.com/0D50X00009bMM6QSAW

.

-Amel

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.

Posted on July 28, 2017 at 13:18

Hi,

I also struggled with this one, and gave up: what peripherals need to be activated and with which settings.

It would be extremely helpful if the ST simply would have provided the .ioc file for the example application, or any .ioc file for an example which uses the LCD on the DISCO evaluation boards.

Posted on July 28, 2017 at 18:31

Hi

Ross.Mike

‌,

This request is already tracked internally and for sure we will come back with this expected solution. Just stay tuned.

-Amel

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.

Posted on July 31, 2017 at 10:41

Hello Dimitros Bako,

for your convenicence, an example Project for SW4STM32 + CubeMX4.22 with all BSP included (except Audio is not working).

Best regards,

Markus.

________________

Attachments :

STM32F469i-Disco_BSP_20170731.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyXe&d=%2Fa%2F0X0000000b9G%2FetGt4EGYe_Bfizoqp0YpAOKLBoy2qWhhArcoWONlp1U&asPdf=false
Posted on July 31, 2017 at 12:19

Hello Szymon,

I have already downloaded the CubeF4 package but it seemed quite difficult to extract the necessary configurations for the LCD to work.

Nevertheless, I gave it a try with no luck!

Posted on July 31, 2017 at 12:21

Hello Amel N,

I merged and used the BSP drivers but it seems that I am doing something wrong with the CUBEMX settings.

Posted on July 31, 2017 at 12:24

Hello Horbach Markus,

The project you sent me was the solution I was looking for (plus it contains the .ioc file for CUBEMX).

I tested it and it works!

Thank you for getting in such trouble!

Posted on July 31, 2017 at 13:27

No problems for me, I just followed the T.O.M.A.S instructions of STM32F4-Labs.pdf chapter 25 ff. I do not own the stm32f469i-Disco, but I know how to create a BSP Project. It is simple when you  follow the instructions of STM32F4-Labs.pdf and get  familiar with CubeMX and the HAL packages provided by ST.  It takes only some minutes to create a new BSP project. I offer more ready to use BSP projects here:

http://www.dasrotemopped.de/index.php?var=cpp&nr=0

 

It is also convenient to me to have these projects always available.

Best regards,

Markus.