STMicroelectronics · NUCLEO-H743ZI2
NUCLEO-H743ZI2
ST NUCLEO-H743ZI2: an STM32H743ZI (Cortex-M7 with FDCAN and Ethernet) on a Nucleo-144 board with an on-board ST-LINK and an RJ45 connector.
In short
STM32H743ZI Nucleo-144: one 480 MHz Cortex-M7, 1 MB RAM, 2 MB flash, two FDCAN (CAN FD) controllers and 10/100 Ethernet. No CAN transceiver on the board: FDCAN1 is on PD0/PD1 of the ST Zio connector.
Specs
From the board’s model in the store.
- Processor
- STM32H743ZI · 1× Cortex-M7 · chip "stm32h743zi"
- Clock
- 480 MHz
- Flash
- 2 MB
- RAM
- 1 MB
- GPIO pins
- 112
- ADC
- ADC1 16 ch 16-bit, ADC2 14 ch 16-bit, ADC3 10 ch 16-bit
- Logic level
- not in the board’s model yet
- Power
- 5 V USB (in); 3.3 V (Arduino power header): 3.3 V; 5 V (Arduino power header): 5 V
- Current per pin
- not in the board’s model yet
- Buses
- UART ×9, I²C ×4, SPI ×6, CAN ×2, USB ×1, Ethernet ×1
- Runs
- bare metal (no OS)
Pin map
Each pin by what it does. Hover or tap a pin to see what else it can be.
- Power 3
- Digital 66
- Analog 22
- Bus 23
- Control 1
- PA0PA0
- PA1PA1
- PA2PA2
- PA3PA3
- PA4PA4
- PA5PA5
- PA6PA6
- PA7PA7
- PA8PA8
- PA9PA9
- PA10PA10
- PA11PA11
- PA12PA12
- PA13PA13
- PA14PA14
- PA15PA15
- PB0PB0
- PB1PB1
- PB2PB2
- PB3PB3
- PB4PB4
- PB5PB5
- PB6PB6
- PB7PB7
- PB8PB8
- PB9PB9
- PB10PB10
- PB11PB11
- PB12PB12
- PB13PB13
- PB14PB14
- PB15PB15
- PC0PC0
- PC1PC1
- PC4PC4
- PC5PC5
- PC6PC6
- PC7PC7
- PC8PC8
- PC9PC9
- PC10PC10
- PC11PC11
- PC12PC12
- PC13PC13
- PC14PC14
- PC15PC15
- PD0PD0
- PD1PD1
- PD2PD2
- PD3PD3
- PD4PD4
- PD5PD5
- PD6PD6
- PD7PD7
- PD8PD8
- PD9PD9
- PD10PD10
- PD11PD11
- PD12PD12
- PD13PD13
- PD14PD14
- PD15PD15
- PE0PE0
- PE1PE1
- PE2PE2
- PE3PE3
- PE4PE4
- PE5PE5
- PE6PE6
- PE7PE7
- PE8PE8
- PE9PE9
- PE10PE10
- PE11PE11
- PE12PE12
- PE13PE13
- PE14PE14
- PE15PE15
- PF0PF0
- PF1PF1
- PF2PF2
- PF3PF3
- PF4PF4
- PF5PF5
- PF6PF6
- PF7PF7
- PF8PF8
- PF9PF9
- PF10PF10
- PF11PF11
- PF12PF12
- PF13PF13
- PF14PF14
- PF15PF15
- PG0PG0
- PG1PG1
- PG2PG2
- PG3PG3
- PG4PG4
- PG5PG5
- PG6PG6
- PG7PG7
- PG8PG8
- PG9PG9
- PG10PG10
- PG11PG11
- PG12PG12
- PG13PG13
- PG14PG14
- PG15PG15
- PH0PH0
- PH1PH1
- pwr5 V USB
- v3v33.3 V (Arduino power header)
- v55 V (Arduino power header)
Watch out
What archec checks for this board, from its data. Each one names the check that catches it.
The board already uses PB0 (User LD1, green), PE1 (User LD2, yellow), PB14 (LED, red), PC13 (User button (high when pressed)). Something else wired there fights with it.
check
pin-conflictIt gives 3.3 V (3.3 V (Arduino power header)), 5 V (5 V (Arduino power header)). Power each part from a rail at its own voltage.
check
board-supplyIt has 9 UART, 4 I²C, 6 SPI, 2 CAN. One more bus of a kind than that is an error.
check
board-peripheralEach bus goes on the pins that can carry it (see the pin map). Another pin is an error.
check
pin-function
First model
A blink for this board: the board, an LED and a part that turns it over every 500 ms. archec checks it, then writes the code on the right.
project Blink "Blink" {
version "0.1.0"
edition "1.0"
uses arche-hw-store "^0.1"
}
include "arche-hw-store/boards/nucleo-h743zi2/nucleo-h743zi2.arche"
include "arche-hw-store/devices/led/led.arche"
/// Turns the LED over at each step.
component Blinker "Blinker" {
out led: requires Led
fn blink "Blink" {
```arche
led.toggle()
```
wcet 50us
}
}
/// The board, an LED on the board's User LD1, green (PB0), and the blinker.
system Hw "Blink" {
part board: NucleoH743ZI2
part led: GpioLed { in pin { pins { pin PB0 } } }
part blinker: Blinker
blinker.led -> led.led
}
/// The firmware: the blinker every 500 ms.
deployment OnBoard "On the board" {
system Hw
platform Hw
binary blink on board {
thread main "Blink" { runs blinker; period 500ms; step blink }
}
}
//! Your code: the state and behaviour of this part. Write it between the USER CODE markers:
//! when the model changes, `archec gen` writes this file again around them (a new function, a
//! new input) and keeps them. Edit outside them and the file is yours: it is left as it is,
//! and the compiler says what to add (a new trait method).
#[allow(unused_imports)]
use crate::arche::*;
// @arche blinker main.arche:25 part
/// blinker
#[derive(Default)]
pub struct Blinker {}
impl BlinkerBehaviour for Blinker {
// @arche blinker.blink main.arche:13 fn
async fn blink(&mut self, _out: &BlinkerOut) {
// Blink: from the model (```arche)
_out.call_led_toggle().await;
}
}blink/src/app/blinker.rs, one of the 14 files archec writes.