KL05Z UART interrupt

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

KL05Z UART interrupt

707 Views
cris
Contributor II

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!

Labels (1)
Tags (2)
0 Kudos
2 Replies

351 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

351 Views
mjbcswitzerland
Specialist V

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

FRDM_KL05Z.png

0 Kudos