CAN FD Remote Frame Response Not Received on S32K (ST05 board)

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

CAN FD Remote Frame Response Not Received on S32K (ST05 board)

794 次查看
Harisha
Contributor I

Description:
Hello,

I am working on a CAN FD setup where I am using the ST05 board as one node and PeakCAN as the other.

  • From ST05, I send a remote frame.

  • On PeakCAN, I can see this remote frame in PeakView.

  • Then, I manually send a data frame (with the same ID) from PeakCAN as a response.

Problem:
The ST05 board does not receive the data frame response.

Note:

  • I am using one message buffer. The buffer is first used to transmit the remote frame, and then it automatically switches to RX mode after sending.

  • Remote frame transmission is working fine, but the response data frame is not being received.

Question:

  • Is there any restriction on using the same message buffer for sending a remote frame and then receiving the corresponding data frame?

  • Do I need to configure a separate RX message buffer for receiving the data frame after the remote frame is sent?

  • Or is there some configuration in FlexCAN that I am missing?

Thanks in advance!

标记 (1)
0 项奖励
回复
1 回复

774 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

In CAN FD, remote frames are not supported at all - the Remote Request Substitution (RRS) is always dominant (0). When configuring TX MB to send CAN FD frames, RTR must be 0, and so there will be no switch to RX MB.
For Classical CAN frame the RTR is valid and switch to RX MB would work on FlexCAN.

BR, Petr

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2175459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K%EF%BC%88ST05%20%E6%9D%BF%EF%BC%89%E4%B8%8A%E6%9C%AA%E6%94%B6%E5%88%B0%20CAN%20FD%20%E8%BF%9C%E7%A8%8B%E5%B8%A7%E5%93%8D%E5%BA%94%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175459%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSTRONG%3E%E8%AF%B4%E6%98%8E%EF%BC%9A%3C%2FSTRONG%3E%3CBR%20%2F%3E%E4%BD%A0%E5%A5%BD%E3%80%81%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5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%93%E5%86%B2%E5%8C%BA%E6%98%AF%E5%90%A6%E6%9C%89%E4%BB%BB%E4%BD%95%E9%99%90%E5%88%B6%EF%BC%9F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%E6%88%91%E6%98%AF%E5%90%A6%E9%9C%80%E8%A6%81%E9%85%8D%E7%BD%AE%E5%8D%95%E7%8B%AC%E7%9A%84%20RX%20%E6%8A%A5%E6%96%87%E7%BC%93%E5%86%B2%E5%8C%BA%EF%BC%8C%E4%BB%A5%E4%BE%BF%E5%9C%A8%E5%8F%91%E9%80%81%E8%BF%9C%E7%A8%8B%E5%B8%A7%E5%90%8E%E6%8E%A5%E6%94%B6%E6%95%B0%E6%8D%AE%E5%B8%A7%EF%BC%9F%3C%2FP%3E%3C%2FLI%3E%3CLI%3E%3CP%3E%E8%BF%98%E6%98%AF%E6%88%91%E9%81%97%E6%BC%8F%E4%BA%86%20FlexCAN%20%E4%B8%AD%E7%9A%84%E6%9F%90%E4%BA%9B%E9%85%8D%E7%BD%AE%EF%BC%9F%3C%2FP%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%E6%8F%90%E5%89%8D%E6%84%9F%E8%B0%A2%EF%BC%81%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2175703%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20CAN%20FD%20Remote%20Frame%20Response%20Not%20Received%20on%20S32K%20(ST05%20board)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175703%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E5%9C%A8%20CAN%20FD%20%E4%B8%AD%EF%BC%8C%E5%AE%8C%E5%85%A8%E4%B8%8D%E6%94%AF%E6%8C%81%E8%BF%9C%E7%A8%8B%E5%B8%A7%20-%20%E8%BF%9C%E7%A8%8B%E8%AF%B7%E6%B1%82%E6%9B%BF%E6%8D%A2%20(RRS)%20%E5%A7%8B%E7%BB%88%E5%8D%A0%E4%B8%BB%E5%AF%BC%E5%9C%B0%E4%BD%8D%20(0)%E3%80%82%E5%BD%93%E9%85%8D%E7%BD%AE%20TX%20MB%20%E5%8F%91%E9%80%81%20CAN%20FD%20%E5%B8%A7%E6%97%B6%EF%BC%8CRTR%20%E5%BF%85%E9%A1%BB%E4%B8%BA%200%EF%BC%8C%E5%9B%A0%E6%AD%A4%E4%B8%8D%E4%BC%9A%E5%88%87%E6%8D%A2%E5%88%B0%20RX%20MB%E3%80%82%3CBR%20%2F%3E%E5%AF%B9%E4%BA%8E%E7%BB%8F%E5%85%B8%20CAN%20%E5%B8%A7%EF%BC%8CRTR%20%E6%98%AF%E6%9C%89%E6%95%88%E7%9A%84%EF%BC%8C%E5%88%87%E6%8D%A2%E5%88%B0%20RX%20MB%20%E5%B0%86%E5%AF%B9%20FlexCAN%20%E8%B5%B7%E4%BD%9C%E7%94%A8%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%2C%20Petr%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E