How to Send and Receive multi-frame using CANTP in S32G3 processor?

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

How to Send and Receive multi-frame using CANTP in S32G3 processor?

跳至解决方案
1,029 次查看
vstephe
Contributor I

We are planning to procure S32G3 series Processor (S32G399A) and would require multi CAN frame support. We could see it supports 16 BCAN and 4 FlexCAN. But no information is identified regarding Multiframe support using CANTP. 

Please Clarify whether S32G3 series support CANTP or not?

0 项奖励
回复
1 解答
953 次查看
Joey_z
NXP Employee
NXP Employee

hi,vstephe

Thank you for your information and reply.

BR

Joey

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,013 次查看
Joey_z
NXP Employee
NXP Employee

hi,vstephe

Thank you for contacting us.

CanTP is the upper layer software behavior. It should configure the functions in the upper layers. As far as I know, CANNTP is an upper-level concept. When it reaches the CANIF layer, it will separate CANTP and eventually become a CAN/CANFD message. For CAN2ETH, LLCE will only forward CAN/CANFD messages.

BR

Joey

0 项奖励
回复
996 次查看
vstephe
Contributor I

@Joey, Thanks for the prompt response.

We understand that CANTP is a software concept which is extention of BCAN (Basic CAN) protocol.
CANTP support is required to send more than 8 bytes of CAN data.

With this understanding, I could not find the information how to enable CANTP protocol in S32G3 series (A53 core/Application processor).
Can you please guide us how to initialize CANTP and any CAN controller configuations to be done for the same?

0 项奖励
回复
973 次查看
Joey_z
NXP Employee
NXP Employee

hi,vstephe

Thank you for your reply.

For CAN2ETH, LLCE will only forward CAN/CANFD messages. That is, CAN frames of up to 64Bytes are forwarded. For the description mentioned in the question, only by splitting the TP frame. 

We have the CAN controller configurations guide, such as, AN13423(nxp.com.cn/docs/en/application-note/AN13423.pdf) and the llce user guide. 

Hope it can help you.

BR

Joey

 

 

0 项奖励
回复
960 次查看
vstephe
Contributor I
Thanks Joey,
Got the required file for CANTP support in the BSP package provided by NXP as below.
isotp.c - ISO 15765-2 CAN transport protocol is included in RTD (Automotive SW for S32G3 – Linux BSP)
0 项奖励
回复
954 次查看
Joey_z
NXP Employee
NXP Employee

hi,vstephe

Thank you for your information and reply.

BR

