cancel
Showing results for 
Search instead for 
Did you mean: 

I'm Working on CAN protocol. Its worked good in loopback mode . but while executing in normal mode it will show dominant bit error.

sG.12
Associate II

using STM32f103c8t6 and transceiver MCP2551. This transceiver working well in with other controllers.

6 REPLIES 6

Still think you need to review transceiver, wiring, speed and bus traffic.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
sG.12
Associate II

already checked everthing..speed 1Mhz, terminate with 120 ohm

Jack Peacock_2
Senior III

If loopback works then the first thing to look at is how the other node is configured, especially the bit timing. Check the timing on your other node and make sure the STM32 matches it.

Is your timing crystal based or an RC oscillator? RC based timing has considerable drift, especially running at a 1MHz bus rate.

Jack Peacock

So is the controller wrong about the error? Have you confirmed the signal integrity with a scope or analyzer?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

only checked using ST LINK debugger.

Crystal based. 8Mhz