MSCAN Example: Loopback vs Loopback Transfer

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

MSCAN Example: Loopback vs Loopback Transfer

903 次查看
stevenlutz
Contributor III

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

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

806 次查看
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 项奖励
回复