I'm Working on CAN protocol. Its worked good in loopback mode . but while executing in normal mode it will show dominant bit error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-22 2:49 AM
using STM32f103c8t6 and transceiver MCP2551. This transceiver working well in with other controllers.
- Labels:
-
CAN
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-22 5:04 AM
Still think you need to review transceiver, wiring, speed and bus traffic.​
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-22 5:17 AM
already checked everthing..speed 1Mhz, terminate with 120 ohm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-22 6: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-22 8:06 AM
So is the controller wrong about the error? Have you confirmed the signal integrity with a scope or analyzer?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-11 3:59 AM
only checked using ST LINK debugger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-11 4:00 AM
Crystal based. 8Mhz
