This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.This article describes how to run FP-AI-VISION1 projects on STM32H747I-DISCO kits with MB1166-A09 LCD daughterboard. The focus is on showing how to incorporate the updated LCD driver into existing projects. Further, if you only get static on the LCD as shown below, this article may be helpful.
1. Prerequisites
1.1. Hardware
- A Micro-USB to USB cable
- B-CAMS-OMV
- STM32H747I-DISCO with MB1166-A09 LCD daughterboard as shown below
1.2. Software
2. Update drivers & build
- Download drivers from the (1) STM32CubeH7 GitHub repo by clicking on (2) "Code", and then (3)"Download ZIP", as shown in the image below.
- Copy
..\STM32CubeH7-master\Drivers\BSP\Components\nt35510
directory to..\FP-AI-VISION1_V3.1.0\Drivers\BSP\Components\
- Copy
..\STM32CubeH7-master\Drivers\BSP\STM32H747I-DISCO\stm32h747i_discovery_lcd.c
and..\STM32CubeH7-master\Drivers\BSP\STM32H747I-DISCO\stm32h747i_discovery_lcd.h
, and paste both into..\FP-AI-VISION1_V3.1.0\Drivers\BSP\STM32H747I-Discovery\
- Use a text editor to open
..\FP-AI-VISION1_V3.1.0\Projects\STM32H747I-DISCO\Applications\Common\CM7\Inc\stm32h747i_discovery_conf.h
. On line 34, add a #define for NT35510, and change the OTM8009A #define to 0, as follows:/* LCD controllers defines */ #define USE_LCD_CTRL_NT35510 1U #define USE_LCD_CTRL_OTM8009A 0U #define USE_LCD_CTRL_ADV7533 0U
- From the
FP-AI-VISION1_V3.1.0\Drivers\BSP\Components\nt35510
directory, select the four source files as show in the image below, and drag and drop the selected files to the components directory in CubeIDE.
- Then in the pop-up window, keep “Link to files” and click OK.
- Drivers should now be indexed into the project
- Then in the pop-up window, keep “Link to files” and click OK.
- Right click the project, then (1) Clean and (2) Build the project. The project should build without errors. Now you can click the (3) Debug icon to flash and debug the project.