MSCAN Example: Loopback vs Loopback Transfer

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MSCAN Example: Loopback vs Loopback Transfer

901件の閲覧回数
stevenlutz
Contributor III

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

ラベル(1)
0 件の賞賛
返信
1 返信

804件の閲覧回数
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 件の賞賛
返信