James, > Once I hook up the FTDI chip... > > > What does the AVR "see"? > Is it just serial data? If you buy the serial version, yes. There's alsoa parallel version. > Do we have to included any USB aware code on the AVR? nope, just receive and send data, simple. > What kind of USB device driver is required on the host pc to talk to our device? The one supplied with the chip, or from their website. For the project I used, we used it as an 11Mb serial port :-) > Does the FTDI handle buffering etc? yes. > Do you have example code you'd be willing to share? Nothing to share, the parallel version (I used), has a line that drops low when it's received data and stay low whilst there's stuff in the buffer. You simply hook this to a falling edge IRQ, read the data using the /RD line, and check to see if the line is still low, if it is, read again. If you use the serial version you don't even need that. Just receive data as it comes in. Paul
Message
Re: [AVR-Chat] USB and ATmega
2005-01-05 by Paul Maddox
Attachments
- No local attachments were found for this message.