ST Nucleo F746ZG¶
The STM32 Nucleo-144 boards offer combinations of performance and power that provide an affordable and flexible way for users to build prototypes and try out new concepts. For compatible boards, the SMPS significantly reduces power consumption in Run mode.
The Arduino-compatible ST Zio connector expands functionality of the Nucleo open development platform, with a wide choice of specialized Arduino* Uno V3 shields.
The STM32 Nucleo-144 board does not require any separate probe as it integrates the ST-LINK/V2-1 debugger/programmer.
The STM32 Nucleo-144 board comes with the STM32 comprehensive free software libraries and examples available with the STM32Cube MCU Package.
- STM32 microcontroller in LQFP144 package
- Ethernet compliant with IEEE-802.3-2002 (depending on STM32 support)
- USB OTG or full-speed device (depending on STM32 support)
- 3 user LEDs
- 2 user and reset push-buttons
- 32.768 kHz crystal oscillator
- Board connectors:
- USB with Micro-AB
- Ethernet RJ45 (depending on STM32 support)
- ST Zio connector including Arduino* Uno V3
- ST morpho
- Flexible power-supply options: ST-LINK USB VBUS or external sources.
- On-board ST-LINK/V2-1 debugger/programmer with USB re-enumeration
- capability: mass storage, virtual COM port and debug port.
- Comprehensive free software libraries and examples available with the STM32Cube MCU package.
- Arm* Mbed Enabled* compliant (only for some Nucleo part numbers)
More information about the board can be found at the Nucleo F746ZG website.
Nucleo F746ZG provides the following hardware components:
- STM32F746ZG in LQFP144 package
- ARM 32-bit Cortex-M7 CPU with FPU
- Chrom-ART Accelerator
- ART Accelerator
- 216 MHz max CPU frequency
- VDD from 1.7 V to 3.6 V
- 1 MB Flash
- 320 KB SRAM
- 16-bit timers(10)
- 32-bit timers(2)
- I2S (3)
- USB OTG Full Speed and High Speed(1)
- USB OTG Full Speed(1)
- Dual Mode Quad SPI(1)
- Camera Interface
- GPIO(up to 168) with external interrupt capability
- 12-bit ADC(3) with 24 channels / 2.4 MSPS
- 12-bit DAC with 2 channels(2)
- True Random Number Generator (RNG)
- 16-channel DMA
- LCD-TFT Controller with XGA resolution
The Zephyr nucleo_f746zg board configuration supports the following hardware features:
|NVIC||on-chip||nested vector interrupt controller|
Other hardware features are not yet supported on this Zephyr port.
The default configuration can be found in the defconfig file:
For mode details please refer to STM32 Nucleo-144 board User Manual.
Default Zephyr Peripheral Mapping:¶
The Nucleo F746ZG board features a ST Zio connector (extended Arduino Uno V3) and a ST morpho connector. Board is configured as follows:
- UART_2 TX/RX/RTS/CTS : PD5/PD6/PD4/PD3
- UART_3 TX/RX : PD8/PD9 (ST-Link Virtual Port Com)
- UART_6 TX/RX : PG14/PG9 (Arduino UART)
- USER_PB : PC13
- LD1 : PB0
- LD2 : PB7
- LD3 : PB14
- ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13
- USB DM : PA11
- USB DP : PA12
- I2C : PB8, PB9
- PWM : PE13
- SPI : PA4, PA5, PA6, PA7
Note. The Arduino Uno v3 specified SPI device conflicts with the on-board ETH device on pin PA7.
Nucleo F746ZG 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 72MHz, driven by an 8MHz high-speed external clock.
Nucleo F746ZG board has 4 UARTs and 4 USARTs. The Zephyr console output is assigned to UART3. Default settings are 115200 8N1.
Programming and Debugging¶
Nucleo F746ZG board includes an ST-LINK/V2-1 embedded debug tool interface.
Flashing an application to Nucleo F746ZG¶
Here is an example for the Hello World application.
Run a serial host program to connect with your Nucleo board.
$ minicom -b 115200 -D /dev/ttyACM0
Build and flash the application:
# On Linux/macOS cd $ZEPHYR_BASE/samples/hello_world mkdir build && cd build # On Windows cd %ZEPHYR_BASE%\samples\hello_world mkdir build & cd build # Use cmake to configure a Ninja-based build system: cmake -GNinja -DBOARD=nucleo_f746zg .. # Now run ninja on the generated build system: ninja ninja flash
You should see the following message on the console:
$ Hello World! nucleo_f746zg
You can debug an application in the usual way. Here is an example for the Hello World application.
# On Linux/macOS cd $ZEPHYR_BASE/samples/hello_world # If you already made a build directory (build) and ran cmake, just 'cd build' instead. mkdir build && cd build # On Windows cd %ZEPHYR_BASE%\samples\hello_world # If you already made a build directory (build) and ran cmake, just 'cd build' instead. mkdir build & cd build # Use cmake to configure a Ninja-based build system: cmake -GNinja -DBOARD=nucleo_f746zg .. # Now run ninja on the generated build system: ninja debug