B-G474E-DPOW1 Discovery
Overview
The B-G474E-DPOW1 Discovery kit is a digital power solution and a complete demonstration and development platform for the STMicroelectronics STM32G474RET6 microcontroller. Leveraging the new HRTimer-oriented features, 96 Kbytes of embedded RAM, math accelerator functions and USB-PD 3.0 offered by STM32G474RET6, the B-G474E-DPOW1 Discovery kit, based on the USB 2.0 FS Type-C™ connector interface, helps the user to prototype applications with digital power such as a buck-boost converter, RGB power LED lighting or a class-D audio amplifier. The B-G474E-DPOW1 Discovery kit does not require any separate probe, as it integrates the STLINK-V3E debugger and programmer.
STM32G474RET6 Arm® Cortex®-M4 core-based microcontroller, featuring 512 Kbytes of Flash memory and 128 Kbytes of SRAM, in LQFP64 package
USB Type-C™ with USB 2.0 FS interface compatible with USB-PD 3.0
RGB power LED for a bright lighting
Digital power buck-boost converter with internal or external Input voltage and with onboard resistor loads
Audio Class-D amplifier capable
4 user LEDs
3 LEDs for power and ST-LINK communication
4-direction joystick with a selection button
Reset push-button
- Board connectors:
USB Type-C™
USB Micro-B
2 x 32-pin header, 2.54 mm pitch, daughterboard extension connector for breadboard connection
Flexible power-supply options: ST-LINK USB VBUS or USB Type-C™ VBUS or external source
On-board STLINK-V3E debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port
More information about the board can be found at the B-G474E-DPOW1 website [1].
More information about STM32G474RE can be found here:
Supported Features
The b_g474e_dpow1
board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo
-
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
b_g474e_dpow1/stm32g474xx
target
Type |
Location |
Description |
Compatible |
---|---|---|---|
CPU |
on-chip |
ARM Cortex-M4F CPU1 |
|
ADC |
on-chip |
||
CAN |
on-chip |
STM32 FDCAN CAN FD controller3 |
|
Clock control |
on-chip |
STM32 RCC (Reset and Clock controller)1 |
|
on-chip |
STM32 HSE Clock1 |
||
on-chip |
Generic fixed-rate clock provider3 |
||
on-chip |
STM32 LSE Clock1 |
||
on-chip |
STM32G4 main PLL1 |
||
Counter |
on-chip |
STM32 counters6 |
|
DAC |
on-chip |
STM32 family DAC4 |
|
DMA |
on-chip |
STM32 DMA controller (V2)2 |
|
on-chip |
STM32 DMAMUX controller1 |
||
Flash controller |
on-chip |
STM32 Family flash controller1 |
|
GPIO & Headers |
on-chip |
STM32 GPIO Controller7 |
|
I2C |
on-chip |
STM32 I2C V2 controller4 |
|
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
on-chip |
STM32 External Interrupt Controller1 |
||
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
STM32 flash memory1 |
|
PHY |
on-chip |
This binding is to be used by all the usb transceivers which are built-in with USB IP1 |
|
Pin control |
on-chip |
STM32 Pin controller1 |
|
PWM |
on-chip |
STM32 PWM10 |
|
Reset controller |
on-chip |
STM32 Reset and Clock Control (RCC) Controller1 |
|
RNG |
on-chip |
STM32 Random Number Generator1 |
|
RTC |
on-chip |
STM32 RTC1 |
|
Sensors |
on-chip |
STM32 family TEMP node for production calibrated sensors with two calibration temperatures1 |
|
on-chip |
STM32 VREF+1 |
||
on-chip |
STM32 VBAT1 |
||
Serial controller |
on-chip |
||
on-chip |
STM32 UART2 |
||
on-chip |
STM32 LPUART1 |
||
SMbus |
on-chip |
STM32 SMBus controller4 |
|
SPI |
on-chip |
STM32 SPI controller with embedded Rx and Tx FIFOs4 |
|
SRAM |
on-chip |
Generic on-chip SRAM description1 |
|
USB Type-C Port Controller |
on-chip |
STM32 USB Type-C / Power Delivery1 |
|
Timer |
on-chip |
ARMv7-M System Tick1 |
|
on-chip |
STM32 low-power timer (LPTIM)1 |
||
on-chip |
STM32 timers12 |
||
USB |
on-chip |
STM32 USB controller1 |
|
Watchdog |
on-chip |
STM32 watchdog1 |
|
on-chip |
STM32 system window watchdog1 |
Connections and IOs
Each of the GPIO pins can be configured by software as output (push-pull or open-drain), as input (with or without pull-up or pull-down), or as peripheral alternate function. Most of the GPIO pins are shared with digital or analog alternate functions. All GPIOs are high current capable except for analog inputs.
Default Zephyr Peripheral Mapping:
UART_3 TX/RX : PC10/PC11 (ST-Link Virtual Port Com)
BUTTON (JOY_SEL) : PC13
BUTTON (JOY_LEFT) : PC4
BUTTON (JOY_DOWN) : PC5
BUTTON (JOY_RIGHT) : PB2
BUTTON (JOY_UP) : PB10
LED (DOWN BLUE) : PA15
LED (LEFT ORANGE) : PB1
LED (UP RED) : PB5
LED (RIGHT GREEN) : PB7
USB DM : PA11
USB DP : PA12
UCPD CC2 : PB4
UCPD CC1 : PB6
For more details please refer to B-G474E-DPOW1 Discovery board User Manual [3].
Programming and Debugging
The B-G474E-DPOW1 Discovery board includes an ST-LINK/V3E embedded debug tool interface.
Applications for the b_g474e_dpow1
board configuration can be built and
flashed in the usual way (see Building an Application and
Run an Application for more details).
Flashing
The board is configured to be flashed using west STM32CubeProgrammer [5] runner, so its installation is required.
$ west flash
Flashing an application to the B_G474E_DPOW1
Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b b_g474e_dpow1 samples/basic/blinky
west flash
You will see the LED blinking every second.
Debugging
You can debug an application in the usual way. Here is an example for the Hello World application.
# From the root of the zephyr repository
west build -b b_g474e_dpow1 samples/hello_world
west debug