How to perform people counting using FP-AI-VISION1 and STM32H747XI

Revision as of 23:44, 16 October 2023 by Registered User

Some recent STM32H747I-DISCO kits are shipping with MB1166-A09 LCD daughterboards. This daughterboard uses an updated LCD controller, NT35510. This article describes how to run FP-AI-VISION1 projects with the updated LCD daughterboard, by showing how to incorporate the updated LCD driver into existing projects.

1. Prerequisites:

  • STM32H747I-DISCO with LCD daughterboard "MB1166-A09"
Info white.png Information
This guide is not suitable for MB1166-A08 and MB1166-A10 LCD revisions. Follow the instructions given in FP-AI-VISION1 / TODO for these revisions.
  • Computer with STM32CubeIDE installed (v1.13.1 or higher)


2. Steps:

  1. Download and unzip NT35510 drivers from this zip file. Alternatively, up-to-date drivers can be downloaded directly from the STM32CubeH7 GitHub repo.
  2. Copy nt35510 directory to ..\FP-AI-VISION1_V3.1.0\Drivers\BSP\Components\
  3. Copy stm32h747i_discovery_lcd.c and stm32h747i_discovery_lcd.h, and paste them into ..\FP-AI-VISION1_V3.1.0\Drivers\BSP\STM32H747I-Discovery\
  4. 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, make the following changes:
/* LCD controllers defines */ 
#define USE_LCD_CTRL_NT35510                1U 
#define USE_LCD_CTRL_OTM8009A               0U 
#define USE_LCD_CTRL_ADV7533                0U
  1. TODO: Drag/drop nt355510 to components directory in CubeIDE
  1. Compile and flash