CAN PROBLEMS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-10-07 11:08 PM
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:56 AM
Posted on May 17, 2011 at 09:56
I have a microntoller (PIC) sending every 100mS a 8 bytes long message.
On STR912 side, I have defined a msgobject to receive this message. The message I receive is sometimes (1 on 1000) corrupted. It is always the same byte has the same incorrect bit. Bitrate is on both sides 500K and is correct. I changed bitrate to 100KB with no result. I am sure that the message on the CANbus itself is correct. I capture the CAN message with a PC with CAN card. To receive message I use the CAN_Receivemessage() function of the ST-library (no interrupt is used). Any idea what I could try ? Is it necessary to call CAN_Releaseobject each time I call CAN_Receivemessage() ? LucOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:56 AM
Posted on May 17, 2011 at 09:56
I decreased the PCLK to 48MHz. Problem seems to be solved...
Another item in the errata list ?Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:56 AM
Posted on May 17, 2011 at 09:56
Check out the datasheet. It clearly states the maximum frequency of PCLK is 48MHz in the electrical specifications section.
I know there's missing parts and ambiguities, but you should familiarise yourself with what is there.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 12:56 AM
Posted on May 17, 2011 at 09:56
shame on me !
