View previous topic :: View next topic |
Author |
Message |
pdl
Joined: 01 Jun 2005 Posts: 45 Location: UK
|
convert serial to usb |
Posted: Mon Jun 06, 2005 5:14 am |
|
|
Hi Guys
i need to convert a project that i have that works on serial to work on usb.
is there any one out there that can help me with this.
many thanks
Pete |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Mon Jun 06, 2005 6:10 am |
|
|
Search on FTDI. They make chips that will allow you to easily change your design. |
|
|
pdl
Joined: 01 Jun 2005 Posts: 45 Location: UK
|
|
Posted: Mon Jun 06, 2005 6:38 am |
|
|
Thankyou for reply Mark
I dont want to use a FTDI Chip i would like to use the 16C745
Sorry i should have said before
if anyone has some example code that is easy to understand that would be great.
Please
many thanks
Pete |
|
|
Ttelmah Guest
|
|
Posted: Mon Jun 06, 2005 6:50 am |
|
|
The problem is that there is a _lot_ of work at the PC end to do this. If your project expects to talk to serial (and not to a USB device), then the PC code has to include a complete 'emulation' system to pretend to be a serial device, and transfer the data to the USB HID. The FTDI chips already have this. The code for this is not minor (perhaps a couple of weeks work at the PC end). There ae companies offering serial 'spoofing' programs that do this, but most cost more than the FTDI chips.
If the unit is going to be made in perhaps 10000 off quantities or more, then this is worth doing. Otherwise the FTDI route is a lot simpler.
Best Wishes |
|
|
Wilhelm
Joined: 04 Jun 2005 Posts: 4 Location: Namibia
|
|
Posted: Mon Jun 06, 2005 3:44 pm |
|
|
Hi,
Personally I Prefer the TUSB3410 from Texas instruments. (USB 2 compliant as well)
I like the vast options it gives me. Bootloader from PC via USB cable or on i2c EEPROM on circuit, and it is infact not just a USB to serial but also a USB to I2C chip.
I use it in all my designs where USB is needed.
and if you use the driver on the Texas Instruments site you can make a USB to RS232 cable in under 20 min .... (with LOW component count)
Wilhelm |
|
|
|