CAN/FlexCAN Loopback test

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

CAN/FlexCAN Loopback test

Jump to solution
964 Views
karma_JC
Contributor I

Hi:

I am modify examples both in "can_pal_mpc5748G" and "flexcan_mpc5748G" from SDA_PA_RTM_V3.0.3 to perform loopback test.  However, it does not seem to work. 

 

For loopback mode, I changed the operation mode to "Loop Back" in CAN/FLEXCAN component.  Also, I created a timer interrupt to send out the CAN message every 2 seconds.  But, there is no message being loop back from Rx end.

 

Did do something wrong????

 

Thanks

James 

0 Kudos
1 Solution
948 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

loopback mode is normally functional. Do you have set a receive message buffer to receive transmitted ID? In example easily have same value for both TX_MSG_ID and RX_MSG_ID.

BR, Petr

View solution in original post

0 Kudos
1 Reply
949 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

loopback mode is normally functional. Do you have set a receive message buffer to receive transmitted ID? In example easily have same value for both TX_MSG_ID and RX_MSG_ID.

BR, Petr

0 Kudos