|
H753_CPP_SPI_BT817_EVE_01 1.0
STM32H753 drives a Bridgetek BT817 (ME817EV + DP-0701-01A) over SPI: a chip-ID start-up check, then Bridgetek's simple demo through the STM32_Bridgetek_EVE_API library
|
This documentation covers a STM32 NUCLEO-H753ZI tutorial project that drives a Bridgetek BT817 EVE graphics controller (ME817EV board with the DP-0701-01A 7-inch 800 x 480 touch panel) over plain SPI. At start-up it checks that the BT817 answers and reads its chip ID, then it runs Bridgetek's "simple" demo unchanged through the STM32_Bridgetek_EVE_API library: touch calibration, the Bridgetek logo and a counter that counts up while it is touched.
The firmware demonstrates:
Bridgetek's library (STM32_Bridgetek_EVE_API) and demo (EVE_Example) are third-party code used as supplied and are not part of this documentation.
The ME817EV host connector CN8 goes to the NUCLEO-H753ZI: SCK to PA5, MISO to PA6, MOSI to PB5 (SPI1), CS# to PB6, PD# to PD15, INT# to PF3, and both CN8 GND pins to GND. The ME817EV is powered from its own USB-C supply; never connect its 5V_HOST pin to the Nucleo. The terminal is USART1 at 19200 baud.
The two boards have separate supplies, so connect their grounds with a short, heavy connection as well, not only through the GND pins of the signal wiring. Without it the BT817 can see false chip-select edges: a chip ID of 0B FF FF FF, "co-processor exception" messages, or random vertical lines on the panel.
The BT817 register addresses, host commands and time limits are macros at the top of main.c, each documented with its value in the file reference.