Hello In my project I should read two usart input ports without losing my input data.Each input should gets a string's length of 120 each 10ms.How can I handle both of them?
I think I can do with two thread such as this diagram obrazki.elektroda.pl/7019832800_1473252743.png (does it possible easily or not?)
Or can do it with a simple approach instead of using multi-threading?
Thanks
Thanks a zillion Per Westermark for your help and good explanation I have tried to use USART IDLE interrupt to detect the end of transmission and by resetting DMA section to improve my system, instead of using timer to define a timeout(that it has mentioned in CD00256689.pdf document). So is it enough for any discontinuity during transmission or I don't consider some states with this approach?