Does S32K142EVB support to receive CAN FD frame?

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

Does S32K142EVB support to receive CAN FD frame?

640 Views
liuxing_hu
Contributor III

we config CAN FD TX/RX interface by s32ds, and connect to a CAN FD network, it report error frame when receive CAN FD frame, it's ok when there is not CAN FD message to send to EVB

liuxing_hu_1-1711684701435.png

Does S32K142 mcu support CAN FD frame?

0 Kudos
9 Replies

627 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@liuxing_hu

Yes, the S32K142EVB support CAN FD feature.

 

UJA1169 support CAN FD.

Senlent_0-1711692301486.png

 

FlexCAN0 support CAN FD.

Senlent_1-1711692387222.png

 

0 Kudos

625 Views
liuxing_hu
Contributor III

yes, we use CAN0 in S32k142EVB, but it reports error frame, Could you provide investigation direction? why this issue happen?

0 Kudos

622 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@liuxing_hu

You can provide me your code and I will help you reproduce and test it

0 Kudos

616 Views
liuxing_hu
Contributor III

I'm afraid it's difficult to provide code, it won't reproduce in my own test environment using Canoe, it only can reproduce when connecting with other nodes that sends CAN FD frames

0 Kudos

612 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@liuxing_hu

If you can communicate with CANoe normally, it means there is no problem with S32K142EVB. The possible reasons can be considered to be caused by factors such as buardrate speed, sampling point and terminal resistance.

0 Kudos

602 Views
liuxing_hu
Contributor III

1.buardrate speed

this is the same as 2M.

2.sampling point 

 

liuxing_hu_3-1711704315902.png

sample point of CAN FD is the same, but sample point of CAN is different, does it cause error frames?

3.terminal resistance

I see there is 120 terminal resistance inside S32k142EVB, do I need add another 120 terminal resistance at canoe hardware side ?

Tags (1)
0 Kudos

537 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@liuxing_hu

1.The sample poing for the CAN FD data phase should be the same in all nodes of the network.

so please modify the CAN FD data phase and then try again.

2.If the above modification still has not solved your problem. then try add another 120 terminal resistance at canoe hardware side

0 Kudos

528 Views
liuxing_hu
Contributor III

1.Does it matter that the sample point for the CAN FD arbitration phase is different in all nodes of the network?

2.what does the "Number of buffers" means? Does it matter that set it to 6?

liuxing_hu_0-1711943468766.png

 

Tags (1)
0 Kudos

521 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@liuxing_hu

1.Yes, the sample point for the CAN FD arbitration phase should be configured to the same position in all nodes of the network.

2.this does not affect.

If you set it to 6, the range of message buffer(MB) that can be used is 0~5.
In fact, if the payload is set to 64 byte, the maximum usable MB range of S32K1 can be 0~7

0 Kudos