1.. zephyr:board:: usb2canfdv1
2
3Overview
4********
5
6The WeAct Studio USB2CANFDV1 is a dedicated USB to CAN FD adapter board. More information can be
7found on the `USB2CANFDV1 website`_.
8
9Hardware
10********
11
12The USB2CANFDV1 is equipped with a STM32G0B1CBT6 microcontroller and features a USB-C connector, a
13terminal block for connecting to the CAN bus, and three LEDs.
14
15Supported Features
16==================
17
18The ``usb2canfdv1`` board configuration supports the following hardware features:
19
20+-----------+------------+-------------------------------------+
21| Interface | Controller | Driver/Component                    |
22+===========+============+=====================================+
23| NVIC      | on-chip    | nested vector interrupt controller  |
24+-----------+------------+-------------------------------------+
25| PINMUX    | on-chip    | pinmux                              |
26+-----------+------------+-------------------------------------+
27| FLASH     | on-chip    | flash memory                        |
28+-----------+------------+-------------------------------------+
29| GPIO      | on-chip    | gpio                                |
30+-----------+------------+-------------------------------------+
31| USB       | on-chip    | USB                                 |
32+-----------+------------+-------------------------------------+
33| FDCAN1    | on-chip    | CAN controller                      |
34+-----------+------------+-------------------------------------+
35
36The default configuration can be found in the defconfig file:
37:zephyr_file:`boards/weact/usb2canfdv1/usb2canfdv1_defconfig`.
38
39Other hardware features are not currently supported by the port.
40
41System Clock
42============
43
44The STM32G0B1CBT6 PLL is driven by an external crystal oscillator (HSE) running at 16 MHz and
45configured to provide a system clock of 60 MHz. This allows generating a FDCAN1 core clock of 80
46MHz.
47
48Programming and Debugging
49*************************
50
51Build and flash applications as usual (see :ref:`build_an_application` and
52:ref:`application_run` for more details).
53
54Here is an example for the :zephyr:code-sample:`blinky` application.
55
56.. zephyr-app-commands::
57   :zephyr-app: samples/basic/blinky
58   :board: usb2canfdv1
59   :goals: flash
60
61.. _USB2CANFDV1 website:
62   https://github.com/WeActStudio/WeActStudio.USB2CANFDV1
63