Is there a good library/driver/example available for the K60 UART module?
In particular, a library/driver/example showing the appropriate way to set up
and handle interrupts and errors?
Thank you.
Brandon
You could look at the uTasker project - it has a Kinetis UART driver supporting interrupt and DMA operation for Rx and Tx (up to 6 UARTs in parallel), with XON/XOFF and RTS/CTS flow control, RS485 mode and other bits and pieces.
There is an overview in this documnent: http://www.utasker.com/docs/uTasker/uTaskerUART.PDF
Regards
Mark
You can also use the driver provided on the KINTIS512_V2_SC sample codes, download and look on the path:
C:\(your download path)\KINETIS512_V2_SC\src\drivers\uart
Have a nice day :P,
Perla
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Brandon Taylor
You can use PE to create a UART driver example for K60. PE is best for helping you study how to use Kinetis MCU. You can download PE at Processor Expert Software and Embedded Components.