5 Replies Latest reply on Mar 11, 2016 1:22 AM by BrechtW

    Direct Memory Access Serial Port


      I need to know the exact moment when the serial buffer is empty.


      I'm using PySerial but flush() or out_waiting indicates that the buffer is empty too early. I toggle a digital pin when flush() and out_waiting is done and look at the signal on an oscilloscope but the bit change is too early.


      Is there a way to know when the buffer is empty in a low level way?