Hello everyone,
I'm trying to implement interrupt driven UART communication on KL05Z without using ProcessorExpert but I don't seem to get it work... Is there any simple example or code snippet of this to begin with? :smileyhappy:
Many thanks in advance and have a nice weekend!
Hi,
KL05 is using same UART module with KL25 product, please check below thread could provide some help about your question:
Re: UART code example for KL25Z128
Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
Code is available in the uTasker project: http://www.utasker.com/forum/index.php?topic=1721.0
which supports all KE, KL and K parts for interrupt driven and DMA modes [not KE since it doesn't support DMA] on all available UART interfaces - including the KL05Z.
The UART interface is described in http://www.utasker.com/docs/uTasker/uTaskerUART.PDF
You can also simulate the device and board which makes it easy to anayse the UART code (it simulates interrupts and DMA operation in approx. real-time) and maps the simulated UART to a real COM port as shown in the screen-shot below.
Regards
Mark