S32K148 LPUART DMA RX Idle line Issue

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

S32K148 LPUART DMA RX Idle line Issue

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

Hello,

When we are trying to use the S32K148 LPUART driver to setup DMA RX Idle line we are getting RXEDGIF interrupt, we never getting IDLE.

Here our DMA buffer size is 128 bytes, and our packets are 5 bytes to 78 bytes that is why we need Idle line interrupt to handle any packet.

Please let me know if there is similar issue or share the example code if you have any.

regards, Pratap

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

Hi@Pratap_Metharamitta

This is a demo I made before. You can refer to it. I need to inform you that our SDK does not support this feature. This is just a test demo I modified myself. We will not provide more support for this. Please evaluate it yourself.

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-Lpuart-IDLE-detected-with-DMA-transfer/ta-p...

 

元の投稿で解決策を見る

2 返答(返信)
701件の閲覧回数
Pratap_Metharamitta
Contributor III
Root Cause is: In the SDK LPUART driver, when enter to the LPUART_DRV_IRQHandler() all ERROR status is cleared by LPUART_DRV_ErrIrqHandler(), the FEATURE_LPUART_STAT_REG_FLAGS_MASK (in file S32K148_features.h), is 0xC01FC000U, the idle flag being clear here.
 
Solution: Modeling the FEATURE_LPUART_STAT_REG_FLAGS_MASK (in file S32K148_features.h), from 0xC01FC000U to 0xC00FC000U.
 
Please let me know can we solve this issue by above modification.
Pratap Metharamitta
0 件の賞賛
返信
708件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@Pratap_Metharamitta

This is a demo I made before. You can refer to it. I need to inform you that our SDK does not support this feature. This is just a test demo I modified myself. We will not provide more support for this. Please evaluate it yourself.

https://community.nxp.com/t5/S32K-Knowledge-Base/S32K1xx-Lpuart-IDLE-detected-with-DMA-transfer/ta-p...