Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
.. _nucleo_f413zh_board:

ST Nucleo F413ZH
################

Overview
********

The Nucleo F413ZH board features an ARM Cortex-M4 based STM32F413ZH MCU
with a wide range of connectivity support and configurations. Here are
some highlights of the Nucleo F413ZH board:


- STM32 microcontroller in LQFP144 package
- Two types of extension resources:
       - ST Zio connector including: support for Arduino* Uno V3 connectivity
         (A0 to A5, D0 to D15) and additional signals exposing a wide range of
         peripherals
       - ST morpho extension pin headers for full access to all STM32 I/Os
- On-board ST-LINK/V2-1 debugger/programmer with SWD connector
- Flexible board power supply:
       - 5 V from ST-LINK/V2-1 USB VBUS
       - External power sources: 3.3 V and 7 - 12 V on ST Zio or ST morpho
         connectors, 5 V on ST morpho connector
- Three user LEDs
- Two push-buttons: USER and RESET

.. image:: img/Nucleo144_perf_logo_1024.png
     :width: 720px
     :align: center
     :height: 720px
     :alt: Nucleo F413ZH

More information about the board can be found at the `Nucleo F413ZH website`_.

Hardware
********

Nucleo F413ZH provides the following hardware components:

- STM32F413ZHT6 in LQFP144 package
- ARM |reg| 32-bit Cortex |reg| -M4 CPU with FPU
- 100 MHz max CPU frequency
- VDD from 1.7 V to 3.6 V
- 1.5 MB Flash
- 320 KB SRAM
- GPIO with external interrupt capability
- 2 12-bit ADC with 16 channels, with FIFO and burst support
- RTC
- 14 General purpose timers
- 2 watchdog timers (independent and window)
- SysTick timer
- USART/UART (10)
- I2C (4)
- SPI (5)
- SDIO
- USB 2.0 OTG FS
- DMA Controller
- CRC calculation unit

More information about STM32F413ZH can be found here:
       - `STM32F413ZH on www.st.com`_
       - `STM32F413/423 reference manual`_

Supported Features
==================

The Zephyr nucleo_413zh board configuration supports the following hardware features:

+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component                    |
+===========+============+=====================================+
| NVIC      | on-chip    | nested vector interrupt controller  |
+-----------+------------+-------------------------------------+
| UART      | on-chip    | serial port-polling;                |
|           |            | serial port-interrupt               |
+-----------+------------+-------------------------------------+
| PINMUX    | on-chip    | pinmux                              |
+-----------+------------+-------------------------------------+
| GPIO      | on-chip    | gpio                                |
+-----------+------------+-------------------------------------+
| PWM       | on-chip    | pwm                                 |
+-----------+------------+-------------------------------------+

Other hardware features are not yet supported on this Zephyr port.

The default configuration can be found in the defconfig file:

	``boards/arm/nucleo_f413zh/nucleo_f413zh_defconfig``


Connections and IOs
===================

Nucleo F413ZH Board has 8 GPIO controllers. These controllers are responsible for pin muxing,
input/output, pull-up, etc.

Available pins:
---------------
.. image:: img/nucleo_f412zg_zio_left.png
     :width: 720px
     :align: center
     :height: 540px
     :alt: Nucleo F413ZH ZIO connectors (left)
.. image:: img/nucleo_f412zg_zio_right.png
     :width: 720px
     :align: center
     :height: 540px
     :alt: Nucleo F413ZH ZIO connectors (right)
.. image:: img/nucleo_f412zg_morpho_left.png
     :width: 720px
     :align: center
     :height: 540px
     :alt: Nucleo F413ZH Morpho connectors (left)
.. image:: img/nucleo_f412zg_morpho_right.png
     :width: 720px
     :align: center
     :height: 540px
     :alt: Nucleo F413ZH Morpho connectors (right)

For mode details please refer to `STM32 Nucleo-144 board User Manual`_.

Default Zephyr Peripheral Mapping:
----------------------------------
- UART_3_TX : PD8
- UART_3_RX : PD9
- PWM_2_CH1 : PA0
- USER_PB : PC13
- LD1 : PB0
- LD2 : PB7
- LD3 : PB14

System Clock
------------

Nucleo F413ZH 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.

Serial Port
-----------

Nucleo F413ZH board has 10 UARTs. The Zephyr console output is assigned to UART3.
Default settings are 115200 8N1.


Programming and Debugging
*************************

Nucleo F413ZH board includes an ST-LINK/V2-1 embedded debug tool interface.
However this interface is currently not supported by OpenOCD. You will need
to use ST tools or an external JTAG probe.


.. _Nucleo F413ZH website:
   http://www.st.com/en/evaluation-tools/nucleo-f413zh.html

.. _STM32 Nucleo-144 board User Manual:
   http://www.st.com/resource/en/user_manual/dm00244518.pdf

.. _STM32F413ZH on www.st.com:
   http://www.st.com/en/microcontrollers/stm32f413zh.html

.. _STM32F413/423 reference manual:
   http://www.st.com/resource/en/reference_manual/dm00305666.pdf