Failing to receive CAN-FD frames at CAN0 interface of MPC5746C MCU

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

Failing to receive CAN-FD frames at CAN0 interface of MPC5746C MCU

跳至解决方案
2,613 次查看
ssure
Contributor III

Hi,

We are using MPC5746C MCU (Part No. - SPC5746CBMMJ6) -1N84S maskset & TJA1145T (FDT0009) CAN Transceiver.

I am trying to send CAN-FD frames from PCAN (PCAN-USB PRO FD) at 500Kbps bitrate to CAN MCU but I am seeing error passive warning or bus-off state at PCAN & also observing error passive state from FLTCONF bit in ESR register of CAN0 along with stuff bit, frame & CRC errors as shown in the below snapshot.

 

ssure_0-1626192111040.png

When I try to send classic CAN frame, I am not seeing any errors at PCAN side & able to receive these CAN frames at CAN MCU once individual HW filter is enabled.

I have made sure that FDEN bit in MCR register is set to '1' as shown below:

ssure_1-1626192313634.png

 

Please help me in fixing this CAN-FD frames reception issue.

Thanks,

Satya Sudhir

 

 

标记 (4)
0 项奖励
回复
1 解答
2,607 次查看
ssure
Contributor III

I am able to resolve above issue & receive CAN-FD frames by enabling CAN FD ISO Mode in PCAN as shown below:

ssure_0-1626194265687.png

As ISO mode is enabled in the CAN driver of CAN MCU, it needs to be enabled at PCAN as well. 

 

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,608 次查看
ssure
Contributor III

I am able to resolve above issue & receive CAN-FD frames by enabling CAN FD ISO Mode in PCAN as shown below:

ssure_0-1626194265687.png

As ISO mode is enabled in the CAN driver of CAN MCU, it needs to be enabled at PCAN as well. 

 

0 项奖励
回复