cancel
Showing results for 
Search instead for 
Did you mean: 

bxcan bit stuffing problem

DCogl
Associate

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

2 REPLIES 2
Uwe Bonnes
Principal III

Missing termination? Bad wiring? Electromagnetic noise?

-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