Joey

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2079431%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%A6%82%E4%BD%95%E5%9C%A8S32G3%E5%A4%84%E7%90%86%E5%99%A8%E4%B8%AD%E4%BD%BF%E7%94%A8CANTP%E5%8F%91%E9%80%81%E5%92%8C%E6%8E%A5%E6%94%B6%E5%A4%9A%E5%B8%A7%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079431%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E4%BB%AC%E8%AE%A1%E5%88%92%E9%87%87%E8%B4%ADS32G3%E7%B3%BB%E5%88%97%E5%A4%84%E7%90%86%E5%99%A8%EF%BC%88%20%3CSPAN%3ES32G399A%EF%BC%89%EF%BC%8C%E9%9C%80%E8%A6%81%E6%94%AF%E6%8C%81%E5%A4%9ACAN%E5%B8%A7%E3%80%82%E6%88%91%E4%BB%AC%E5%8F%AF%E4%BB%A5%E7%9C%8B%E5%88%B0%E5%AE%83%E6%94%AF%E6%8C%8116%E4%B8%AABCAN%E5%92%8C4%E4%B8%AAFlexCAN%E3%80%82%E4%BD%86%E7%9B%AE%E5%89%8D%E8%BF%98%E6%B2%A1%E6%9C%89%E5%85%B3%E4%BA%8E%E4%BD%BF%E7%94%A8CANTP%E6%94%AF%E6%8C%81%E5%A4%9A%E5%B8%A7%E7%9A%84%E4%BF%A1%E6%81%AF%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E8%AF%B7%E6%BE%84%E6%B8%85S32G3%E7%B3%BB%E5%88%97%E6%98%AF%E5%90%A6%E6%94%AF%E6%8C%81CANTP%EF%BC%9F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2080641%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E5%9C%A8%20S32G3%20%E5%A4%84%E7%90%86%E5%99%A8%E4%B8%AD%E4%BD%BF%E7%94%A8%20CANTP%20%E5%8F%91%E9%80%81%E5%92%8C%E6%8E%A5%E6%94%B6%E5%A4%9A%E5%B8%A7%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2080641%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E8%B0%A2%E8%B0%A2%E4%B9%94%E4%BC%8A%EF%BC%8C%3CBR%20%2F%3E%E5%9C%A8%20NXP%20%E6%8F%90%E4%BE%9B%E7%9A%84%20BSP%20%E5%8C%85%E4%B8%AD%E8%8E%B7%E5%8F%96%20CANTP%20%E6%94%AF%E6%8C%81%E6%89%80%E9%9C%80%E7%9A%84%E6%96%87%E4%BB%B6%EF%BC%8C%E5%A6%82%E4%B8%8B%E6%89%80%E7%A4%BA%E3%80%82%3CBR%20%2F%3E%E5%90%8C%E4%BD%8D%E7%B4%A0-%20ISO%2015765-2%20CAN%20%E4%BC%A0%E8%BE%93%E5%8D%8F%E8%AE%AE%E5%8C%85%E5%90%AB%E5%9C%A8%20RTD%EF%BC%88S32G3%20%E6%B1%BD%E8%BD%A6%E8%BD%AF%E4%BB%B6%20-%20Linux%20BSP%EF%BC%89%E4%B8%AD%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2079797%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E5%A6%82%E4%BD%95%E5%9C%A8%20S32G3%20%E5%A4%84%E7%90%86%E5%99%A8%E4%B8%AD%E4%BD%BF%E7%94%A8%20CANTP%20%E5%8F%91%E9%80%81%E5%92%8C%E6%8E%A5%E6%94%B6%E5%A4%9A%E5%B8%A7%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2079797%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F24963%22%20target%3D%22_blank%22%3E%40Joey%3C%2FA%3E%20%EF%BC%8C%E6%84%9F%E8%B0%A2%E6%82%A8%E7%9A%84%E5%8F%8A%E6%97%B6%E5%9B%9E%E5%A4%8D%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E4%BB%AC%E4%BA%86%E8%A7%A3%20CANTP%20%E6%98%AF%E4%B8%80%E4%B8%AA%E8%BD%AF%E4%BB%B6%E6%A6%82%E5%BF%B5%EF%BC%8C%E5%AE%83%E6%98%AF%20BCAN%EF%BC%88%E5%9F%BA%E6%9C%AC%20CAN%EF%BC%89%E5%8D%8F%E8%AE%AE%E7%9A%84%E6%89%A9%E5%B1%95%E3%80%82%3CBR%20%2F%3E%E5%8F%91%E9%80%81%E8%B6%85%E8%BF%87%208%20%E4%B8%AA%E5%AD%97%E8%8A%82%E7%9A%84%20CAN%20%E6%95%B0%E6%8D%AE%E9%9C%80%E8%A6%81%20CANTP%20%E6%94%AF%E6%8C%81%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%9C%89%E4%BA%86%E8%BF%99%E7%A7%8D%E7%90%86%E8%A7%A3%EF%BC%8C%E6%88%91%E6%89%BE%E4%B8%8D%E5%88%B0%E5%A6%82%E4%BD%95%E5%9C%A8%20S32G3%20%E7%B3%BB%E5%88%97%EF%BC%88A53%20%E6%A0%B8%E5%BF%83%2F%E5%BA%94%E7%94%A8%E5%A4%84%E7%90%86%E5%99%A8%EF%BC%89%E4%B8%AD%E5%90%AF%E7%94%A8%20CANTP%20%E5%8D%8F%E8%AE%AE%E7%9A%84%E4%BF%A1%E6%81%AF%E3%80%82%3CBR%20%2F%3E%E6%82%A8%E8%83%BD%E6%8C%87%E5%AF%BC%E6%88%91%E4%BB%AC%E5%A6%82%E4%BD%95%E5%88%9D%E5%A7%8B%E5%8C%96%20CANTP%20%E4%BB%A5%E5%8F%8A%E4%B8%BA%E6%AD%A4%E5%AE%8C%E6%88%90%E7%9A%84%E4%BB%BB%E4%BD%95%20CAN%20%E6%8E%A7%E5%88%B6%E5%99%A8%E9%85%8D%E7%BD%AE%E5%90%97%EF%BC%9F%3C%2FP%3E%3C%2FLINGO-BODY%3E