LPUART0 Configuration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPUART0 Configuration

ソリューションへジャンプ
685件の閲覧回数
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 件の賞賛
返信
1 解決策
664件の閲覧回数
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 件の賞賛
返信
1 返信
665件の閲覧回数
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 件の賞賛
返信