Re: RTS CTS Problem



In article <5c0a9a78-78a7-4d6a-bcff-
909de5f64b3b@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, niladri1979@xxxxxxxxx
says...
Hi all ,

I am using GPIO lines of an AVR to control the RTS & CTS lines of the
RS232 interface. The level convertor that I am using is MAX3222.

Software wise when the AVR is configured as a DCE so the RTS line is
input and CTS is output , the software sets the GPIO going to the CTS
high as long as it has buffer space , when it is wants the DTE to stop
sending data it pull the GPIO low.

the problem is that when I set the CTS AVR GPIO high(1) the voltage
that I see the 9 way connector pin is -5v and when I set CTS AVR GPIO
to low(0) the voltage on the 9 way connector is 0v.

Is that the expected behavior? I think i am missing some fundamental
concept.

BR
rate

A low into the MAX should give you a positive voltage and a high a
negative voltage. There should never be a 0V ever. It is not defined.

.