STMicroelectronics (STM32)
ST NUCLEO-G474RE (STM32G474RE)
Mixed-signal 170 MHz STM32G4 board built for digital power conversion, FOC motor control and FDCAN nodes. Import from ST SVD via ct twin generate.
Target Clock170 MHzSTM32G474RE
Memory512 KB128 KB SRAM
Evidence StandingprovisionalDatasheet / SVD importable
CPU Profilecortex-m4fst.stm32
Hardware specification
| MCU | STM32G474RE | Core | ARM Cortex-M4F (170 MHz, CORDIC/FMAC) |
|---|---|---|---|
| Max clock | 170 MHz | Flash / RAM | 512 KB / 128 KB |
| Primary buses | 3x FDCAN, 4x I2C, 4x SPI, 5x USART, HRTIM, 5x ADC | ||
| Evidence basis | Indexed in datasheet corpus; generate locally via ct twin generate (/docs/twin-generation). | ||
Published verification & bring-up status
Indexed in the CircuitTwin industry datasheet corpus; shares ARMv7E-M differential CPU core and STM32G4/FDCAN peripheral blocks.
Run locally with ct CLI
Shell
ct twin generate STM32G474.svd && ct run --json --board nucleo-g474re.board.yaml build/app.elf
# Start a GDB server with reverse execution attached to the twin
ct debug --board nucleo-g474re --gdb-port 3333 build/app.elfGitHub Actions CI workflow
.github/workflows/firmware-ci.yml
name: Firmware Twin CI (STM32G474RE)
on: [push, pull_request]
jobs:
simulate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run firmware on ST NUCLEO-G474RE twin
uses: circuittwin/action@v1
with:
board: nucleo-g474re
firmware: build/app.elf
suite: tests/suite.yaml
junit-out: results/nucleo-g474re.xml