LPUART0 Configuration

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

LPUART0 Configuration

Jump to solution
684 Views
pciampanelli
Contributor I

Hi,

I'm using freedom development board FRDM-K32L2A4S.

Using MCUXpresso IDE v11.6.1 i created my own test project to be uploaded on the board.

I'm trying to use LPUART0, so I configured it in polling mode, 115200 8N1, tx and rx enabled. 

Using pinmux tool i selected GPIO A14 as TX and GPIO A15 as RX.

I generated the code and I tried to send a char with:

LPUART_WriteByte(LPUART0_PERIPHERAL, 'J');

but nothing seems to come out of GPIO A14.

 

Any hint on how to make it work?

 

thanks 

 

Paolo

0 Kudos
Reply
1 Solution
663 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @pciampanelli, You can use the example as a reference to check how is the code and the pins' connection,

 

As you can see in the pictures below

CarlosGarabito_0-1670937504505.png

 

 

CarlosGarabito_1-1670937504505.png

 

 

By other hand, if you have a project and want to add the lpuart, you can use the manager SDK components

 

CarlosGarabito_2-1670937504505.png

 

 

CarlosGarabito_3-1670937504506.png

 

And select the pins components

 

CarlosGarabito_4-1670937504506.png

 

 

View solution in original post

0 Kudos
Reply
1 Reply
664 Views
CarlosGarabito
NXP TechSupport
NXP TechSupport

Hi @pciampanelli, You can use the example as a reference to check how is the code and the pins' connection,

 

As you can see in the pictures below

CarlosGarabito_0-1670937504505.png

 

 

CarlosGarabito_1-1670937504505.png

 

 

By other hand, if you have a project and want to add the lpuart, you can use the manager SDK components

 

CarlosGarabito_2-1670937504505.png

 

 

CarlosGarabito_3-1670937504506.png

 

And select the pins components

 

CarlosGarabito_4-1670937504506.png

 

 

0 Kudos
Reply