LPUART1&LPUART2

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

LPUART1&LPUART2

978 Views
intern_praveena
Contributor II

I m working on FS32K144Q100 s32 studio, lpuart program i.e, send from lpuart1 and receve at lpuart2 and send from lpuart2 and receve at lpuart1.I have done the first part.how to do that second part?????????

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

744 Views
constantinrazva
NXP Employee
NXP Employee

Hello intern.praveena@grinntech.com‌,

You can call the same LPUART_DRV_SendData and LPUART_DRV_ReceiveData functions to achieve what you want, just keep in mind that the first parameter should be changed to what instance you need it to. You can check out the SDK documentation that is located in: {ROOT_DIR}\doc\Start_here.html .

You can go to S32K144 -> Modules -> Low Power Universal Asynchronous Receiver-Transmitter -> LPUART Driver. Here you can find all the functions that you'll be needing:

pastedImage_2.png

pastedImage_3.png

So as you can see, you can just change the first parameter (instance) to be 0, 1, or whatever you need it to be (and depending on the hardware, if they are present or not).

Hope this is what you wanted to know. For detailed explanations of the driver you can ask on the S32K community.

Kind regards,

Razvan.

0 Kudos