herunterladen
![](https://oss-datasheet.aipcba.com/html/617317AD7FCFE72222CAC5EFD1376C9A/bg1.png)
Maxim > Design Support > Technical Documents > Application Notes > Interface Circuits > APP 3936
Maxim > Design Support > Technical Documents > Application Notes > Power-Supply Circuits > APP 3936
Keywords: MAX3421E,MAX3420E,ARM7,Keil,USB, Host, Peripheral
APPLICATION NOTE 3936
The Maxim USB Laboratory
Nov 02, 2006
Abstract:
The Maxim
USB laboratory is a MAX3421E-/MAX3420E-based system using an ARM7™ processor
and example software. This application note describes the system and the software that runs it. Both a USB
host and peripheral are implemented in the same ARM® C code. This approach allows development and
study of USB peripherals and embedded hosts with the advantage of having a reference device at the other
end of the USB cable, all in the same C code.
This application note is a companion to application note 3937, "Setting up the Maxim USB laboratory." The
Keil™ project containing the Maxim demo code is available for download.
Introduction
The Maxim USB laboratory is a combination of two circuit boards and a C program. With this system, you can:
Study, operate, test, and modify a functional USB device based on an ARM7 microcontroller (µC)
connected to a MAX3420E USB peripheral controller.
Study, operate, test, and modify a functional USB host that uses the same ARM7 µC connected to a
MAX3421E host controller. Figure 1 shows data retrieved by the host from a USB memory stick.
Connect the host to the peripheral with a USB cable and run both host and peripheral at the same time.
When developing either USB host or USB peripheral code, it is very useful to have a reference design at
the other end of the USB cable. By doing this, both sides of the USB cable, host and peripheral, are
controllable and customizable since they are both implemented by the same C code.
Page 1 of 17