boards/fanke/fk723m1_zgt6/doc/index.rst
.. zephyr:board:: fk723m1_zgt6
Overview
The FK723M1-ZGT6 board is a development board for the STM32H723ZGT6 SoC.
Key Features:
Board connectors:
More information about the board can be found at the FK723M1-ZGT6 Schematic_.
Hardware
FK723M1-ZGT6 provides the following hardware components:
.. zephyr:board-supported-hw::
The FK723M1-ZGT6 board features one USB port, two 30x2 pin headers, one 4x2 debug header, one micro SD slot, one FPC10P LCD interface, one FPC20P Camera interface and one built-in external Quad SPI flash. The board is configured as follows:
FK723M1-ZGT6 System Clock could be driven by an internal or external oscillator, as well as the main PLL clock. By default, the System clock is driven by the PLL clock at 550MHz, driven by an 15MHz high-speed external clock.
FK723M1-ZGT6 board has 4 UARTs and 4 USARTs. The Zephyr console output is assigned to UART1. Default settings are 115200 8N1.
Programming and Debugging
FK723M1-ZGT6 provides a special SWD header.
The board is configured to be flashed using west STM32CubeProgrammer_ runner,
so its :ref:installation <stm32cubeprog-flash-host-tools> is required.
Alternatively, OpenOCD or JLink can also be used to flash the board using
the --runner (or -r) option:
.. code-block:: console
$ west flash --runner openocd $ west flash --runner jlink
First, connect a SWD capable debugger to the debug header on FK723M1-ZGT6. Then connect the debugger to the host computer to prepare the board for flashing. Finally, build and flash your application.
Here is an example for the :zephyr:code-sample:blinky application.
Optional: Connect a USB-to-serial adapter to RX and TX (cross connect!).
.. code-block:: console
$ minicom -b 115200 -D /dev/ttyACM0
or use screen:
.. code-block:: console
$ screen /dev/ttyACM0 115200
Build and flash the application:
.. zephyr-app-commands:: :zephyr-app: samples/basic/blinky :board: fk723m1_zgt6 :goals: build flash
You should see the following messages on the console repeatedly:
.. code-block:: console
$ LED state: ON $ LED state: OFF
Hello World example can also be used:
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: fk723m1_zgt6 :goals: build flash
You can debug an application in the usual way. Here is an example for the
:zephyr:code-sample:hello_world application.
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: fk723m1_zgt6 :maybe-skip-config: :goals: debug
.. _FK723M1-ZGT6 Schematic: https://community.st.com/ysqtg83639/attachments/ysqtg83639/mcu-boards-hardware-tools-forum/20009/1/FK723M1-ZGT6.zh-CN.en.pdf
.. _STM32H723ZG on www.st.com: https://www.st.com/en/microcontrollers-microprocessors/stm32h723zg.html
.. _STM32H723 reference manual: https://www.st.com/resource/en/reference_manual/dm00603761-stm32h723733-stm32h725735-and-stm32h730-value-line-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
.. _STM32CubeIDE: https://www.st.com/en/development-tools/stm32cubeide.html
.. _STM32CubeProgrammer: https://www.st.com/en/development-tools/stm32cubeprog.html