S32K3_UART_IDLE_EVENT_BUG_RTD400

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K3_UART_IDLE_EVENT_BUG_RTD400

ソリューションへジャンプ
436件の閲覧回数
wuxianlong
Contributor III

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

0 件の賞賛
返信
1 解決策
371件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

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

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
372件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

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

 

 

0 件の賞賛
返信
409件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@wuxainglong

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

Thanks for your patience.

0 件の賞賛
返信