CAN Protocol and Bus
Intro: https://www.youtube.com/watch?v=JZSCzRT9TTo
...
2. Software Tools
PCAN-View (Peak System) - Free
Use Case: Monitoring and analyzing CAN traffic
How to Use:
Connect PCAN-USB adapter to CAN bus
Launch PCAN-View, set baud rate, and start monitoring
Apply filters, send messages, and log data for offline analysis
Kvaser CANlib (Kvaser) - Free SDK, but needs Kvaser hardware
Use Case: Developing custom CAN applications, monitoring, and analyzing traffic
How to Use:
Connect Kvaser hardware to CAN bus
Install CANlib SDK, use CANlib Visual for monitoring
Configure channels, send messages, and use scripting for automation
CANalyzer (Vector Informatik) - Paid
Use Case: Detailed analysis, simulation, and bus load measurement
How to Use:
Connect Vector CAN hardware to CAN bus
Launch CANalyzer, configure channels, and start monitoring
Use simulation features, log and replay traffic, and analyze bus load
https://www.vector.com/int/en/products/products-a-z/software/canalyzer/#
SocketCAN (Linux) - Free
Use Case: Open-source CAN interface for Linux with standard tools
How to Use:
Install
can-utils
and set up CAN interfaceUse
candump
to monitor,cansend
to send messages, andcanplayer
to replay logged traffic
...
How to create DBC files:
Really basic, not suppperr usefulGeneral DBC file overview & creation: https://www.youtube.com/watch?v=QTx1g4opXPMXnno4wTsi8Q
Good for sensors: https://www.youtube.com/watch?v=mAL1Xo2G9-4
Decent: https://www.youtube.com/watch?v=4USUH5chqnI
How is Pixhawk encoding the PWM Data
...