Pages: 1 [2]   Go Down
Author Topic: Using Microchip MCP2200 instead of FTDI FT232  (Read 2233 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
God Member
*****
Karma: 1
Posts: 530
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can see why you would want to be able to control the GP pins from the USB side, for things like MCU hard resets - but to make them uncontrollable from the UART side seems madness...
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 547
Posts: 27363
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What would you have the slave device do on the GPIO pins?
The part is a USB/TTL serial controller. The slave device can send back Clear To Send (CTS), and maybe one other control signal, that's really all the RS232 interface supports in a 9-pin connector.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

SF Bay Area
Offline Offline
Edison Member
*
Karma: 11
Posts: 1244
Arduino Ninja
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I can see why you would want to be able to control the GP pins from the USB side, for things like MCU hard resets - but to make them uncontrollable from the UART side seems madness...

Madness? THIS. IS. RS232.

It's a byte pipe. USB is able to control the GPIO pins because it sees the FTDI device as a structure with various elements, just one of which is a serial data link. On the uC side, it's just a hose containing bytes, there's no method for out-of-band signaling of other functions. Would you want the FTDI chip to contain some magic sequence of bytes that triggers the GPIO? What if in the course of transferring other data, that magic sequence occurs? Not a good idea.
Logged

Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

UK
Offline Offline
God Member
*****
Karma: 1
Posts: 530
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Macegr, you make a very good point - if for some reason you're application needs to send the datastream that would toggle the GPIO, you're stuffed.
Logged

Pages: 1 [2]   Go Up
Jump to: