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 support@ccsinfo.com

OT: FTDI/PIC Interface Question

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



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

OT: FTDI/PIC Interface Question
PostPosted: Thu Nov 30, 2006 2:29 pm     Reply with quote

I apologize in advance for the OT question, but it looks like there's a fair number of FTDI users amongst you.

The example circuit that FTDI shows (p.26 of http://www.ftdichip.com/Documents/DataSheets/DS_FT232R_v104.pdf) for interfacing their FT232R part with an MCU has a 12MHz output from the FTDI part clocking the MCU. That's not required is it? I would assume that everything would be OK if the PIC and the FTDI part were both set to the same BAUD and the PIC had its own oscillator?

I take it the FTDI clocking of the MCU is a way to reduce parts count for a homogeneous application (i.e. the MCU and the FTDI work together) as opposed to just using the FTDI as a peripheral...

Thanks,

John
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

Re: OT: FTDI/PIC Interface Question
PostPosted: Thu Nov 30, 2006 4:00 pm     Reply with quote

jecottrell wrote:
I would assume that everything would be OK if the PIC and the FTDI part were both set to the same BAUD and the PIC had its own oscillator?

I think, you're right on this one.
I haven't used the new FTDI chip with onboard oscillator and EEPROM, but the previous generation of FTDI USB-to-UART chips didn't require the PIC and FTDI to run off the same clock.
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Thu Nov 30, 2006 4:07 pm     Reply with quote

Nick,

Thanks, that jogged my memory. Now I recall from my reading that was one of the added features of the new chip. The on-chip oscillator eliminated the need for another oscillator for the FTDI part. I went back and looked at the old design guide and it confirms our suspicions.

John
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

PostPosted: Thu Nov 30, 2006 11:59 pm     Reply with quote

You don't need an oscillator in your circuit except the on in the FTDI part. The FTDI part can also create 6, 24 and 48MHz clock outputs. Add to that the FTDI part can use basically any BAUD rate.
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