I have configured Nominal bitrate to 1Mbps & Data bitrate to 5Mbps in MPC5746c Microcontroller.
I am able to send & receive CAN-FD frames (non-BRS) from MPC5746c to PCAN and able to send legacy/classic CAN frames also but unable to receive BRS CAN-FD frames.
Below is the configuration done in CBT & FDCBT registers:
.CBT = {
.propSeg = 20,
.phaseSeg1 = 7,
.phaseSeg2 = 9,
.preDivider = 0,
.rJumpwidth = 9
},
.FD_CBT = {
.propSeg = 1,
.phaseSeg1 = 2,
.phaseSeg2 = 1,
.preDivider = 0,
.rJumpwidth = 1
},
Also, I have enabled TDC & set TDC offset to 4.
Could you please suggest how to resolve this issue related to BRS CAN-FD frames reception/transmission
Hi, I would offer following excel calculator, as I suppose you have incorrect CAN timing setup:
Let me know if it helps or not
Whenever BRS enabled CAN-FD frames are sent from PCAN, I am getting error passive warning & also, whenever I try to send BRS enabled CAN-FD frames from MPC5746c, I could see that Tx error counter is incrementing & it is also entering into error passive or bus off after some period.