Hi there - I was just reading about priority of CAN messages - and want to confirm a couple things:
First of all, my understanding is that, between frames of the same type (standard vs extended) - the lower the identifier, the higher the priority. So if two nodes both sent messages at the exact same time, one with an identifier of 1 and the other with an identifier of 10, the frame with an identifier of 1 would win arbitration.
Now - what about between frames of different types? My understanding is that, if the first 11 bits are the same between two CAN messages sent at the same time, the standard frame will win arbitration over the extended frame.
Is this all correct?
Lastly - what happens when two nodes send a frame with the same ID and the same type? I understand this is illegal - but still. Would the arbitration just happen as soon as soon as the two frames differed in a bit?
Thanks!
-Michael