2 Replies Latest reply on Dec 3, 2018 12:53 AM by EunchongP_51

    UART internal interrupts not working as expected


      I want to send 200 bytes via UART. I am using internal flag


      From document

      UART done – UART transmitter done event: all data elements from the TX FIFO are sent. This interrupt source triggers later than TX FIFO empty by time it takes to transmit a single data element. The TX FIFO empty triggers when the last data element from the TX FIFO goes to the shifter register. However, UART done triggers after this data element has been transmitted.


      Problem: Based on oscilloscope observation, it seems transmit is still happening after the interrupt has occurred. Based on oscilloscope it seems entire transmit is hapening after transmit done interrupt.


      Please suggest.