1.. _fk7b0m1_vbt6: 2 3FANKE FK7B0M1-VBT6 4################## 5 6Overview 7******** 8 9The FK7B0M1-VBT6 core board by FANKE Technology Co., Ltd. is an advanced microcontroller 10platform based on the STMicroelectronics Arm® Cortex®-M7 core STM32H7B0VBT6 microcontroller. 11This board is an ideal solution for developers looking to create high-performance 12applications, especially in the field of Human-Machine Interface (HMI), leveraging its 13robust capabilities and support for sophisticated display and touch technologies. 14 15The FK7B0M1-VBT6 is designed as a reference design for user application development before 16transitioning to the final product, significantly simplifying the development process. 17Its wide range of hardware features, including advanced display and touch capabilities, 18make it exceptionally suitable for HMI applications, allowing for comprehensive evaluation 19and testing of peripherals and functionalities. 20 21.. figure:: img/fk7b0m1_vbt6.webp 22 :width: 600px 23 :align: center 24 :alt: FK7B0M1-VBT6 25 26 FK7B0M1-VBT6 (Credit: FANKE Technology Co., Ltd) 27 28Hardware 29******** 30 31FK7B0M1-VBT6 provides the following hardware components: 32 33- STM32H7B6VB in LQFP100 package 34- ARM 32-bit Cortex-M7 CPU with FPU 35- 280 MHz max CPU frequency 36- VDD from 1.62 V to 3.6 V 37- 128 KB Flash 38- ~1.4 MB SRAM max (1.18 Mbytes user SRAM + 64 Kbytes ITCM RAM + 128 Kbytes DTCM RAM + 4 Kbytes SRAM in Backup domain) 39- Main clock: External 25MHz crystal oscillator. 40- RTC: 32.768kHz crystal oscillator. 41- 32-bit timers(2) 42- 16-bit timers(12) 43- 1 reset button, 1 user button, and 1 BOOT button 44- 1 user LED 45- External 64-Mbit QSPI (W25Q64) NOR Flash memory. 46- External 64-Mbit SPI (W25Q64) NOR Flash memory. 47- USB OTG Full Speed and High Speed(1) 48- 1 micro SD card 49- 1 RGB LCD interface 50- SWD and serial port accessibility through a pin header 51- Bring out 39 IO ports 52 53More information about STM32H7B0VB can be found here: 54 55- `STM32H7B0VB on www.st.com`_ 56 57Supported Features 58================== 59 60The Zephyr fk7b0m1_vbt6 board configuration supports the following hardware 61features: 62 63+-------------+------------+-------------------------------------+ 64| Interface | Controller | Driver/Component | 65+=============+============+=====================================+ 66| NVIC | on-chip | nested vector interrupt controller | 67+-------------+------------+-------------------------------------+ 68| FLASH | on-chip | flash memory | 69+-------------+------------+-------------------------------------+ 70| UART | on-chip | serial port | 71+-------------+------------+-------------------------------------+ 72| PINMUX | on-chip | pinmux | 73+-------------+------------+-------------------------------------+ 74| GPIO | on-chip | gpio | 75+-------------+------------+-------------------------------------+ 76| RNG | on-chip | True Random number generator | 77+-------------+------------+-------------------------------------+ 78| Backup SRAM | on-chip | Backup SRAM | 79+-------------+------------+-------------------------------------+ 80| SPI | on-chip | spi bus | 81+-------------+------------+-------------------------------------+ 82| OCTOSPI | on-chip | octospi | 83+-------------+------------+-------------------------------------+ 84 85Other hardware features are not yet supported on this Zephyr port. 86 87The default configuration per core can be found in 88:zephyr_file:`boards/fanke/fk7b0m1_vbt6/fk7b0m1_vbt6_defconfig` 89 90Pin Mapping 91=========== 92 93FK7B0M1-VBT6 board has 5 GPIO controllers. These controllers are responsible for pin muxing, 94input/output, pull-up, etc. 95 96.. figure:: img/fk7b0m1_vbt6_pins.webp 97 :width: 600px 98 :align: center 99 :alt: FK7B0M1-VBT6 100 101 FK7B0M1-VBT6 (Credit: FANKE Technology Co., Ltd) 102 103Default Zephyr Peripheral Mapping: 104---------------------------------- 105 106The FK7B0M1-VBT6 board is configured as follows 107 108- UART_1 TX/RX : PA9/PA10 (available on the header pins) 109- User LED (blue) : PC1 110- User PB : PC13 111- SPI1 NCS/CLK/MISO/MOSI : PA15/PB3/PB4/PB5 (NOR Flash) 112- QuadSPI NCS/CLK/IO0/IO1/IO2/IO3 : PB6/PB2/PD11/PD12/PE2/PD13 (NOR Flash) 113- USB DM/DP : PA11/PA12 114 115System Clock 116============ 117 118The FK7B0M1-VBT6 System Clock could be driven by an internal or external oscillator, 119as well as by the main PLL clock. By default the system clock is driven by the PLL clock at 280MHz, 120driven by an 25MHz external crystal oscillator. 121 122Serial Port 123=========== 124 125The Zephyr console output is assigned to UART1. The default communication settings are 115200 8N1. 126 127Programming and Debugging 128************************* 129 130Applications for the ``fk7b0m1_vbt6`` board configuration can be built and flashed in the usual 131way (see :ref:`build_an_application` and :ref:`application_run` for more details). 132 133Flashing 134======== 135 136The FK7B0M1-VBT6 board does not include an on-board debugger. As a result, it requires 137an external debugger, such as ST-Link, for programming and debugging purposes. 138 139The board provides header pins for the Serial Wire Debug (SWD) interface. 140 141Flashing an application to FK7B0M1-VBT6 142--------------------------------------- 143 144To begin, connect the ST-Link Debug Programmer to the FK7B0M1-VBT6 board using the SWD 145interface. Next, connect the ST-Link to your host computer via a USB port. 146Once this setup is complete, you can proceed to build and flash your application to the board 147 148Here is an example for the :zephyr:code-sample:`hello_world` application. 149 150.. zephyr-app-commands:: 151 :zephyr-app: samples/hello_world 152 :board: fk7b0m1_vbt6 153 :goals: build flash 154 155Run a serial host program to connect with your board: 156 157.. code-block:: console 158 159 $ minicom -D /dev/ttyACM0 -b 115200 160 161Then, press the RESET button, you should see the following message: 162 163.. code-block:: console 164 165 Hello World! fk7b0m1_vbt6 166 167Debugging 168========= 169 170This current Zephyr port does not support debugging. 171 172References 173********** 174 175.. target-notes:: 176.. _STM32H7B0VB on www.st.com: https://www.st.com/en/microcontrollers/stm32h7b0vb.html 177