@danielmartynek
Client is asking when they Enable DMA with UART & do async receive :--
Lpuart_Uart_Ip_AsyncReceive(UART_LPUART_INTERNAL_CHANNEL, (uint8_t*)rx_data, 50);
Only way we can check the recived bytes:--
Lpuart_Uart_Ip_GetTransmitStatus(UART_LPUART_INTERNAL_CHANNEL, &remainingBytes);
if i am correct DMA will call the UART callback once all the data is received, right ?
Is there any other way to get an notification ? :--
Buffer is half full
Also If i am correct then UART will trigger the DMA on every correct reception of data, if some error is there in reception of data on UART DMA will not be rigged, right ?
If UART is configured to receive using DMA, and i call this function Lpuart_Uart_Ip_AsyncReceive() to receive the 50 bytes on UART, when will first time this DMA IRQ will be called, on first byte of reception on UART or when all the 50 bytes are received :--
Dma0_Ch0_IRQHandler()