2008-10-07 11:08 PM
2011-05-17 12:56 AM
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() ? Luc2011-05-17 12:56 AM
I decreased the PCLK to 48MHz. Problem seems to be solved...
Another item in the errata list ?2011-05-17 12:56 AM
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.2011-05-17 12:56 AM
shame on me !