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?
Hi,
no, there is only an info how many dataword are in the receive FIFO/buffer, see WATER[RXCOUNT] bits.
BR, Petr