Read and send a package characters from UART

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

Read and send a package characters from UART

1,386 次查看
CauTran
Contributor I

Currently, I would like to use UART to read a package characters from serial. 

But I don't know how to start. Which function should I choose in MCUXpresso Config Tool? 

I am using MBDT for KV5x, 

Thank so much

0 项奖励
回复
1 回复

1,355 次查看
nxa11767
NXP Employee
NXP Employee

Hi @CauTran ,

 

You can start from the uart examples from the toolbox. We have three examples in the toolbox: in <toolbox_path>\KVx_Examples\KV5x\uart

nxa11767_0-1638866169730.png

uart_polling example is using the blocking SDK API for sending and receving data, whereas the interrupts and transfer are based on interrupts mechanism(non-blocking). 

Hope this helps,

Alexandra

0 项奖励
回复