S32K Lpuart Rx overrun error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K Lpuart Rx overrun error

2,196 次查看
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

 

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

2,176 次查看
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 项奖励
回复

2,163 次查看
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

标记 (1)
0 项奖励
回复