1862221_en-US

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

1862221_en-US

1862221_en-US

S32K3_UART_IDLE_EVENT_BUG_RTD400

Hi,all

It's nice to find that NXP has added code to handle UART idle interrupts in RTD4.0.0.
But when I tested it, I found that this feature has BUG: in the callback function of the underlying driver, Uart_Ipw_LpuartCallback is called. In the Uart_Ipw_LpuartCallback function, the event is converted into an event that can be recognized by the upper layer, which means that the converted event does not contain UART_EVENT_IDLE_STATE.

The version of the software I use is RTD4.0.0HF. May I ask which version has corrected this problem?

wuxianlong_0-1715237119985.png

I need modify and add code.

wuxianlong_0-1715238212035.png


Best  Regards,
xianlong

Re: S32K3_UART_IDLE_EVENT_BUG_RTD400

Hi@wuxianglong

I got the reply from our internal .


Yes you are right, I have confirmed with the RTD developer this is a bug and will be fixed in next version.

In current version please add the below code manually as workaround.

Senlent_0-1715672012103.png



I have tested both the HLD and LLD(IP level) of the RTD4.0.0 with S32K3 Low cost EVB(LPUART6, PTA15,PTA16). The idle interrupt works fine.

simple tips for enable the idle function: Check the Uart Timeout Enable.

Senlent_1-1715672012857.png


Then you can got the actual RX data length in the idle interrupt callback function and abort the RECEIVE transfer.

Senlent_2-1715672012227.png



Re: S32K3_UART_IDLE_EVENT_BUG_RTD400

Hi@wuxainglong

I have escalated your question ,it will take some time to get a reply.

Thanks for your patience.

标记 (1)
无评分
版本历史
最后更新:
‎11-21-2025 11:10 PM
更新人: