1.. zephyr:board:: ucan
2
3Overview
4********
5
6The FYSETC UCAN is an open-source USB to CAN 2.0B adapter board. More information can be found on
7the `UCAN website`_ and in the `UCAN wiki`_.
8
9Hardware
10********
11
12The UCAN board is equipped with a STM32F072CB microcontroller and features an USB-C connector, a
13terminal block for connecting to the CAN bus, and two user LEDs. Schematics and component placement
14drawings are available in the `UCAN GitHub repository`_.
15
16Supported Features
17==================
18
19.. zephyr:board-supported-hw::
20
21System Clock
22============
23
24The STM32F072CB PLL is driven by an external crystal oscillator (HSE) running at 8 MHz and
25configured to provide a system clock of 48 MHz.
26
27Programming and Debugging
28*************************
29
30.. zephyr:board-supported-runners::
31
32Build and flash applications as usual (see :ref:`build_an_application` and
33:ref:`application_run` for more details).
34
35If flashing via USB DFU, short pins ``B0`` and ``3V3`` when applying power to the UCAN board in
36order to enter the built-in DFU mode.
37
38Here is an example for the :zephyr:code-sample:`blinky` application.
39
40.. zephyr-app-commands::
41   :zephyr-app: samples/basic/blinky
42   :board: ucan
43   :goals: flash
44
45.. _UCAN website:
46   https://www.fysetc.com/products/fysetc-ucan-board
47
48.. _UCAN wiki:
49   https://wiki.fysetc.com/UCAN/
50
51.. _UCAN GitHub repository:
52   https://github.com/FYSETC/UCAN/
53