Unable to transmit or receive BRS enabled CAN-FD frames from MPC5746c MCU to PCAN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to transmit or receive BRS enabled CAN-FD frames from MPC5746c MCU to PCAN

1,118 Views
ssure
Contributor III

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

0 Kudos
2 Replies

1,088 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, I would offer following excel calculator, as I suppose you have incorrect CAN timing setup:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5xxx-S32Kxx-CAN-CAN-FD-bit-timing-calculation...

Let me know if it helps or not

0 Kudos

1,116 Views
ssure
Contributor III

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.

0 Kudos