CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

FT232 and handshaking.

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
davidbue



Joined: 05 Nov 2007
Posts: 28
Location: Denmark

View user's profile Send private message Visit poster's website

FT232 and handshaking.
PostPosted: Thu Nov 13, 2008 1:58 pm     Reply with quote

Hi everybody!

I've just migrated from using the MAX232/ST232 for serial communication to the FT232R chip from FTDI.

So far I haven't had any problems using the FTDI chip, but one thing puzzles me.

When I used the MAX232 serial interface I always used:

Bitrate:9600
Data bits:8
Parity:none
Stop bits:1
Flow control:None

Now, when I use the FT232R chip I have to use this instead:

Bitrate:9600
Data bits:8
Parity:none
Stop bits:1
Flow control:Xon/Xoff

Sooo.... what I don't understand is why I now have to use flow control. The code I use in the CCS compiler is the same as with the Max232 interface. Is it something I have to set up on the FT232R chip using the programmer supplied by FTDI?

Hope that one of you can explain it to me.

Thank you, thank you!

David
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Nov 13, 2008 2:03 pm     Reply with quote

Look at section 4.3 of this FTDI appnote:
http://www.ftdichip.com/Documents/AppNotes/AN232B-04_DataLatencyFlow.pdf
davidbue



Joined: 05 Nov 2007
Posts: 28
Location: Denmark

View user's profile Send private message Visit poster's website

PostPosted: Thu Nov 13, 2008 2:52 pm     Reply with quote

Hi PCM programmer.

As always you have the answer. You're a great guy to have hanging around on the forum.

Thank you.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group