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

Revision as of 19:34, 13 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 kits with the updated LCD daughterboard, with a focus on incorporating the updated LCD driver into existing projects.

Prerequisites: 1. STM32H747I-DISCO with LCD daughterboard "MB1166-A09" Note: 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. 2. Computer with STM32CubeIDE installed (v1.13.1 or higher)


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 [1] 2. Copy the entire 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 */

  1. define USE_LCD_CTRL_NT35510 1U
  2. define USE_LCD_CTRL_OTM8009A 0U
  3. define USE_LCD_CTRL_ADV7533 0U

5. TODO: Drag/drop nt355510 to components directory in CubeIDE 6. Compile and flash

No categories assignedEdit