2019-07-04 05:44 AM
Can someone helps me how to use the LCD on the STM32F413H-Disco, I want to display a message on it.
Have you got some suggestions please?
thanks
Solved! Go to Solution.
2019-07-05 01:03 AM
As you can see in "C:\Users\YOURNAME\STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32CubeProjectsList.html" file, you can use example "LCD_PicturesFromSDCard".
You can find it under this path "C:\Users\YOURNAME\STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32F413H-Discovery\Applications\Display\LCD_PicturesFromSDCard".
Use SW4STM32 project if your IDE is STM32CubeIDE, both are compatible.
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.
2019-07-04 06:17 AM
Try looking at and building some of the board specific examples provided in the CubeF4 archive.
2019-07-04 07:41 AM
Indeed, an example using the LCD is provided in the L4 Cube Firmware package :
STM32Cube_FW_F4_V1.24.1\Projects\STM32F413H-Discovery\Applications\STemWin
Best regards,
2019-07-04 10:48 AM
Where can I find this? I tried, I searched but I didn’t find it
2019-07-04 10:51 AM
Where?
2019-07-04 11:53 PM
Have you installed/updated the "STM32Cube_FW_F4_V1.24.1" package thrue STM32CubeMX or STM32CubeIDE?
If it's downloaded, the default path is "C:\Users\YOURNAME\STM32Cube\Repository"
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.
2019-07-04 11:58 PM
Yes Michael in both CubeMX and CubeIDE under 1.24.1, but I can’t understand where to find some examples to display on my LCD for example! Can you help me please, I’m in trouble :(
2019-07-05 01:03 AM
As you can see in "C:\Users\YOURNAME\STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32CubeProjectsList.html" file, you can use example "LCD_PicturesFromSDCard".
You can find it under this path "C:\Users\YOURNAME\STM32Cube\Repository\STM32Cube_FW_F4_V1.24.1\Projects\STM32F413H-Discovery\Applications\Display\LCD_PicturesFromSDCard".
Use SW4STM32 project if your IDE is STM32CubeIDE, both are compatible.
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.
2019-07-05 02:13 AM
you see Michael, I have some errors in #include, I didn't find the #include "stm32f413h_discovery.h"
2019-07-05 02:39 AM
Check if the file is present on the disk, if so you may have an issue linked with a "too long path" for "path", this is typical in Eclipse...
Then you need to copy the project to a folder near your hard drive root, e.g. C:\Temp.
But be carefull, you will need to copy the example folder as well as as other folders that are common to all F4 boards (drivers, middleware).
To do it quickly, just copy the entire Cube Firmware to C:\Temp, so you can verify that the build is fine.
In principle the dependencies are reference with relative paths (include, lib).
Then you will remove useless folders.
In principle you should keep the following folder structure (and even then you should be able to remove some) :
C:\Temp\Drivers\BSP\Components
C:\Temp\Drivers\BSP\STM32F413H-Discovery
C:\Temp\Drivers\CMSIS
C:\Temp\Drivers\STM32F4xx_HAL_Driver
C:\Temp\Middleware
C:\Temp\Projects\STM32F413H-Discovery\Applications\Display\LCD_PicturesFromSDCard
Best regards,