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

Revision as of 02:24, 14 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.

1. 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.

  1. . 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 the entire nt35510 directory to ..\FP-AI-VISION1_V3.1.0\Drivers\BSP\Components\
  1. . Copy
    stm32h747i_discovery_lcd.c <\pre> and <pre>stm32h747i_discovery_lcd.h<\pre> , and paste them into <pre>..\FP-AI-VISION1_V3.1.0\Drivers\BSP\STM32H747I-Discovery\<\pre>
  2. . Use a text editor to open <pre>..\FP-AI-VISION1_V3.1.0\Projects\STM32H747I-DISCO\Applications\Common\CM7\Inc\stm32h747i_discovery_conf.h<\pre>. On line 34, make the following changes:

<pre> /* LCD controllers defines */ <br />

  1. define USE_LCD_CTRL_NT35510 1U <br />
  2. define USE_LCD_CTRL_OTM8009A 0U <br />
  3. define USE_LCD_CTRL_ADV7533 0U <br />
  1. . TODO: Drag/drop nt355510 to components directory in CubeIDE
  2. . Compile and flash
No categories assignedEdit