MSCAN Example: Loopback vs Loopback Transfer

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

MSCAN Example: Loopback vs Loopback Transfer

496 Views
stevenlutz
Contributor II

What is the difference between loopback and loopback transfer mscan examples?

Labels (1)
0 Kudos
1 Reply

399 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Steven Lutz ,

   You can compare the two project code.

   mscan_loopback_transfer send the CAN data is using :

 MSCAN_TransferSendNonBlocking(EXAMPLE_MSCAN, &mscanHandle, &txXfer);

  mscan_loopback project send the CAN data is using:

MSCAN_TransferSendBlocking(EXAMPLE_MSCAN, &txFrame);

  mscan_loopback_transfer is also using the TX interrupt to send the data, but the mscan_loop is using the polling mode to send the can data.

 Both two code receive is using interrupt mode.

Wish it helps you!

If you still have questions about it, please kindly let me know.

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos