USB enumeration code (and more) for the MAX3420E

Abstract

The MAX3420E USB controller allows designers to add USB peripheral functionality to any system. Because the MAX3420E provides an SPI interface to its register set rather than containing an onboard microprocessor, a set of MAX3420E C routines can be written to serve a wide variety of processors. This application note presents C code and explains all the functions to accomplish the basic USB operations. Basic USB transfers are explained to help understand the code. Read full article.

Download: Full Code Listing (including bug fix 1 and .h files) (ZIP, 11.6kb)