Read and send a package characters from UART

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

Read and send a package characters from UART

1,385件の閲覧回数
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,354件の閲覧回数
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 件の賞賛
返信