LPUART DMA interface: Count of bytes received from Hardware

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

LPUART DMA interface: Count of bytes received from Hardware

336 Views
dpse
Contributor I

On S32k148, I am using LPUART to receive characters and it generates a DMA request when the FIFO is full. The DMA generates an interrupt when a Major iteration count is complete. The DMA channel priority is the highest. I am observing some noise bites in the buffer when a DMA interrupt occurs. Is there a way to know how many bytes of data were received by the hardware?

0 Kudos
Reply
1 Reply

320 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

no, there is only an info how many dataword are in the receive FIFO/buffer, see WATER[RXCOUNT] bits.

BR, Petr

0 Kudos
Reply