boards/st/nucleo_f446ze/doc/index.rst
.. zephyr:board:: nucleo_f446ze
Overview
The Nucleo F446ZE board features an ARM Cortex-M4 based STM32F446ZE MCU with a wide range of connectivity support and configurations. Here are some highlights of the Nucleo F446ZE board:
STM32F446 microcontroller in QFP144 package
Two types of extension resources:
On-board ST-LINK/V2-1 debugger/programmer with SWD connector
USB re-enumeration capability. Three different interfaces supported on USB:
Flexible board power supply:
Three LEDs: USB communication (LD1), user LED (LD2), power LED (LD3)
Two push-buttons: USER and RESET
More information about the board can be found at the Nucleo F446ZE website_.
Hardware
Nucleo F446ZE provides the following hardware components:
More information about STM32F446ZE can be found here:
STM32F446ZE on www.st.com_STM32F446 reference manual_.. zephyr:board-supported-hw::
Nucleo F446ZE Board has 8 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc.
.. image:: img/nucleo_f446ze_zio_left_2019_8_29.jpg :align: center :alt: Nucleo F446ZE Zio/Arduino connectors (left) .. image:: img/nucleo_f446ze_zio_right_2019_8_29.jpg :align: center :alt: Nucleo F446ZE Zio/Arduino connectors (right) .. image:: img/nucleo_f446ze_morpho_left_2019_8_29.jpg :align: center :alt: Nucleo F446ZE Morpho connectors (left) .. image:: img/nucleo_f446ze_morpho_right_2019_8_29.jpg :align: center :alt: Nucleo F446ZE Morpho connectors (right)
For more details please refer to STM32 Nucleo-144 board User Manual_.
Nucleo F446ZE 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 84MHz, driven by an 8MHz high-speed external clock.
Nucleo F446ZE board has 2 UARTs and 4 USARTs. The Zephyr console output is assigned to USART3. Default settings are 115200 8N1.
In order to test backup SRAM you may want to disconnect VBAT from VDD. You can
do it by removing SB156 jumper on the back side of the board.
The TX/RX wires are connected with pins 25/27 of CN9 connector.
Programming and Debugging
.. zephyr:board-supported-runners::
Nucleo F446ZE board includes an ST-LINK/V2-1 embedded debug tool interface.
Applications for the nucleo_f446ze board configuration can be built and
flashed in the usual way (see :ref:build_an_application and
:ref:application_run for more details).
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
Here is an example for the :zephyr:code-sample:hello_world application.
Run a serial host program to connect with your Nucleo board.
.. code-block:: console
$ minicom -b 115200 -D /dev/ttyACM0
Build and flash the application:
.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: nucleo_f446ze :goals: build flash
You should see the following message on the console:
.. code-block:: console
$ Hello World! arm
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: nucleo_f446ze :maybe-skip-config: :goals: debug
.. _Nucleo F446ZE website: https://www.st.com/en/evaluation-tools/nucleo-f446ze.html
.. _STM32 Nucleo-144 board User Manual: https://www.st.com/resource/en/user_manual/um1974-stm32-nucleo144-boards-mb1137-stmicroelectronics.pdf
.. _STM32F446ZE on www.st.com: https://www.st.com/en/microcontrollers/stm32f446ze.html
.. _STM32F446 reference manual: https://www.st.com/resource/en/reference_manual/dm00135183.pdf
.. _STM32CubeProgrammer: https://www.st.com/en/development-tools/stm32cubeprog.html