Exploring CAN Protocol

Apologies for the delay in replying. I wanted to take some time to understand the CAN protocol better, so I was going through the documentation and some learning resources.

https://en.wikipedia.org/wiki/CAN_bus#Frames_&_message_structure

Now I’d like to explain what I’ve understood so far, and I’d really appreciate your help in verifying it and helping me implement a simple two-node CAN setup.

We have two nodes:

  • Node A (Sender): Sends CAN messages.
  • Node B (Receiver): Receives messages and performs an action based on the data for example, blinking an LED.

Message Example:

Node A sends a command:

  • 0x01 → Start LED blinking
  • 0x00 → Stop LED blinking

I’d now like to move with hands-on experiments using two nodes. I want to:

  • Set up Node A to send command messages over CAN.
  • Set up Node B to receive those messages and blink an LED accordingly.