Hi,
We need to implement a CAN FD communication with 1Mb/s as bitrate.
Unfortunately it's not working. The data would be written correct in the RAM, but in Canoe there is no message incomming. I've attached the ESR1, the CAN_init and a function to send a message.
Hope you can help me.
Sandra
Solved! Go to Solution.
Hi Petr,
thx for your reply. We tested the FlexCAN example, but with the same failures.
We detect, that our controller has some issues with the soldering pads.
Best regards
Sandra
Hi,
seems you are detecting bit errors during transmission which leads to entering bus off state and recovering and so on. A cause of bit error detection can be various, most often inactive CAN transceiver, incorrect bit rate setting, etc.
It would be great to measure TX/RX and CAN line with scope-analyzer to see real signal as well.
For your code, seems you have wrong setting for CBT register. I can recommend to use below tool which helps you with calculation
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5xxx-S32Kxx-LPCxxxx-CAN-CAN-FD-bit-timing-cal...
BR, Petr
Hi Petr,
thx for your reply. We tested the FlexCAN example, but with the same failures.
We detect, that our controller has some issues with the soldering pads.
Best regards
Sandra