User Tools

Site Tools


can_interfaces

This is an old revision of the document!


CAN Interfaces

USB CAN adapters can show as follows on Linux.

Serial Line CAN

A serial port appears. slcand can talk to it.

SocketCAN

A can network device appears. e.g. can0, shown by ifconfig.

Manually set bitrate for NMEA2000 (prob not normally needed):

ip link set can0 up type can bitrate 250000

https://www.kernel.org/doc/html/v5.11/networking/can.html

CANable is a USB - CAN interface using an STM32F072. CANable firmware does slcan. candleLight firmware does Linux native / SocketCAN.

can_interfaces.1710011502.txt.gz · Last modified: 2024/03/09 19:11 by river

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki