FTDI Serial To USB converter

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I have an DLP-USB232M evaluation board, for the FTDI serial to USB IC. I am attempting to build a small PCB board and connect this IC to a microcontrollers serial output. So far, things seem straightfoward, however, the DLP-USB232M has two pins I am not clear about.

PIN 21 CTS#(IN) Clear to send Control INput/ Handshake Signal
PIN 22 RTS#(OUT) Request to send Control Output/ Handshake signal.

As far as I understand, I will need to write to PIN 21 when I can receive input and read pin 22 when I want to send input, so I can just hook these two pins up to some unused port pins on my MEGA8 and worry about the particulars when I get to the software.

Does that sound correct?

Thanks and much appreciated,

Daniel

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You should use these pins to control when the PC or yourself is allowed to send data to/from the pc.

The input is coming from the PC telling you your PC's fifo is full and waiting for the OS to retrieve the data it has stored in it.

Likewise, you need to tell the PC when you can accept a byte from the PC.

If you use high-speed baudrates, you better use these or you'll wonder why the data's no good.

Regards