S32K3_UART_IDLE_EVENT_BUG_RTD400

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

S32K3_UART_IDLE_EVENT_BUG_RTD400

Jump to solution
603 Views
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 Kudos
Reply
1 Solution
538 Views
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

 

 

View solution in original post

0 Kudos
Reply
2 Replies
539 Views
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 Kudos
Reply
576 Views
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 Kudos
Reply