ChipCenter Questlink
SEARCH CHIPCENTER
Search Type:
Search for:




Knowledge Centers
Product Reviews
Data Sheets
Guides & Experts
News
International
Ask Us
Circuit Cellar Online
App Notes
NetSeminars
Careers
Resources
FAQ
EE Times Network
Electronics Group Sites

IMPLEMENTING A SIMPLE USB INTERFACE FOR AN EMBEDDED PROCESSOR


Circuit Cellar Online
THE MAGAZINE FOR COMPUTER APPLICATIONS
Circuit Cellar Online offers articles illustrating creative solutions
and unique applications through complete projects, practical
tutorials, and useful design techniques.

IMPLEMENTING A SIMPLE USB INTERFACE

Lessons from the Trenches FOR AN EMBEDDED PROCESSOR

by Stuart Allman

Start ý Typical USB Solutions ý Required Components ý An Easier Solution ý Following the Rules ý Firmware ý Vendor-Specific Requests ý Host Transfer Mechanisms ý USB Transfers ý How Does It Work? ý The Grand Conclusion ý Sources and PDF

Deciding how to connect all of the modules of your embedded system together can be similar to playing a game of "would you rather" with your coworkers. Do you design a new interface or use an industry standard and accept a learning curve? How do you know that an industry standard interface will meet all of your needs before you design it in? What becomes an even worse predicament is, how do you test the interface if you have only your system to connect it to? The universal serial bus (USB) just may be the elixir that takes away some of your development pains.

Yes, itýs sad but true, Intel plans to phase out your old trusty RS-232 serial port on the back of your PC in favor of the USB. I, along with many of you, used the old trusty RS-232 serial interface for years. It is incredibly simple, and you have complete control over everything that goes on the bus. So, the question becomes, what do you use now that will be simple, allow complete control, and be immediately understandable?

The answer I have come to in recent years has been the USB. In this article, Iýll show how getting up and running on the USB can be painless and almost a direct drop in replacement for RS-232 solutions. Iýll show you three example processors that I have developed firmware for and how they can transfer data on the USB.

NEXT


Circuit Cellar provides up-to-date information for engineers. Visit www.circuitcellar.com for more information and additional articles.
For subscription information, call (860) 875-2199, subscribe@circuitcellar.com or subscribe online. ýCircuit Cellar, the Magazine for Computer Applications. Posted with permission.
Click here to get your listing up.

Copyright © 2003 ChipCenter-QuestLink
About ChipCenter-Questlink  Contact Us  Privacy Statement   Advertising Information  FAQ