Tech & AIInside Embedded | PolezeroEverything About CAN Bus | CAN Protocol Explained: Arbitration, Frames, CAN FD, STM32 & DBC

Everything About CAN Bus | CAN Protocol Explained: Arbitration, Frames, CAN FD, STM32 & DBC

3.1× channel medianLong-form1:09:51EducationPublished Oct 20, 2026, 3:03 PM · 2d ago
Views
40,673
+604 views/hour
Views / hour now
604
measured 2h ago
Peak views / hour
1.6K
20h ago
First 24 hours
—
not tracked from upload
Engagement
1.3%
likes + comments / views
Likes
481
1.2% of views
Comments
26
0.06% of views
Est. ad revenue
$370–$846
lifetime, $9.1–20.8 RPM

Checked every 3 h while the video is this age · last check 2h ago · next in 16 min. YouTube itself updates public counts with a short delay.

Avg views / day
18.3K
since upload
vs channel median
3.1×
this video's views ÷ the channel's usual
Rank in channel
#2
of 23 tracked

Views over time

33 readings

Total views Views gained per hour

Description

#CANBus #CANFD #STM32 #EmbeddedSystems #AutomotiveEngineering #CANProtocol How can dozens of ECUs communicate over just two wires, without a master or individual node addresses? In this complete CAN Bus tutorial, you'll learn how the Controller Area Network (CAN) protocol actually works, from electrical signals and non-destructive arbitration to CAN FD, STM32 firmware implementation, and real-world automotive communication. This is a comprehensive, engineering-focused guide that connects CAN theory with practical embedded systems development. What you'll learn in this video: - CAN Bus Fundamentals: Why CAN is used in vehicles, how ECUs communicate, message IDs, broadcasting, and acceptance filtering. - Physical Layer: CAN_H and CAN_L, differential signaling, dominant and recessive bits, 120-ohm termination, and noise immunity. - CAN Arbitration: How multiple nodes transmit without destructive collisions and why lower message IDs have higher priority. - CAN Frame Structure: Standard and extended frames, bit stuffing, CRC, ACK, and error detection. - CAN Error Handling: Bit errors, stuff errors, CRC errors, error counters, error-active/passive states, and bus-off recovery. - Bit Timing: Time quanta, sample points, propagation delay, synchronization, SJW, and baud rate configuration. - CAN FD Explained: Classical CAN vs. CAN FD, 64-byte payloads, bit rate switching, transmitter delay compensation, and communication efficiency. - STM32 CAN Programming: Practical FDCAN implementation using the STM32G474, STM32CubeMX configuration, message transmission, acceptance filters, reception, interrupts, and loopback testing. - DBC Files and Signal Decoding: Message definitions, scaling factors, offsets, Intel/Motorola byte order, and decoding raw CAN data. - Real-World Engineering: CANoe, CANalyzer, SocketCAN, SavvyCAN, oscilloscope debugging, bus load, timeout monitoring, and higher-layer protocols. Throughout the video, we follow a real example message with CAN ID 0x120, showing how motor speed, battery voltage, temperature, and operating state are encoded, transmitted, received, and decoded. Whether you're learning CAN Bus for the first time or implementing automotive communication in an embedded system, this course is designed to help you understand both the underlying principles and their practical applications. TIMESTAMPS 00:00 Introduction: How CAN Bus Works 00:26 Why Cars Need CAN Communication 02:12 CAN Nodes, Message IDs, and Acceptance Filters 04:19 CAN_H, CAN_L, and Differential Signaling 06:42 120-Ohm Termination and Wiring 08:10 Dominant vs. Recessive Bits and Wired-AND 11:04 CAN Arbitration: How Message Priority Works 15:12 Classical CAN Frame Structure and Extended IDs 19:12 Bit Stuffing, CRC, and ACK 23:11 Five CAN Error Types and Error Frames 25:16 Error Counters, Fault Confinement, and Bus-Off 29:38 CAN Bit Timing, Sample Points, and SJW 34:07 Classical CAN vs. CAN FD 36:10 CAN FD Frame Format, BRS, DLC, and CRC 39:44 Transmitter Delay Compensation (TDC) 42:46 CAN FD Compatibility and Signal Integrity 44:10 STM32G474 FDCAN Hardware and Configuration 46:49 STM32 CAN Transmission and Data Encoding 49:41 Acceptance Filters and CAN Reception 52:58 Loopback Testing and Production Firmware 54:54 DBC Files and CAN Signal Decoding 59:22 Intel vs. Motorola Byte Order 1:01:05 Professional CAN Development Tools and Workflow 1:04:18 Practical CAN Design and Troubleshooting 1:07:10 ISO-TP, UDS, J1939, and CANopen 1:08:28 Final Summary: A CAN Message from Start to Finish MORE EMBEDDED SYSTEMS COURSES Free STM32 Full Course (Register-Level Programming): https://www.youtube.com/watch?v=xo0x86i2F84 Hands-On Embedded Systems Course (Hardware, PCB Design, STM32, and BLDC Motor Control): https://polezero0.com/embedded-hardware-pcb-stm32-bldc/#pz-before-enroll If you have questions about CAN Bus, CAN FD, STM32, or embedded development, leave a comment below. Subscribe to POLEZERO for in-depth engineering tutorials covering embedded systems, electronics, PCB design, and motor control.
Tags
CAN bus explainedCAN bus tutorialController Area NetworkCAN protocolCAN FD explainedCAN FD tutorialCAN arbitrationCAN frame formatCAN bus terminationCAN transceiverCAN_H CAN_Ldominant recessiveCAN bit timingCAN bus errorsbus offSTM32 CAN tutorialSTM32 FDCANSTM32G474STM32CubeMXCAN DBC fileIntel vs Motorola endianSocketCANCANalyzerCANoeCAN bus troubleshootingautomotive embedded systemsPOLEZERO

Statistics from the YouTube Data API, tracked by FameX. Views per hour, revenue and comparisons are FameX estimates.