2019-01-22 02:49 AM
using STM32f103c8t6 and transceiver MCP2551. This transceiver working well in with other controllers.
2019-01-22 05:04 AM
Still think you need to review transceiver, wiring, speed and bus traffic.
2019-01-22 05:17 AM
already checked everthing..speed 1Mhz, terminate with 120 ohm
2019-01-22 06:05 AM
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
2019-01-22 08:06 AM
So is the controller wrong about the error? Have you confirmed the signal integrity with a scope or analyzer?
2019-02-11 03:59 AM
only checked using ST LINK debugger.
2019-02-11 04:00 AM
Crystal based. 8Mhz