Romain,
You are exactly fine with my understanding.
Try adjusting your time out period (high/low) to avoid block on the second call. Please try to choose an optimum timeout which would help out to stay always with in IF loop, sothat, you are forcefully providing an adjustable timeout for successful reception of UART packets.
Thanks for your update.
Thanks & regards,
Sivaraj K
---------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.
---------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.
---------------------------------------------------------------------------------