I implement LPUART tx and rx support after DMA. I don't know the length of the received data.
I know I can use the idle length but it's not precise enough.
Thought I could use an unused DMA channel triggered by kDmaRequestMuxLPUART1Rx which will write the value 0 to the counter. If nothing is received, the counter will count up to the set value and the timer will interrupt, which will mean the end of the transmission. Could it theoretically work?
Hello
I hope you are well.
To count the received bytes which counter are you using? Could you provide more detailed information about the solution you want to implement?
The ring buffer example from the SDK might be helpful since it counts the received bytes.
If you have more questions do not hesitate to ask me.
Best regards,
Omar