This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28388S: CAN FD issues

Expert 1700 points
Part Number: TMS320F28388S
Other Parts Discussed in Thread: SYSCONFIG

hello,

I am trying to use CAN FD-nominal speed 1Mhz and Data 4MHz and i get a repeating error message every ~8-8.5 seconds

my program is very simple (for simplicity debugging) - it just sends TX telegrams (see attached print screen)

I have check my HW parameters and also using a scope to check the signal and all is ok.

some background:

before going to 4Mhz, I have checked using the 2Mhz data rate to see that my clocks and configurations are correct - on 2Mhz rate the CAN FD worked just fine with no error at all.

the problem happens only with the 4 Mhz rate .

checking the PSR register - i could see that the "passive error" was turned on - means that more than 127 error frames has been detected, however 

when i looked at the LEC or the DLEC bits - the value was STUCK on 0x7 -> which mean the same state as before (this happens in 2 and in 4 rate speed) - so i can get any data out of it..

i also tried to change the DBTP and the TDCR registers to see if it might help - with no success. 

asking for your help

thanks a lot