boards/st/nucleo_f746zg/doc/index.html · boards/st/nucleo_f746zg/doc/index.rst 공식 원문 ↗

Zephyr 3.7.0 · Boards · ST · Nucleo-144

ST Nucleo F746ZG

216MHz급 Cortex-M7의 72MHz 기본 설정, PA7 충돌과 flash runner 선택을 구분합니다.

Official pathboards/st/nucleo_f746zg/doc/index.html
Source fileboards/st/nucleo_f746zg/doc/index.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

지원표 15행, Ethernet·USB·analog pin, SB156, STM32CubeProgrammer/OpenOCD/J-Link workflow를 보존합니다.

MCU

STM32F746ZG

CPU max

216MHz

Default

72MHz

Runner

STM32CubeProgrammer

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 8727706886ED89A180F76D0E25317F7944AA3FEAFE679C188A666ABD52F9D5D4
.. _nucleo_f746zg_board:

ST Nucleo F746ZG
################

Overview
********

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.

Key Features

- 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
 - SWD
 - 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)

.. image:: ../../../../../../../boards/st/nucleo_f746zg/doc/img/nucleo_f746zg.jpg
   :align: center
   :alt: Nucleo F746ZG

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

Hardware
********

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)
- SPI(6)
- I2C(4)
- I2S (3)
- USART(4)
- UART(4)
- USB OTG Full Speed and High Speed(1)
- USB OTG Full Speed(1)
- CAN(2)
- SAI(2)
- SPDIF_Rx(4)
- HDMI_CEC(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

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

The Zephyr nucleo_f746zg board configuration supports the following hardware
features:

+-------------+------------+-------------------------------------+
| Interface   | Controller | Driver/Component                    |
+=============+============+=====================================+
| NVIC        | on-chip    | nested vector interrupt controller  |
+-------------+------------+-------------------------------------+
| UART        | on-chip    | serial port                         |
+-------------+------------+-------------------------------------+
| PINMUX      | on-chip    | pinmux                              |
+-------------+------------+-------------------------------------+
| GPIO        | on-chip    | gpio                                |
+-------------+------------+-------------------------------------+
| ETHERNET    | on-chip    | ethernet                            |
+-------------+------------+-------------------------------------+
| USB         | on-chip    | usb_device                          |
+-------------+------------+-------------------------------------+
| COUNTER     | on-chip    | rtc                                 |
+-------------+------------+-------------------------------------+
| I2C         | on-chip    | i2c                                 |
+-------------+------------+-------------------------------------+
| PWM         | on-chip    | pwm                                 |
+-------------+------------+-------------------------------------+
| SPI         | on-chip    | spi                                 |
+-------------+------------+-------------------------------------+
| WATCHDOG    | on-chip    | independent watchdog                |
+-------------+------------+-------------------------------------+
| ADC         | on-chip    | ADC Controller                      |
+-------------+------------+-------------------------------------+
| DAC         | on-chip    | DAC Controller                      |
+-------------+------------+-------------------------------------+
| Backup SRAM | on-chip    | Backup SRAM                         |
+-------------+------------+-------------------------------------+
| RTC         | on-chip    | rtc                                 |
+-------------+------------+-------------------------------------+

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

The default configuration can be found in
:zephyr_file:`boards/st/nucleo_f746zg/nucleo_f746zg_defconfig`

For more 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 : PD14, PA5, PA6, PA7
- ADC1_IN0 : PA0
- DAC1_OUT1 : PA4

Note. The Arduino Uno v3 specified SPI device conflicts with the on-board ETH
device on pin PA7.

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

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.

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

Nucleo F746ZG board has 4 UARTs and 4 USARTs. The Zephyr console output is
assigned to UART3. Default settings are 115200 8N1.

Backup SRAM
-----------

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.

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

Applications for the ``nucleo_f746zg`` board configuration can be built and
flashed in the usual way (see :ref:`build_an_application` and
:ref:`application_run` for more details).

Flashing
========

Nucleo F746ZG board includes an ST-LINK/V2-1 embedded debug tool interface.

Flashing an application to Nucleo F746ZG
----------------------------------------

The board is configured to be flashed using west `STM32CubeProgrammer`_ runner,
so its installation is required to be able to flash the board.

Alternatively, openocd (provided in Zephyr SDK) 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 :ref:`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_f746zg
   :goals: build flash

You should see the following message on the console:

.. code-block:: console

   $ Hello World! nucleo_f746zg

Debugging
=========

You can debug an application in the usual way.  Here is an example for the
:ref:`hello_world` application.

.. zephyr-app-commands::
   :zephyr-app: samples/hello_world
   :board: nucleo_f746zg
   :maybe-skip-config:
   :goals: debug

.. _Nucleo F746ZG website:
   https://www.st.com/en/evaluation-tools/nucleo-f746zg.html

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

.. _STM32F746ZG on www.st.com:
   https://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f7-series/stm32f7x6/stm32f746zg.html

.. _STM32F746 reference manual:
   https://www.st.com/resource/en/reference_manual/dm00124865.pdf

.. _STM32CubeProgrammer:
   https://www.st.com/en/development-tools/stm32cubeprog.html

Part 3

한국어 전문 번역

Nucleo F746ZG

개요

Nucleo F746ZG Nucleo-144 board는 성능과 전력 조합을 저렴하고 유연한 prototype platform으로 제공합니다. 호환 board에서는 SMPS가 Run mode 전력을 줄입니다. Arduino Uno V3 shield를 지원하는 ST Zio와 모든 STM32 I/O를 노출하는 ST morpho, 별도 probe가 필요 없는 ST-LINK/V2-1을 갖추며 STM32Cube MCU package의 library와 example을 사용할 수 있습니다.

  • LQFP144 STM32 MCU
  • STM32 지원에 따른 IEEE 802.3-2002 Ethernet과 USB OTG/full-speed device
  • User LED 3개, USER·RESET button
  • 32.768kHz crystal
  • Micro-AB USB, SWD, 선택적 RJ45, ST Zio, ST morpho connector
  • ST-LINK USB VBUS 또는 external source 전원
  • Mass storage·virtual COM·debug port USB re-enumeration
  • 일부 part number의 Arm Mbed Enabled 호환

Hardware

  • LQFP144 package의 STM32F746ZG
  • FPU가 있는 Arm 32-bit Cortex-M7 CPU
  • Chrom-ART와 ART Accelerator
  • 최대 CPU frequency 216MHz, VDD 1.7~3.6V
  • 1MB flash, 320KB SRAM
  • 16-bit timer 10개, 32-bit timer 2개
  • SPI 6개, I2C 4개, I2S 3개
  • USART 4개, UART 4개
  • USB OTG FS/HS 1개와 USB OTG FS 1개
  • CAN 2개, SAI 2개, SPDIF_Rx 4개, HDMI_CEC
  • Dual-mode Quad SPI와 camera interface
  • External interrupt를 지원하는 최대 168 GPIO
  • 24-channel 12-bit ADC 3개(2.4MSPS), 2-channel 12-bit DAC 2개
  • TRNG, 16-channel DMA, XGA LCD-TFT controller

Zephyr 지원 기능

InterfaceControllerDriver/Component
NVICon-chipnested vector interrupt controller
UARTon-chipserial port
PINMUXon-chippinmux
GPIOon-chipgpio
ETHERNETon-chipethernet
USBon-chipusb_device
COUNTERon-chiprtc
I2Con-chipi2c
PWMon-chippwm
SPIon-chipspi
WATCHDOGon-chipindependent watchdog
ADCon-chipADC Controller
DACon-chipDAC Controller
Backup SRAMon-chipBackup SRAM
RTCon-chiprtc

기본 설정은 boards/st/nucleo_f746zg/nucleo_f746zg_defconfig입니다.

Default peripheral mapping

Nucleo F746ZG는 extended Arduino Uno V3 ST Zio와 ST morpho connector를 제공합니다.

  • UART_2 TX/RX/RTS/CTS : PD5/PD6/PD4/PD3
  • UART_3 TX/RX : PD8/PD9 (ST-Link Virtual COM)
  • UART_6 TX/RX : PG14/PG9 (Arduino UART)
  • USER_PB : PC13
  • LD1/LD2/LD3 : PB0/PB7/PB14
  • ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13
  • USB DM/DP : PA11/PA12
  • I2C : PB8, PB9
  • PWM : PE13
  • SPI : PD14, PA5, PA6, PA7
  • ADC1_IN0 : PA0
  • DAC1_OUT1 : PA4

Clock, console과 backup SRAM

최대 CPU는 216MHz지만 기본 system clock은 8MHz HSE 기반 72MHz PLL입니다. UART 4개·USART 4개 중 console은 UART3이며 115200 8N1입니다. VBAT 분리를 위해 board 뒷면 SB156을 제거합니다.

Programming and debugging

기본 flash runner는 STM32CubeProgrammer이므로 설치가 필요합니다. Zephyr SDK OpenOCD 또는 J-Link도 선택할 수 있습니다.

$ west flash --runner openocd
$ west flash --runner jlink
$ minicom -b 115200 -D /dev/ttyACM0
west build -b nucleo_f746zg samples/hello_world
west flash
$ Hello World! nucleo_f746zg
west build -b nucleo_f746zg samples/hello_world
west debug

참고 자료

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.