.. zephyr:board:: fk743m5_xih6 Overview ******** The FK743M5-XIH6 core board by FANKE Technology Co., Ltd. is an advanced microcontroller platform based on the STMicroelectronics Arm® Cortex®-M7 core STM32H743XIH6 microcontroller. This board is an ideal solution for developers looking to create high-performance applications, leveraging its robust capabilities and support for sophisticated display and image processing technologies. The FK743M5-XIH6 is designed as a reference design for user application development before transitioning to the final product, significantly simplifying the development process. Its wide range of hardware features, including advanced display and image processing capabilities, allowing for comprehensive evaluation and testing of peripherals and functionalities. Hardware ******** FK743M5-XIH6 provides the following hardware components: - STM32H743XI in 265-TFBGA package - ARM 32-bit Cortex-M7 CPU with FPU - 480 MHz max CPU frequency - 2048 KB Flash - 1 MB SRAM: 192 Kbytes TCM RAM (64 Kbytes ITCM RAM + 128 Kbytes DTCM RAM), 864 Kbytes user SRAM, and 4 Kbytes SRAM in Backup domain - Main clock: External 25MHz crystal oscillator. - RTC: 32.768kHz crystal oscillator. - high-resolution timers(2.1 ns max resolution, 1) - 32-bit timers(2) - 16-bit timers(17) - 1 reset button, and 1 BOOT button - 1 user LED - External 64-Mbit QSPI (W25Q64) NOR Flash memory. - USB OTG Full Speed and High Speed(1) - 1 micro SD card - 1 DCMI camera interface - 1 SPI LCD interface - SWD and serial port accessibility through a pin header - Bring out 83 IO ports More information about STM32H743XI can be found here: - `STM32H743XI on www.st.com`_ Supported Features ================== .. zephyr:board-supported-hw:: Pin Mapping =========== FK743M5-XIH6 board has 5 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc. Default Zephyr Peripheral Mapping --------------------------------- The FK743M5-XIH6 board is configured as follows - UART_1 TX/RX : PA9/PA10 (available on the header pins) - User LED (blue) : PC13 - SPI5 NCS/CLK/MOSI : PE11/PE12/PE14 (SPI LCD) - QuadSPI NCS/CLK/IO0/IO1/IO2/IO3 : PG6/PF10/PF8/PF9/PF7/PF6 (NOR Flash) - USB DM/DP : PA11/PA12 System Clock ============ The FK743M5-XIH6 System Clock could be driven by an internal or external oscillator, as well as by the main PLL clock. By default the system clock is driven by the PLL clock at 480MHz, driven by an 25MHz external crystal oscillator. Serial Port =========== The Zephyr console output is assigned to UART1. The default communication settings are 115200 8N1. Programming and Debugging ************************* .. zephyr:board-supported-runners:: Applications for the ``fk743m5_xih6`` board target can be built and flashed in the usual way (see :ref:`build_an_application` and :ref:`application_run` for more details). Flashing ======== The FK743M5-XIH6 board does not include an on-board debugger. As a result, it requires an external debugger, such as ST-Link, for programming and debugging purposes. The board provides header pins for the Serial Wire Debug (SWD) interface. Flashing an application to FK743M5-XIH6 --------------------------------------- To begin, connect the ST-Link Debug Programmer to the FK743M5-XIH6 board using the SWD interface. Next, connect the ST-Link to your host computer via a USB port. Once this setup is complete, you can proceed to build and flash your application to the board Here is an example for the :zephyr:code-sample:`hello_world` application. .. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: fk743m5_xih6 :goals: build flash Run a serial host program to connect with your board: .. code-block:: console $ minicom -D /dev/ttyACM0 -b 115200 Then, press the RESET button, you should see the following message: .. code-block:: console Hello World! fk743m5_xih6 Debugging ========= You can debug an application using the SWD interface with a J-Link or ST-Link. For more details, please refer to the `Flashing`_ section and run the ``west debug`` command instead of ``west flash``. Here is an example for the :zephyr:code-sample:`hello_world` application. .. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: fk743m5_xih6 :goals: debug :flash-args: -r pyocd :compact: References ********** .. target-notes:: .. _STM32H743XI on www.st.com: https://www.st.com/en/microcontrollers/stm32h743xi.html