Configure UART in mkl27z64

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configure UART in mkl27z64

1,210 Views
Anjali
Contributor I

Hi,

I am new in the embedded field and ow dealing with kinetis FDRM-KL17Z dev board. I need to configure UART on it. I found some example projects and could send and receive the data from the terminal. But I do not have knowledge of handler. To integrate this UART function in my project, I have to know how to use handlers. Is there any better examples available which give more idea on this?

 

Regards,

Anjali

Labels (2)
0 Kudos
Reply
2 Replies

1,196 Views
mjbcswitzerland
Specialist V

Hi

The open source uTasker project on GITHUB supports the KL27 with advanced options for TX and free running Rx DMA in addition to interrupt driven modes.
Video guides
https://www.youtube.com/watch?v=dNZvvouiqis&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&index=10
https://www.youtube.com/watch?v=GaoWE-tMRq4&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q&index=11

UART guide document: https://www.utasker.com/docs/uTasker/uTaskerUART.PDF

It allows a simulated KL27 to run under Visual Studio for full emulation of the UARTs (including their interrupt and DMA operation) so if you are learning about programming, the UART or general processor operations it makes it very easy to study and understand.

Regards

Mark
uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training or product development requirements

 

0 Kudos
Reply

1,198 Views
nxf58904
NXP Employee
NXP Employee

Hi,

You can download KL27z SDK from this link,https://mcuxpresso.nxp.com/en/welcome.

And there has some uart examples in package.It explain how to configure uart and how to enable the interrupt .And also shows how handler function works.

1.png2.png3.png

4.png

Jianyu: 

Have a great day,
TIC

 

-------------------------------------------------------------------------------
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 Kudos
Reply