boards/st/steval_fcu001v1/doc/index.rst
.. zephyr:board:: steval_fcu001v1
Overview
The STEVAL-FCU001V1 is a Cortex M4 MCU-based flight controller unit for toy quad-copter drones.
Hardware
STM32 Flight Controller Unit provides the following hardware components:
STM32F401CC in UFQFPN48 package
ARM® 32-bit Cortex®-M4 MCU with FPU
84MHz max MCU frequency
VDD from 1.7 V to 3.6 V
256 KB FLASH
64 KB SRAM
General Purpose Timers
Watchdog Timers (2)
On board sensors:
2 User LEDS
USART/UART (1)
I2C (1)
Bluetooth® Low Energy over SPI
More information about the STM32 Flight Controller Unit can be found in these documents:
STEVAL_FCU001V1 website_STM32F401 reference manual_STM32F401CC on www.st.com_.. zephyr:board-supported-hw::
The steval_fcu001v1 system clock can 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 84MHz, driven by a 16MHz high-speed external clock.
The steval_fcu001v1 board has one UART. The Zephyr console output is assigned to UART1. Default settings are 115200 8N1.
The steval_fcu001v1 board has one I2C. The default I2C mapping for Zephyr is:
Programming and Debugging
.. zephyr:board-supported-runners::
Applications for the steval_fcu001v1 board configuration can be built and
flashed in the usual way (see :ref:build_an_application and
:ref:application_run for more details).
Flashing Zephyr onto the steval_fcu001v1 board requires an external ST-LINK/V2-1 programmer. The programmer is attached to the P8 programming header with ARM-JTAG-20-10-Plug-in Adapter.
Connect the FT232-to-USB port to host system, and RX, TX, Gnd pins to the P7 header of the steval_fcu001v1 board. Then run a serial host program to connect with your steval_fcu001v1 via the FT232 board:
.. code-block:: console
$ minicom -D /dev/ttyUSB0
Now build and flash an application. Here is an example for :zephyr:code-sample:hello_world
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: steval_fcu001v1 :goals: build flash
You should see the following message on the console:
.. code-block:: console
Hello World! steval_fcu001v1
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: steval_fcu001v1 :maybe-skip-config: :goals: debug
.. _STEVAL_FCU001V1 website: https://www.st.com/en/evaluation-tools/steval-fcu001v1.html
.. _STM32F401CC on www.st.com: https://www.st.com/en/microcontrollers-microprocessors/stm32f401cc.html
.. _STM32F401 reference manual: https://www.st.com/resource/en/reference_manual/dm00096844.pdf