CAN-FD External loopback test in iMXRT1180

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

CAN-FD External loopback test in iMXRT1180

跳至解决方案
670 次查看
vilas_shetty
Contributor III

Hello community,

i am trying to test CAN-FD in iMXRT1182 EVK for external loopback but in the mcuXpresso sdk i only find example for internal loopback testing. Can anyone help me out in performing  external loopback test. Also help me out whether i can short TX to RX pin directly in the board to have external loopback connectivity.

#IMXRT1182# MCUXpresso-IDE 

0 项奖励
回复
1 解答
531 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @vilas_shetty ,

Thanks for your input.

As we discussed earlier, the internal loopback mode can only be used for self-testing to verify that the CAN controller is functioning properly.The external loopback mode, on the other hand, can be used to test the hardware, i.e., the entire system's physical layer and communication functions properly.

Although the RT1180 does not provide an external loopback mode, and there is a slight difference between using external Rx and Tx connections and the directly provided external loopback mode, it is basically equivalent. You can use this approach for testing. Also, using a dedicated external CAN analyzer, etc. can help you verify that the entire communication link is working properly.

Best regards,
Gavin

在原帖中查看解决方案

0 项奖励
回复
3 回复数
649 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @vilas_shetty ,

Thanks for your interest in NXP MIMXRT series!

RT1180 FlexCAN provides these operation modes:

Gavin_Jia_0-1720162154836.png

This loopback mode is what you call internal loopback mode, which is used for self-testing, but in this mode the Tx and Rx pins are not able to detect any external signals.

In the meantime, I've checked other sources and found the difference between the external loopback mode and the internal loopback mode you mentioned in comparison:

Gavin_Jia_1-1720162279556.png

Gavin_Jia_2-1720162291560.png



So I don't think the external loopback mode you mentioned can be implemented on the RT1180. 

Best regards,
Gavin

 



0 项奖励
回复
573 次查看
vilas_shetty
Contributor III
Hello Gavin_Jia,
Then how can i test the CAN-FD ? do you have any other methods
0 项奖励
回复
532 次查看
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @vilas_shetty ,

Thanks for your input.

As we discussed earlier, the internal loopback mode can only be used for self-testing to verify that the CAN controller is functioning properly.The external loopback mode, on the other hand, can be used to test the hardware, i.e., the entire system's physical layer and communication functions properly.

Although the RT1180 does not provide an external loopback mode, and there is a slight difference between using external Rx and Tx connections and the directly provided external loopback mode, it is basically equivalent. You can use this approach for testing. Also, using a dedicated external CAN analyzer, etc. can help you verify that the entire communication link is working properly.

Best regards,
Gavin

0 项奖励
回复