Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

What is exactly error CanWarnCommStuff?

Well, I have the same message when i use low or high speed and i try to read a message from the microcontroller.I don´t know if the problem is because i connect something wrong(the port) or it can be another problem such as noise.When i trasmit a message i can see it in the bus with the osciloscope.
I am using a PCMCIA and a CAN/DS cable, and i am connecting CAN_H ,CAN_L and V-(ground).
0 Kudos
Message 1 of 2
(3,575 Views)
Hi,

A stuff error is when 6 or more bits are detected with the same value. The CAN especification uses bit stuffing. If the transmitter detects a bit string of more that five bits with the same value, it will add a bit of the complementary bit value.

According to the CAN spec"

"STUFF ERROR
A STUFF ERROR has to be detected at the bit time of the 6th consecutive equal bit
level in a message field that should be coded by the method of bit stuffing."

Check the Bosch CAN homepage for the specification document.

DiegoF
National Instruments.
0 Kudos
Message 2 of 2
(3,574 Views)