e81e92dbb9
The boards folder uses ~142.8 MB, being the largest in the repository. This is due mostly to board images, which are in most cases not optimized for web content. This patch tries to address this problem by converting all pictures to JPEG (quality 75) and by adjusting its size up to 750 px (the width of the documentation content). Images that specified a fixed width in rst files are converted down to that value instead. With this patch, folder goes down to ~53.5 MB from 142.8 MB (-~63%). Note that this patch introduces a new set of binary files to git history, though (bad). The process has been automated using this quickly crafted Python script: ```python from pathlib import Path import re import subprocess def process(doc, image, image_jpeg, size): subprocess.run( ( f"convert {image}" "-background white -alpha remove -alpha off -quality 75" f"-resize {size}\> {image_jpeg}" ), shell=True, check=True, cwd=doc.parent, ) if image != image_jpeg: (doc.parent / image).unlink() for doc in Path(".").glob("boards/**/*.rst"): with open(doc) as f: content = "" image = None for line in f: m = re.match(r"^(\s*)\.\. (image|figure):: (.*)$", line) if m: if image: process(doc, image, image_jpeg, size) image = Path(m.group(3)) if image.suffix not in (".jpg", ".jpeg", ".png"): content += line image = None continue image_jpeg = image.parent / (image.stem + ".jpg") size = 750 content += ( f"{m.group(1)}.. {m.group(2)}:: {image_jpeg}\n" ) elif image: m = re.match(r"\s*:height:\s*[0-9]+.*$", line) if m: continue m = re.match(r"\s*:width:\s*([0-9]+).*$", line) if m: size = min(int(m.group(1)), size) continue content += line if line == "\n": process(doc, image, image_jpeg, size) image = None else: content += line with open(doc, "w") as f: f.write(content) ``` Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
247 lines
8.1 KiB
ReStructuredText
247 lines
8.1 KiB
ReStructuredText
.. _nucleo_h743zi_board:
|
|
|
|
ST Nucleo H743ZI
|
|
################
|
|
|
|
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 (Switched-Mode Power Supply)
|
|
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:: img/nucleo_h743zi.jpg
|
|
:align: center
|
|
:alt: Nucleo H743ZI
|
|
|
|
More information about the board can be found at the `Nucleo H743ZI website`_.
|
|
|
|
Hardware
|
|
********
|
|
|
|
Nucleo H743ZI provides the following hardware components:
|
|
|
|
- STM32H743ZI in LQFP144 package
|
|
- ARM 32-bit Cortex-M7 CPU with FPU
|
|
- Chrom-ART Accelerator
|
|
- Hardware JPEG Codec
|
|
- 480 MHz max CPU frequency
|
|
- VDD from 1.62 V to 3.6 V
|
|
- 2 MB Flash
|
|
- 1 MB SRAM
|
|
- High-resolution timer (2.1 ns)
|
|
- 32-bit timers(2)
|
|
- 16-bit timers(12)
|
|
- SPI(6)
|
|
- I2C(4)
|
|
- I2S (3)
|
|
- USART(4)
|
|
- UART(4)
|
|
- USB OTG Full Speed and High Speed(1)
|
|
- USB OTG Full Speed(1)
|
|
- CAN-FD(2)
|
|
- SAI(2)
|
|
- SPDIF_Rx(4)
|
|
- HDMI_CEC(1)
|
|
- Dual Mode Quad SPI(1)
|
|
- Camera Interface
|
|
- GPIO (up to 114) with external interrupt capability
|
|
- 16-bit ADC(3) with 36 channels / 3.6 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_h743zi 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 |
|
|
+-------------+------------+-------------------------------------+
|
|
| RTC | on-chip | counter |
|
|
+-------------+------------+-------------------------------------+
|
|
| I2C | on-chip | i2c |
|
|
+-------------+------------+-------------------------------------+
|
|
| PWM | on-chip | pwm |
|
|
+-------------+------------+-------------------------------------+
|
|
| ADC | on-chip | adc |
|
|
+-------------+------------+-------------------------------------+
|
|
| DAC | on-chip | DAC Controller |
|
|
+-------------+------------+-------------------------------------+
|
|
| RNG | on-chip | True Random number generator |
|
|
+-------------+------------+-------------------------------------+
|
|
| ETHERNET | on-chip | ethernet |
|
|
+-------------+------------+-------------------------------------+
|
|
| SPI | on-chip | spi |
|
|
+-------------+------------+-------------------------------------+
|
|
| Backup SRAM | on-chip | Backup SRAM |
|
|
+-------------+------------+-------------------------------------+
|
|
| WATCHDOG | on-chip | independent watchdog |
|
|
+-------------+------------+-------------------------------------+
|
|
| USB | on-chip | usb_device |
|
|
+-------------+------------+-------------------------------------+
|
|
| CAN/CANFD | on-chip | canbus |
|
|
+-------------+------------+-------------------------------------+
|
|
| die-temp | on-chip | die temperature sensor |
|
|
+-------------+------------+-------------------------------------+
|
|
|
|
Other hardware features are not yet supported on this Zephyr port.
|
|
|
|
The default configuration can be found in the defconfig file:
|
|
``boards/arm/nucleo_h743zi/nucleo_h743zi_defconfig``
|
|
|
|
For mode details please refer to `STM32 Nucleo-144 board User Manual`_.
|
|
|
|
Default Zephyr Peripheral Mapping:
|
|
----------------------------------
|
|
|
|
The Nucleo H743ZI board features a ST Zio connector (extended Arduino Uno V3)
|
|
and a ST morpho connector. Board is configured as follows:
|
|
|
|
- UART_3 TX/RX : PD8/PD9 (ST-Link Virtual Port Com)
|
|
- USER_PB : PC13
|
|
- LD1 : PB0
|
|
- LD2 : PB7
|
|
- LD3 : PB14
|
|
- I2C : PB8, PB9
|
|
- ADC1_INP15 : PA3
|
|
- DAC1_OUT1 : PA4
|
|
- ETH : PA1, PA2, PA7, PB13, PC1, PC4, PC5, PG11, PG13
|
|
- SPI1 NSS/SCK/MISO/MOSI : PD14/PA5/PA6/PB5 (Arduino SPI)
|
|
- CAN/CANFD : PD0, PD1
|
|
|
|
System Clock
|
|
------------
|
|
|
|
Nucleo H743ZI 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 96MHz, driven by an 8MHz high-speed external clock.
|
|
|
|
Serial Port
|
|
-----------
|
|
|
|
Nucleo H743ZI 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.
|
|
|
|
CAN, CANFD
|
|
----------
|
|
|
|
Requires an external CAN or CANFD transceiver.
|
|
|
|
Programming and Debugging
|
|
*************************
|
|
|
|
Applications for the ``nucleo_h743zi`` board configuration can be built and
|
|
flashed in the usual way (see :ref:`build_an_application` and
|
|
:ref:`application_run` for more details).
|
|
|
|
.. note::
|
|
|
|
If using OpenOCD you will need a recent development version as the last
|
|
official release does not support H7 series yet. You can also choose the
|
|
``stm32cubeprogrammer`` runner.
|
|
|
|
Flashing
|
|
========
|
|
|
|
Nucleo H743ZI board includes an ST-LINK/V2-1 embedded debug tool interface.
|
|
|
|
Flashing an application to Nucleo H743ZI
|
|
----------------------------------------
|
|
|
|
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_h743zi
|
|
:goals: build flash
|
|
|
|
You should see the following message on the console:
|
|
|
|
.. code-block:: console
|
|
|
|
$ Hello World! nucleo_h743zi
|
|
|
|
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_h743zi
|
|
:maybe-skip-config:
|
|
:goals: debug
|
|
|
|
.. _Nucleo H743ZI website:
|
|
https://www.st.com/en/evaluation-tools/nucleo-h743zi.html
|
|
|
|
.. _STM32 Nucleo-144 board User Manual:
|
|
http://www.st.com/resource/en/user_manual/dm00244518.pdf
|
|
|
|
.. _STM32H743ZI on www.st.com:
|
|
https://www.st.com/content/st_com/en/products/microcontrollers-microprocessors/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32h7-series/stm32h743-753/stm32h743zi.html
|
|
|
|
.. _STM32H743 reference manual:
|
|
https://www.st.com/resource/en/reference_manual/dm00314099.pdf
|