UCAN

Overview

The FYSETC UCAN is an open-source USB to CAN 2.0B adapter board. More information can be found on the UCAN website and in the UCAN wiki.

Hardware

The UCAN board is equipped with a STM32F072CB microcontroller and features an USB-C connector, a terminal block for connecting to the CAN bus, and two user LEDs. Schematics and component placement drawings are available in the UCAN GitHub repository.

Supported Features

The ucan 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 STM32F072CB PLL is driven by an external crystal oscillator (HSE) running at 8 MHz and configured to provide a system clock of 48 MHz.

Programming and Debugging

The ucan 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).

If flashing via USB DFU, short pins B0 and 3V3 when applying power to the UCAN board in order to enter the built-in DFU mode.

Here is an example for the Blinky application.

# From the root of the zephyr repository
west build -b ucan samples/basic/blinky
west flash