2021-09-02 05:16 AM
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.
2021-09-02 06:56 AM
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
2021-09-02 09:06 PM
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:
2021-09-06 05:21 AM
Hi @Community member ,
Could you answer the above questions?
2021-09-06 06:28 AM
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