USBCANFD SOLO
Overview
The USBCANFD SOLO is a high-performance 1-channel USB to CAN FD adapter board supporting data rates up to 8 Mbps. More information can be found on the can-module.com website.
Hardware
The USBCANFD SOLO board is equipped with an STM32G431C8 microcontroller and features galvanic isolation, status LEDs for the CAN channel, and software-configurable boot settings for entering the built-in bootloader mode.
Default Zephyr Peripheral Mapping
CAN_RX/BOOT0 : PB8
CAN_TX : PB9
ledRX : PA6
ledTX : PA5
USB_DN : PA11
USB_DP : PA12
SWDIO : PA13
SWCLK : PA14
NRST : PG10
Supported Features
The usbcanfd_solo 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.
System Clock
The FDCAN1 peripheral is driven by PLLQ, which has a frequency of 80 MHz.
Programming and Debugging
The usbcanfd_solo board supports the runners and associated west commands listed below.
| flash | debug |
|---|
Build and flash applications as usual (see Building an Application and Run an Application for more details).
Flashing
Flashing via USB DFU requires access to the built-in ROM bootloader. Since the board does not
have a physical BOOT0 pin, entry into DFU mode must be managed via option bytes.
Use an external debugger (such as ST-LINK) to change the nswBoot0 bit to 1 to enter DFU mode.
After flashing the firmware via USB DFU, you must change the nswBoot0 bit back to 0
to ensure normal boot behavior from Flash memory.
Alternatively, you can flash the board directly using an ST-LINK debugger.
Here is an example for the Blinky application.
# From the root of the zephyr repository
west build -b usbcanfd_solo samples/basic/blinky
west flash