Skip to main content
DCogl
Associate
October 11, 2019
Question

bxcan bit stuffing problem

  • October 11, 2019
  • 1 reply
  • 896 views

I have a board with stm32f415 that use the bxcan that continuosly (8 packet every 10 seconds ) trasmit to another receiver board that use Microchip MSC2515 as CAN controller.

Some of the packet that i sent from STM32F415 contains all zeros bits. I have used a CAN Analyzer that detect many RX_Error passive. I have try to change the content of my packet replacing the 0x00 byte to 0xAA byte and magically the RX_error counter of the CAN Analyzer does not increase.

There may be a difference of bit stuffing implementation between Microchip CAN controller and ST can bxcan Controller ?

Or there is a configuration bit to set HW bit stuffing?

thanks

Dario

This topic has been closed for replies.

1 reply

Uwe Bonnes
Chief
October 14, 2019

Missing termination? Bad wiring? Electromagnetic noise?

DCogl
DCoglAuthor
Associate
October 14, 2019

-n°2 120R are place at the ends of the bus

-I have used CAT6 cable , but the distance is max 15 meters and baud rate is only 50Kbps

-Electromagnetic noise? I believe not, because the same behavior is done both at home and in the factory