cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H753i-EVAL2 LCD functionality

hrm2519
Associate II

I am using the STM32H753i-EVAL2 board to test LCD and touch screen functionality. Currently I am unable to generate the code using CubeMX as sample codes dont have the .IOC file. I need help in setting up the LCD and touch screen via CubeMX.

It is difficult to exactly know which files and functionalities have been included in the sample projects under STM32H7 MCU package. I tried searching on Google but could not find anything that is of much use. I would appreciate if anyone can help/guide me with this.

4 REPLIES 4

The samples were hand written and not auto generated by CubeMx, thus no IOC file

The various drivers and components can be found in the BSP directories, and examples using them in the Applications directories.

STM32Cube_FW_H7_V1.8.0\Drivers\BSP\STM32H743I-EVAL\stm32h743i_eval_lcd.c

STM32Cube_FW_H7_V1.8.0\Drivers\BSP\Components\ampire640480\ampire640480.h

STM32Cube_FW_H7_V1.8.0\Drivers\BSP\Components\ts3510\ts3510.c

STM32Cube_FW_H7_V1.8.0\Projects\STM32H743I-EVAL\Applications\Display\LTDC_Paint

/Drivers/BSP/Components/exc7200/exc7200.c
/Drivers/BSP/Components/exc7200/exc7200_reg.c
/Drivers/BSP/Components/is42s32800g/is42s32800g.c
/Drivers/BSP/Components/mfxstm32l152/mfxstm32l152.c
/Drivers/BSP/Components/mfxstm32l152/mfxstm32l152_reg.c
/Drivers/BSP/Components/stmpe811/stmpe811.c
/Drivers/BSP/Components/stmpe811/stmpe811_reg.c
/Drivers/BSP/Components/ts3510/ts3510.c
/Drivers/BSP/Components/ts3510/ts3510_reg.c
/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval.c
/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_bus.c
/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_io.c
/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_lcd.c
/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_sdram.c
/Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_ts.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
hrm2519
Associate II

I see that you have mentioned the paths. If I am correct, I need to include all these files in my IDE, right?

Some more questions:

  1. Is there a template project that I can start using and then later add the files that I require?
  2. I am using STemWin as the graphic library for TFT-LCD. Is there a way to initialize this from CubeMX as this is where I have struggled a lot! if not, what would be the best way to get started with this?
hrm2519
Associate II

Hi @Community member​ ,

Could you answer the above questions?

I use the tools more directly. Perhaps you can go over the CubeH7 example trees for the board with a file manager or search tool to find the various projects, examples, donors, or templates.

I often use the display/card examples as a starter/donor project I can clone and add too

STM32Cube_FW_H7_V1.8.0\Projects\STM32H743I-EVAL\Applications\Display\LTDC_PicturesFromSDCard

STM32Cube_FW_H7_V1.8.0\Projects\STM32H743I-EVAL\Applications\STemWin\STemWin_HelloWorld\Core\Src\main.c

STM32Cube_FW_H7_V1.8.0\Projects\STM32H743I-EVAL\Applications\STemWin\STemWin_SampleDemo\Core\Src\main.c

STM32Cube_FW_H7_V1.8.0\Projects\STM32H743I-EVAL\Examples\BSP\Src\touchscreen.c

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..