S32k312 UART Reception using interrupt

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

S32k312 UART Reception using interrupt

272 Views
kamleshv
Contributor II

Hello,

I need to implement interrupt-based UART reception on the S32K312. Please find the attached code for your reference. My goal is to receive incoming data byte by byte and assemble it to form the complete response received on the UART channel.

However, the UART receive callback is triggered only once (the first time) and does not trigger for subsequent data receptions.

Thank you.

0 Kudos
Reply
1 Reply

256 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @kamleshv,

After finishing the reception, you must call Lpuart_Uart_Ip_AsyncReceive() again to prepare for next reception. You can use the following community example as reference: [RTD600 IP] S32K312-EVB Lpuart interrupt echo - NXP Community.

Best regards,
Julián

0 Kudos
Reply