Hi all,
I manage it make it work using Rx Interrupt handler for every character which tell me count bytes received on LPUART Rx.
Solution 1-
For that I use LPUART2 for Tx using non-blocking LPUART_TransferSendNonBlocking which works anyway.
For Rx I am not using non-blocking LPUART_TransferReceiveNonBlocking
For Rx I am using LPUART3 with my own interrupt handler for every char received.
See my solution file : lpuart_rx_interrupt.c
Solution 2-
Solution # 1, but is not efficient as it is not using DMA.
Can some one elaborate why LPUART_TransferReceiveNonBlocking using with ring buffer does not give us bytes read.
Does using LPUART_TransferReceiveNonBlocking with ringbuffer use DMA method.
See my example code attached: lpuart_ring_buffer.c, not tell me how many bytes it received.
however data do get received in buffer=g_rxBuffer not in g_rxRingBuffer
Thanks,
Syed