EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Problem with Bit stuffing

Started by Alexander May 3, 2007
Hello 

I have a CAN-Modul with an 8 Bit CAN controller from Infineon
(SAF-C515C-8EM).
The Busload is about 30%.
Sometimes the controller has problems to set the Stuffbit on the right 
possition.
For example:
He sends 6 recessive Bits and than a dominant Bit.
But after 5 equal Bits must follow an other Bit.

I want to know if some one has known this problem?

Thanks 
Alexander


Alexander wrote:

> I have a CAN-Modul with an 8 Bit CAN controller from Infineon > (SAF-C515C-8EM). > The Busload is about 30%. > Sometimes the controller has problems to set the Stuffbit on the right > possition. > For example: > He sends 6 recessive Bits and than a dominant Bit. > But after 5 equal Bits must follow an other Bit.
I consider such a fault extremely unlikely to have been caused by the CAN node. Things like that don't go unnoticed. A mismatch of clock frequencies or bit timings between the C515 and whichever other device you used to count those bits is considerably more likely than an utter failure of a CAN controller to adhere to the CAN spec. As would be some kind of out-of-specs operation of the thing (too fast, constraint violation in CAN timing configuration, wrong voltage, whatever, ...)

The 2024 Embedded Online Conference