Nucleo C542RC
Overview
The STM32 Nucleo-64 development board with STM32C542RC MCU, supports Arduino and ST morpho connectivity.
The STM32 Nucleo-64 board provides an affordable and flexible way for users to try out new concepts and build prototypes by choosing from the various combinations of performance and power consumption features provided by the STM32 microcontroller. For the compatible boards, the internal or external SMPS significantly reduces power consumption in Run mode.
The ARDUINO® Uno V3 connectivity support and the ST morpho headers allow the easy expansion of the functionality of the STM32 Nucleo open development platform with a wide choice of specialized shields.
The STM32 Nucleo-64 board does not require any separate probe as it integrates the ST-LINK debugger/programmer.
More information about the board can be found at the Nucleo C542RC website [1].
Hardware
STM32C542RCT6 microcontroller based on the Arm® Cortex®-M33 core in an LQFP64 package
32.768 kHz LSE crystal oscillator
24 MHz HSE crystal oscillator
One user LED
Three push-buttons: user, reset, and boot
USB Type-C® (USB full speed, Device mode)
CAN FD transceiver
Board connectors:
USB Type-C® connector
MIPI10 connector for debugging (SWD, JTAG)
CAN FD connector
ARDUINO® Uno V3 connector
ST morpho expansion connectors for full access to the STM32 I/Os
Flexible power-supply options: ST-LINK USB VBUS, USB connector, or external sources
On-board STLINK-V3EC debugger/programmer with USB re-enumeration capability: mass storage, Virtual COM port, and debug port
More information about STM32C542RC can be found here: STM32C5 reference manual [2]
Supported Features
The nucleo_c542rc 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.
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.
For more details please refer to STM32 Nucleo-64 board User Manual [3].
Programming and Debugging
The nucleo_c542rc board supports the runners and associated west commands listed below.
| flash | debug |
|---|
Nucleo C542RC board includes an STLINK-V3EC embedded debug tool interface.
Applications for the nucleo_c542rc board 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 [4] runner, so its installation is required.
Alternatively, an external JLink (Software and Documentation Package Version >= v8.12e)
can also be used to flash the board using the --runner option:
$ west flash --runner jlink
Flashing an application to Nucleo C542RC
Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b nucleo_c542rc samples/basic/blinky
west flash
You will see the LED blinking every second.
Debugging
You can debug an application in the usual way using the ST-LINK GDB Server. Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b nucleo_c542rc samples/basic/blinky
west debug