Does S32K142EVB support to receive CAN FD frame?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Does S32K142EVB support to receive CAN FD frame?

1,417件の閲覧回数
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 件の賞賛
返信
9 返答(返信)

1,404件の閲覧回数
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 件の賞賛
返信

1,402件の閲覧回数
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 件の賞賛
返信

1,399件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@liuxing_hu

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

0 件の賞賛
返信

1,393件の閲覧回数
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 件の賞賛
返信

1,389件の閲覧回数
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 件の賞賛
返信

1,379件の閲覧回数
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 ?

タグ(1)
0 件の賞賛
返信

1,314件の閲覧回数
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 件の賞賛
返信

1,305件の閲覧回数
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

 

タグ(1)
0 件の賞賛
返信

1,298件の閲覧回数
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 件の賞賛
返信