how to config the UART in MK64f12 to working in the interrupt mode, such as interrupting rx

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

how to config the UART in MK64f12 to working in the interrupt mode, such as interrupting rx

842 次查看
manxu
Contributor I

Hi

In my project, I need the Uart of the mk64f12 working in interrupt mode. But in the ksdk 1.3.0 there are only polling mode example. Can you give me some advice how to config the uart in the chip working in interrupt mode. Thank you!

0 项奖励
回复
1 回复

754 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi man xu,

   Please use our latest KSDK sample code for MK64: KSDK2.2-FRDM-K64F120M.

   You can download the sample code from this link:

Welcome to MCUXpresso | MCUXpresso Config Tools 

 Click "SDK bulder", choose the board as FRDM-K64, then generate the code, and download it.

  You can find the interrupt code in folder: SDK_2.2_FRDM-K64F\boards\frdmk64f\driver_examples\uart

Wish it helps you!


Have a great day,
Kerry

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

0 项奖励
回复