STM UART DMA to receive Multibyte packet
hi,
This is question regarding UART reception.
UART configured with 115200 8 N1
I have a project where i need to receive a multibyte packet on UART and the length is not fixed.
My Queries
1> Which approach should I take to receive a multibyte packet.
2> Is DMA a suitable in this scenario, DMA generates interrupt only when the number of bytes are received, if the packet size is not fixed how to handle this situation.
3> I'm planning to decipher single byte at a time and build the packet as per my protocol requirement Is there any function to receive one byte at a time.
4> Is there any way to receive single byte using DMA ?
Kindly provide some inputs
