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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,468 次查看
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

标记 (6)
0 项奖励
回复
2 回复数

1,438 次查看
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 项奖励
回复

1,466 次查看
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 项奖励
回复