I am working on s32k324 controller. I wanted to use the uart using the DMA.I am trying to send 10 bytes of data, but I am able to send only one byte of data.
when i am using the function
"Lpuart_Uart_Ip_GetTransmitStatus(3,&remainingBytes)"
the return value is "LPUART_UART_IP_STATUS_BUSY" and remainingBytes bytes is reduced by one (9).
i am able to transmit one byte of data only when i change the Second parameter in the below function
Dma_Ip_SetLogicChannelCommand(UartUserCfg->TxDMAChannel, DMA_IP_CH_SET_HARDWARE_REQUEST);
the above function is auto generated.
In the below function second parameter is changed for which i am able to transmit one byte.
Dma_Ip_SetLogicChannelCommand(UartUserCfg->TxDMAChannel, DMA_IP_CH_SET_SOFTWARE_REQUEST);
I have also attached the code below. I want some support, plz help me out,
thanks in advance