KL82Z LPUART2 Configuration

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

KL82Z LPUART2 Configuration

537 Views
audreyhendon
Contributor I

I am having some trouble getting LPUART2 to work on the FRDM-KL82Z EVK.

LPUART0 and LPUART1 are working, however, when i moved over to use LPUART2 I am unable to send or receive any uart data. 

I am using PTD3 for TX and PTD2 for RX, both configured in alt. mux mode 3.

Looking through the KL82 Sub-Family Reference Manual, the LPUART2 peripheral uses the INTMUX0 IRQ. Adding the following initialization lines did not seem to correct the problem:

pastedImage_1.png

Is there another step I am missing to configure LPUART2?

Thank you

0 Kudos
1 Reply

411 Views
mjbcswitzerland
Specialist V

Hi Audrey

Take a look at the following video tutorial explaining the INTMUX module in the KL82 which may allow you to identify the problem:
https://www.youtube.com/watch?v=zKa5BoOhBrg&index=15&list=PLWKlVb_MqDQFZAulrUywU30v869JBYi9Q

In case you continue having difficulties take a look at the uTasker KL82 project which handles the details so that all modules look to be the same at the application interface layer (with chip simulation, including the INTMUX) so that user applications can run on any Kinetis part without porting effort.

Regards

Mark


Kinetis for professionals: http://www.utasker.com/kinetis.html
http://www.utasker.com/kinetis/TWR-KL82Z72M.html
http://www.utasker.com/kinetis/FRDM-KL82Z.html

UART:
http://www.utasker.com/docs/uTasker/uTaskerUART.PDF
UART/LPUART referencing: http://www.utasker.com/kinetis/UART_LPUART.html

0 Kudos