Skip to content

USB CAN-FD interface based on the STM32G0 that works well with gs_usb on Linux

License

Notifications You must be signed in to change notification settings

linux-automation/candleLightFD

Repository files navigation

candleLight FD

candleLight FD is a modern, CAN-FD capable version of the candleLight based on a STM32G0B1 microcontroller.

Out of the box it comes with a single CAN channel placed. But footprints for a second CAN channel are available.

The candleLight FD is - like the candleLight - licensed under the CERN OHL v1.2 open hardware license.

candleLight FD revision 1

Where to get one

The candleLight FD is available from Linux Automation as a SMD-assembled and functionally tested kit.

Hardware

Interfaces

The candleLight FD uses a USB-C (USB 2 only) connector to connect to your PC.

CAN is provided on the industry standard D-SUB9 pinout:

  • CAN1:
    • High: Pin 7
    • Low: Pin 2
  • CAN2:
    • High: Pin 8
    • Low: Pin 1
  • Power:
    • 12V: Pin 9 (can be provided via P1)
    • GND: Pin 3, Pin 6

Releases: Revision 1

Manufacturing Data | Schematic | Interactive BOM

(This is the current release.)

Release Notes:

  • Initial release of the candleLight FD.

Firmware

The firmware is based on the candleLight_fw. Select the board config BOARD_candleLightFD when building the firmware.

NOTE: We are currently upstreaming our changes to the candleLight_fw repository. While doing so you can find our sources here.

Programming and Debugging

Everyday programming can be done via USB. Simply invoke dfu-util while the device is running. More information on flashing can be found in the firmware repository.

In case the device is bricked: Short the two pins labeled BOOT while powering on the device. The CPU will start in serial download mode.

For debugging a single wire interface is exposed on X3. It can be connected using a Tag Connect TC2030-IDC-NL adapter. The pinout is derived from the CandleLight.

The pinout is:

* Pin 1: 3V3
* Pin 2: SWCLK
* Pin 3: GND
* Pin 4: SWDIO
* Pin 5: NRST
* Pin 6: (not connected)

This picture shows X3 on the device. X3 is the connector in the lower left corner - below the USB-C connector.

candleLight X3

About

USB CAN-FD interface based on the STM32G0 that works well with gs_usb on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages