CAN - Deep Dive into Baud Rate & Error Handling Model
Talkat Embedded Linux Conference @ Open Source Summit North America 2022 · on Friday, 2022-06-24· at 12:00· Room 201/202 (Level 2), JW Marriott Austin, 110 E 2nd Street Austin, TX 78701·
summary
Covers concrete CAN configuration and error numbers rather than high‑level platitudes — shows bit timing math using a 42 MHz peripheral clock to get 500 kbps with 14 time quanta, describes BRP/SJW/prop/phase segment choices, gives a message RAM allocation example like 128/64/64, explains SocketCAN integration and mcans device tree properties, details error counters (TX increment +8, RC/TC thresholds at 127 and >255 leads to bus-off), and demos can-utils commands like can_send and candump.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 0:51Agenda
- 5:34Features of CAN
- 7:01BUS Details
- 12:19CAN in Automotive
- 13:29CAN Architecture
- 15:18CAN Device Node
- 17:51CAN Timing Configuration
- 21:13Clock Synchronization
- 24:13CAN Timing Structure
- 25:01CAN Message Types
- 27:16CAN DataFrame
- 33:51CAN Frame Structure
- 35:24Error Handling Model
- 39:09Error confinement method
- 42:06Error framework structure
- 43:25Why CAN fails
- 44:49CAN utils
- 46:07CAN commands
- 47:24Conclusion
related talks
49mHopping on the CAN Bus
41mIt's easier to break than to patch: a stealthy DoS attack on CAN
57mWhat Qt CAN Bus improvements mean for Controller Area Networks (CANs)
39mCAN Bus in Control, Automotive and Satellites
58mA Deep Dive into Qt CAN Bus
54mCantact: An Open Tool for Automative Exploitation
42mCanspy: A Platform for Auditing Can Devices
32mNo cars were harmed for this talk: Automotive Rust, amateur style
