boards/st/nucleo_f412zg/doc/index.rst
.. zephyr:board:: nucleo_f412zg
Overview
The Nucleo F412ZG board features an ARM Cortex-M4 based STM32F412ZG MCU with a wide range of connectivity support and configurations. Here are some highlights of the Nucleo F412ZG board:
STM32 microcontroller in LQFP144 package
Two types of extension resources:
On-board ST-LINK/V2-1 debugger/programmer with SWD connector
Flexible board power supply:
Three user LEDs
Two push-buttons: USER and RESET
More information about the board can be found at the Nucleo F412ZG website_.
Hardware
Nucleo F412ZG provides the following hardware components:
More information about STM32F412ZG can be found here:
STM32F412ZG on www.st.com_STM32F412 reference manual_.. zephyr:board-supported-hw::
Nucleo F412ZG Board has 8 GPIO controllers. These controllers are responsible for pin muxing, input/output, pull-up, etc.
.. image:: img/nucleo_f412zg_zio_left.jpg :align: center :alt: Nucleo F412ZG ZIO connectors (left) .. image:: img/nucleo_f412zg_zio_right.jpg :align: center :alt: Nucleo F412ZG ZIO connectors (right) .. image:: img/nucleo_f412zg_morpho_left.jpg :align: center :alt: Nucleo F412ZG Morpho connectors (left) .. image:: img/nucleo_f412zg_morpho_right.jpg :align: center :alt: Nucleo F412ZG Morpho connectors (right)
For more details please refer to STM32 Nucleo-144 board User Manual_.
Nucleo F412ZG System Clock could be driven by internal or external oscillator, as well as main PLL clock. By default System clock is driven by PLL clock at 96MHz, driven by 8MHz high speed external clock.
Nucleo F412ZG board has 4 UARTs. The Zephyr console output is assigned to UART3. Default settings are 115200 8N1.
Ethernet over USB is configured as the default network interface
Programming and Debugging
.. zephyr:board-supported-runners::
Nucleo F412ZG board includes an ST-LINK/V2-1 embedded debug tool interface.
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
.. _Nucleo F412ZG website: https://www.st.com/en/evaluation-tools/nucleo-f412zg.html
.. _STM32 Nucleo-144 board User Manual: https://www.st.com/resource/en/user_manual/dm00244518.pdf
.. _STM32F412ZG on www.st.com: https://www.st.com/en/microcontrollers/stm32f412zg.html
.. _STM32F412 reference manual: https://www.st.com/resource/en/reference_manual/dm00180369.pdf
.. _STM32CubeProgrammer: https://www.st.com/en/development-tools/stm32cubeprog.html