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

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

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

Jump to solution
1,917 Views
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

 

 

Tags (4)
0 Kudos
1 Solution
1,911 Views
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. 

 

View solution in original post

0 Kudos
1 Reply
1,912 Views
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 Kudos