1.. _nucleo_f429zi_board: 2 3ST Nucleo F429ZI 4################ 5 6Overview 7******** 8 9The Nucleo F429ZI board features an ARM Cortex-M4 based STM32F429ZI MCU 10with a wide range of connectivity support and configurations. Here are 11some highlights of the Nucleo F429ZI board: 12 13- STM32 microcontroller in LQFP144 package 14- LSE crystal: 32.768 kHz crystal oscillator 15- USB OTG 16- Ethernet compliant with IEEE-802.3-2002 17- Two types of extension resources: 18 19 - ST Zio connector including: support for Arduino* Uno V3 connectivity 20 (A0 to A5, D0 to D15) and additional signals exposing a wide range of 21 peripherals 22 - ST morpho extension pin headers for full access to all STM32 I/Os 23 24- On-board ST-LINK/V2-1 debugger/programmer with SWD connector 25- Flexible board power supply: 26 27 - 5 V from ST-LINK/V2-1 USB VBUS 28 - External power sources: 3.3 V and 7 - 12 V on ST Zio or ST morpho 29 connectors, 5 V on ST morpho connector 30 31- Three user LEDs 32- Two push-buttons: USER and RESET 33 34.. image:: img/nucleo_f429zi.png 35 :width: 720px 36 :align: center 37 :height: 720px 38 :alt: Nucleo F429ZI 39 40More information about the board can be found at the `Nucleo F429ZI website`_. 41 42Hardware 43******** 44 45The Nucleo F429ZI provides the following hardware components: 46 47- STM32F429ZIT6 in LQFP144 package 48- ARM |reg| 32-bit Cortex |reg| -M4 CPU with FPU 49- 180 MHz max CPU frequency 50- VDD from 1.8 V to 3.6 V 51- 2 MB Flash 52- 256+4 KB SRAM including 64-Kbyte of core coupled memory 53- GPIO with external interrupt capability 54- 3x12-bit ADC with 24 channels 55- 2x12-bit D/A converters 56- RTC 57- Advanced-control Timer 58- General Purpose Timers (17) 59- Watchdog Timers (2) 60- USART/UART (4/4) 61- I2C (3) 62- SPI (6) 63- SDIO 64- 2xCAN 65- USB 2.0 OTG FS with on-chip PHY 66- USB 2.0 OTG HS/FS with dedicated DMA, on-chip full-speed PHY and ULPI 67- 10/100 Ethernet MAC with dedicated DMA 68- 8- to 14-bit parallel camera 69- CRC calculation unit 70- True random number generator 71- DMA Controller 72 73More information about STM32F429ZI can be found here: 74 75- `STM32F429ZI on www.st.com`_ 76- `STM32F429 reference manual`_ 77- `STM32F429 datasheet`_ 78 79Supported Features 80================== 81 82The Zephyr nucleo_f429zi board configuration supports the following hardware features: 83 84+-----------+------------+-------------------------------------+ 85| Interface | Controller | Driver/Component | 86+===========+============+=====================================+ 87| NVIC | on-chip | nested vector interrupt controller | 88+-----------+------------+-------------------------------------+ 89| UART | on-chip | serial port-polling; | 90| | | serial port-interrupt | 91+-----------+------------+-------------------------------------+ 92| PINMUX | on-chip | pinmux | 93+-----------+------------+-------------------------------------+ 94| GPIO | on-chip | gpio | 95+-----------+------------+-------------------------------------+ 96| ETHERNET | on-chip | Ethernet | 97+-----------+------------+-------------------------------------+ 98| PWM | on-chip | pwm | 99+-----------+------------+-------------------------------------+ 100| I2C | on-chip | i2c | 101+-----------+------------+-------------------------------------+ 102| USB | on-chip | usb | 103+-----------+------------+-------------------------------------+ 104| SPI | on-chip | spi | 105+-----------+------------+-------------------------------------+ 106| WATCHDOG | on-chip | independent watchdog | 107+-----------+------------+-------------------------------------+ 108| ADC | on-chip | adc | 109+-----------+------------+-------------------------------------+ 110| DAC | on-chip | DAC Controller | 111+-----------+------------+-------------------------------------+ 112| DMA | on-chip | Direct Memory Access | 113+-----------+------------+-------------------------------------+ 114 115Other hardware features are not yet supported on this Zephyr port. 116 117The default configuration can be found in the defconfig file: 118``boards/arm/nucleo_f429zi/nucleo_f429zi_defconfig`` 119 120 121Connections and IOs 122=================== 123 124The Nucleo F429ZI Board has 8 GPIO controllers. These controllers are responsible for pin muxing, 125input/output, pull-up, etc. 126 127Available pins: 128--------------- 129.. image:: img/nucleo_f429zi_cn8.png 130 :width: 720px 131 :align: center 132 :height: 540px 133 :alt: Nucleo F429ZI ZIO connectors (left) 134.. image:: img/nucleo_f429zi_cn7.png 135 :width: 720px 136 :align: center 137 :height: 540px 138 :alt: Nucleo F429ZI ZIO connectors (right) 139.. image:: img/nucleo_f429zi_cn11.png 140 :width: 720px 141 :align: center 142 :height: 540px 143 :alt: Nucleo F429ZI Morpho connectors (left) 144.. image:: img/nucleo_f429zi_cn12.png 145 :width: 720px 146 :align: center 147 :height: 540px 148 :alt: Nucleo F429ZI Morpho connectors (right) 149 150For mode details please refer to `STM32 Nucleo-144 board User Manual`_. 151 152Default Zephyr Peripheral Mapping: 153---------------------------------- 154 155The Nucleo F429ZI board features a ST Zio connector (extended Arduino Uno V3) 156and a ST morpho connector. Board is configured as follows 157 158- UART_3 TX/RX : PD8/PD9 (ST-Link Virtual Port Com) 159- UART_6 TX/RX : PG14/PG9 (Arduino Serial) 160- I2C1 SCL/SDA : PB8/PB9 (Arduino I2C) 161- SPI1 NSS/SCK/MISO/MOSI : PD14/PA5/PA6/PA7 (Arduino SPI) 162- PWM_2_CH1 : PE13 163- ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13 164- USER_PB : PC13 165- LD1 : PB0 166- LD2 : PB7 167- LD3 : PB14 168- USB DM : PA11 169- USB DP : PA12 170- ADC1 : PA0 171 172System Clock 173------------ 174 175The Nucleo F429ZI System Clock could be driven by an internal or external oscillator, 176as well as by the main PLL clock. By default System clock is driven by PLL clock at 180MHz, 177driven by an 8MHz high speed external clock. 178 179Serial Port 180----------- 181 182The Nucleo F429ZI board has 8 UARTs. The Zephyr console output is assigned to UART3. 183Default settings are 115200 8N1. 184 185 186Programming and Debugging 187************************* 188 189The Nucleo F429ZI board includes an ST-LINK/V2-1 embedded debug tool interface. 190This interface is supported by the openocd version included in Zephyr SDK. 191 192Flash partitions for MCUBoot bootloader 193*************************************** 194 195The on-board STM32F429ZI MCU has 2MBs of internal flash memory. To use `MCUboot`_, 196define a :ref:`Zephyr partition table <flash_map_api>` for the flash memory in 197its devicetree file ``nucleo_f429zi.dts``. As a reference, a partition table for 198MCUBoot is already defined in the devicetree file, with these settings: 199 200- `MCUBoot`_ bootloader partition takes 64K bytes. 201- Zephyr settings partition takes 64K bytes. 202- Application image takes 256K bytes in Slot 0 partition. 203- Updating image takes another 256K bytes in Slot 1 partition. 204- A scratch partition with 128K is required for image swap. 205 206A specific application can adjust each partition size based on its needs. 207 208 209.. _Nucleo F429ZI website: 210 http://www.st.com/en/evaluation-tools/nucleo-f429zi.html 211 212.. _STM32 Nucleo-144 board User Manual: 213 http://www.st.com/resource/en/user_manual/dm00244518.pdf 214 215.. _STM32F429ZI on www.st.com: 216 http://www.st.com/en/microcontrollers/stm32f429zi.html 217 218.. _STM32F429 reference manual: 219 http://www.st.com/resource/en/reference_manual/dm00031020.pdf 220 221.. _STM32F429 datasheet: 222 http://www.st.com/resource/en/datasheet/DM00071990.pdf 223 224.. _MCUBoot: 225 https://github.com/JuulLabs-OSS/mcuboot/blob/master/README.md 226