S32K Lpuart Rx overrun error

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

S32K Lpuart Rx overrun error

241 Views
Dev15
Contributor III

Hi,

I have configured LPUART 1 interrupt mode and facing receive over run error. Below are the some details on the version and configurations

S32 Design Studio for S32 Platform
Version: 3.5

RTD: 3.0.0

Baud rate set : 9600

I'm trying to read with in the callback configured.

 

Dev15_0-1721028789540.png

 

Please help on this issue,

Thank you

 

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

221 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Dev15,

Normally this issue is caused by priority configuration. It could be solved by increasing the system clock frequency or decreasing the BaudRate.

Are you testing the reception with the CAN echo? Could you transfer just one byte at a time to test reception? This community post solved an overrun issue by moving the SendData function into the rxCallback function: uart_pal_s32k144w status = STATUS_UART_RX_OVERRUN - NXP Community.

Since you are using RTD 3.0.0, I assume you are using S32K3. You can look into this community post as reference as well: Solved: The S32K344 Lpuart transfer cannot receive data correctly when DMA enable - NXP Community

Best regards;
Julián

0 Kudos
Reply

208 Views
Dev15
Contributor III

Hi @Julián_AragónM ,

 

Thank you for your response. 

I have tested one byte and it is working fine. 

When the request is on a continuous mode, it is throwing OR error after sometime.

Thank you

Tags (1)
0 Kudos
Reply