Files
stm32samples/F0:F030,F042,F072/usbcan_gpio/Readme.md
2026-03-11 23:40:39 +03:00

21 lines
574 B
Markdown

USB-CAN adapter
===============
Based on [USB-CAN](https://github.com/eddyem/stm32samples/tree/master/F0%3AF030%2CF042%2CF072/usbcan_ringbuffer).
Unlike original (only USB-CAN) adapter, in spite of it have GPIO contacts on board, this firmware allows to use both
USB-CAN and GPIO.
The old USB-CAN is available as earlier by /dev/USB-CANx, also you can see new device: /dev/USB-GPIOx.
New interface allows you to configure GPIO and use it's base functions: in/out/ADC.
## DMA channels
DMA1 channel 1: ADC
DMA1 channel 4: USART[1,2]_TX
DMA1 channel 5: USART[1,2]_RX