Using libserial,
- I send one frame with write, wait for write to return, sleep for 1 ms
- then send the second frame, wait for write to return, and sleep again,
- repeating this process.
However, the oscilloscope captures show that the time intervals sometimes measure 160 us.
Why is that? ideallythe write function is sync, the time intervals should be 1ms. Could you help me to find the cause