USB

Started by Behnam Emamian June 14, 2004
i need connect ATmega128 to USB port of PC and communication
between PC and MCU.
i see Igor but i have few problem.
1)send from MCU to PC
2)sample circuit is for at90s23xx
3)and i dont understand circuit work.
thanks a lot


> i need connect ATmega128 to USB port of PC and communication
> between PC and MCU.
> i see Igor but i have few problem.
> 1)send from MCU to PC
> 2)sample circuit is for at90s23xx
> 3)and i dont understand circuit work.
> thanks a lot

Bit banged USB by Igor is great thing, but you have to write your
own drivers, MCU is dedicated to USB communication most of the
time, and it is difficult to understand his code (just look at size
of USB specifications!)

I recommend you to look this link.

http://www.ftdichip.com/

FTDI offer very easy way to USB migration by combining USB Serial (
USB RS232 ) and USB. Once when you install drivers, you can access
to your USB device as virtual COM port. So you can use you old
applications, etc...
Chips are not cheap, and they may be hard to get, but they are very,
very easy to use.

Philips, Cypress, Microchip, Atmel ... they all have USB solutions,
but you have to write your drivers, and for writing firmware you
need to fully understand USB standard.

Regards
Zeljko


thanks but i know your solution.
i`m living in Iran and it is very hard to find this IC for my circuits.
i try to make an interface to connect to usb.
thanks for answer. ---------------------------------