Temporarily Holding buffering data in a FT232R

Discussion in 'General Electronics Chat' started by TrevorP, Apr 27, 2010.

  1. TrevorP

    Thread Starter Active Member

    Dec 8, 2006
    I've got an ATmega164 setup with an FT232R. There are some situations though when I need to hold off on receiving more data over UART while I handle what has already been sent. I'm looking to basically raise or lower a pin to let it know that I'm ready to receive data. I've tried this with both DSR and CTS to no avail what so ever.

    Any ideas?


    Last edited: Apr 27, 2010
  2. retched

    AAC Fanatic!

    Dec 5, 2009
    In your code, you should be able to look at a pin for a high or low signal.

    If its low, continue to transmit.

    If its high, halt. Stay in a loop checking the pin until its low then continue transmitting and looking for low.