Hi all,
Currently i am working on implementation of CAN communication protocol on TMS320F28035 board.For now i am only checking transmission of data frames.
CAN is in Standard mode.I am testing my CAN communication on PEAK systems CAN BUS Analyzer-PCAN. At 1 Mbps,every data transmitted by TMS is received correctly on PCAN.
But when i go for lower bit rates like 500 Kbps or 250 Kbps.I am not able to receive my data correctly.
After some workaround i have found that it is related to stuff error.
For eg: when i transmitData High = 0xAAAAAAAA and Data Low = 0x55555555
there is no problem because there is no stuffing required(No consecutive bits).
For eg: Data High = 0x00000000 and Data Low = 0x00000001 - i am observing problem due to lot of stuff required.
So problem is as stuffing required to be done in data bits is increasing ,error is also receiving.
Can anyone please tell me solution for this problem? I do not wanted to restricted in terms of data.