AnsweredAssumed Answered

Using KSDK for interrupt driven UART?

Question asked by Scott Whitney on Apr 14, 2015
Latest reply on Sep 16, 2015 by Alberto Lubeiro

Hi folks,

 

It seems like there should be examples, but can anyone point me to information about using KSDK 1.1.0 to initialize and use UART0 for interrupt-driven transmit and receive?

 

I may also need to use CTS and RTS for flow control.  Specifically, I am using a K60 (MK60DN512VLQ10) with a bare-metal configuration (no OS).

 

What I'd like are examples showing how to configure the pins, initialize the UART, install the ISR, and handle character transmission and reception using interrupts instead of polling.  Since UART0 has a FIFO, it would also be nice to use that to get some better throughput with lower overhead.

 

Thanks for your help.  There may be a great example somewhere, but I just can't find it, and it isn't obvious to me from the KSDK 1.1.0 documentation.

 

Scott

Outcomes