19-0697; Rev 0; 12/06 MAX3421 Evaluation Kit-1 The MAX3421 evaluation kit-1 (EV kit-1) provides a proven design to evaluate the MAX3421E USB peripheral controller with SPITM interface. The EV kit contains both a MAX3421E USB host & peripheral controller and a MAX3420E USB peripheral controller for user evaluation and development. Connector J4 is wired to plug into a Keil MCB2130 development board that contains a Philips ARM controller (LPC2318). The design uses two separate SPI ports to provide independent operation of the two USB controllers (MAX3421E and MAX3420E). The MAX3421 EV kit-1 adds USB functionality to any microcontroller, microprocessor, DSP, CPLD, FPGA, or ASIC with an SPI master interface, or five GPIO lines. The EV kit-1 board comes with the MAX3421EEHJ+ and MAX3420EECJ+ installed. Features Ideal USB Training and Debugging System Mates to Keil MCB2130 Development Board Can Be Wired into User Systems MAX3421E Can Be Used as a USB Host or Peripheral MAX3420E Provided On-Board as a Test Peripheral MAX3420E Can be Used to Develop USB Peripheral Code Ordering Information PART NUMBER TYPE PC INTERFACE MAX3421EVKIT-1+ EV kit USB +Denotes a lead-free and RoHS-compliant EV kit. Component List DESIGNATION QTY C1, C3, C5, C6, C8, C9 C2, C4, C7, C10 C11-C14 C15 D1-D4 D5 DESCRIPTION 6 2.2F 10%, 10V X5R ceramic capacitors (0805) TDK C2012X5R1A225KB 4 1F 10%, 16V X5R ceramic capacitors (0603) TDK C1608X5R1C105K 0 1 4 1 Not installed, 18pF 5%, 50V C0G ceramic capacitors (0402) TDK C1005C0G1H180J 0.1F, 5V (min) X7R ceramic capacitor (0603) TDK C1608X7R1C104K, C1608X7R1E104K, or C1608X7R1H104K Panasonic-ECG ECJ-1VB1C104K KEMET C0603C104K3RAC AVX 0603ZC104KAT Green LEDs (0805) Lumex Opto SML-LX0805UPGC-TR 7-segment LED display, common-cathode LITE-ON LSHD-7503 DESIGNATION QTY DESCRIPTION J1 1 USB type A right-angle receptacle Assmann Electronic AU-Y1006-R J2, J5 2 USB type B right-angle receptacles Assmann Electronic AU-Y1007-R J3 1 3-pin header J4 1 2 x 18 right-angle female receptacle PB1-PB8 8 6mm light-touch switches with GND (H = 7) Panasonic-ECG EVQ-PBC07K R1-R4 4 33 5% resistors (0603) R5-R16 12 470 5% resistors (0603) R17, R18 2 2.2k 5% resistors (0603) U1 1 MAX3421EEHJ+ USB peripheral/host controller with SPI interface (32-pin, 5mm x 5mm, TQFP) U2 1 MAX3420EECJ+ USB peripheral controller with SPI interface (32-pin, 7mm x 7mm, TQFP) SPI is a trademark of Motorola, Inc. ________________________________________________________________ Maxim Integrated Products For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit Maxim's website at www.maxim-ic.com. 1 Evaluates: MAX3421E/MAX3420E General Description Evaluates: MAX3421E/MAX3420E MAX3421 Evaluation Kit-1 Component List (continued) DESIGNATION QTY U3 1 Y1, Y2 Y3, Y4 DESCRIPTION DESIGNATION QTY MAX4793EUK+ 300mA current-limit switch (SOT23-5) Top mark "AEAG" 2 12MHz ceramic resonators Murata CSTCE12M0G15 0 Not installed, 12MHz crystal; 18pF load (HCM49 SMD case) Citizen HCM49-12.000MABJ-UT DESCRIPTION -- 1 MAX3421EVKIT-1+ PCB -- 1 USB high-speed A-to-B cables, 5ft (1.5m) Assmann Electronic AU-Y1002A-R -- 1 36-pin, dual-row vertical header, with certain pins removed -- 1 Red power wire Component Suppliers SUPPLIER PHONE WEBSITE Murata Mfg. Co., Ltd. 770-436-1300 www.murata.com Panasonic Corp. 800-344-2112 www.panasonic.com TDK Corp. 847-803-6100 www.component.tdk.com Note: Indicate that you are using the MAX3421E and MAX3420E when contacting these component suppliers. 2 _______________________________________________________________________________________ MAX3421 Evaluation Kit-1 USB TYPE B USB TYPE A J5 J2 J1 MAX3421E MAX3420E USB HOST AND PERIPHERAL CONTROLLER (U1) USB PERIPHERAL CONTROLLER (U2) SPI, POWER VBUS ON MAX4793 FLAG CURRENT-LIMITED SWITCH (U3) SPI, POWER J4 J3 5V IN Figure 1. Block Diagram Detailed Description of Hardware The MAX3421 EV kit-1 has three USB connectors (Figure 1). The MAX3421E is wired to USB connectors J1 and J2. Plug a cable into USB Type A connector J1 when using the MAX3421E as a host. Plug a cable into USB Type B connector J2 when using the MAX3421E as a peripheral. Do not use J1 and J2 at the same time. Connectors J1 and J2 have their D+ and D- pins wired together, and are intended to be connected only one at a time. USB peripheral controller MAX3420E is wired to USB Type B connector J5. When the MAX3421E (U1) operates as a host, the EV kit must supply VBUS power to USB Type A connector J1. This power must in turn be supplied to the EV kit through power connector J3, which is located in the middle of the board. When mated with a board such as the Keil MCB2130, a "flying lead" can be attached between J3 and the Keil board's 5V IN test pad. Alternatively, a standard 5VDC lab supply can be used. The MAX4793 (U3) controls and current-limits the VBUS voltage. U1 can turn VBUS power on and off using one of its GP-OUT pins (GPOUT7), and can detect a 300mA overcurrent condition on GP-IN pin, (GPIN0). Refer to the MAX4793 data sheet for more information. Buttons and lights are connected to both the MAX3420E and MAX3421E controllers. U1 drives a 7-segment readout and connects to four pushbuttons (PB1-PB4). U2 drives four LEDS and connects to pushbuttons PB5-PB8. The MAX3420E and MAX3421E connect to two separate SPI ports (see Table 1). This allows host and peripheral applications to run concurrently in the same code, when implemented on a dual-SPI microcontroller (such as the ARM LPC2318 used on the Keil MCB2130 board). This provides an ideal USB training and debugging system. The host can dispatch USB requests to the peripheral, the peripheral can respond, and the host can evaluate the results--all in the same C code. Stand-Alone Operation Although the MAX3421 EV kit-1 is designed to plug into a Keil MCB2130 board, it also functions as a standalone board that can be wired into any customer system with an SPI interface. Table 1 shows the J4 pins that correspond to the MAX3420E and MAX3421E interfaces. _______________________________________________________________________________________ 3 Evaluates: MAX3421E/MAX3420E USB TYPE B Evaluates: MAX3421E/MAX3420E MAX3421 Evaluation Kit-1 Table 1. J4 Interface to the MAX3420E and MAX3421E J4 PIN MAX3420E MAX3421E J4 PIN MAX3420E MAX3421E 1 3.3V (in) 3.3V (in) 19 -- -- 2 -- -- 20 -- -- -- 21 -- -- 3 -- 4 -- SCK (in) 22 -- INT (out) 5 -- MISO (out) 23 -- -- 6 SCK (in) -- 24 -- -- 7 -- -- 25 INT (out) -- 8 MISO (out) -- 26 -- SS (in) SCK (in) 9 -- -- 27 -- 10 MOSI (in) -- 28 -- -- 11 GPX (out) -- 29 -- MISO (out) 12 SS (in) -- 30 -- GPX (out) 13 -- -- 31 -- MOSI (in) 14 -- -- 32 -- -- 15 -- -- 33 -- 5V (in) 16 RES (in) -- 34 -- 5V (in) 17 -- -- 35 GND GND 18 -- RES (in) 36 GND GND User Notes: 1) The MAX3420E connects to USB Type B connector J5, while the MAX3421E connects both to USB Type A connector J1 and to USB Type B connector J2. The MAX3421E, therefore, can be connected as a host (J1) or a peripheral (J2). 2) The user system must supply 3.3V on J4 pins 1-2 to power the board. The 3.3V supply should be capable of providing 100mA. 3) The RES pins connect directly to the MAX3420E/ MAX3421E reset pins. It must be driven high for the chip to operate. 4) When operating the MAX3421E as a host controller, the user system must provide 5V power on J4 pins 33-34, or on J3 pin 3. This voltage connects to the VBUS pin of USB Type A connector J1 through a current-limiting switch. The user system must supply 4 enough current to power any USB device plugged into J1. The current-limiting switch (a MAX4793) limits the VBUS current to 300mA. 5) Keep leads to the target system short (under 6in). Long leads and insufficient grounds can lead to signal ringing and erratic operation. 6) When using the MAX3421E as a host, the user program must set the MAX3421E GPO7 pin high to turn on the VBUS switch (U3) that supplies 5V to the USB Type A connector J1. Note that the MAX3421E output port also drives the 7-segment readout using GPO[6:0]. Therefore, the code that updates the 7-segment readout must preserve the bit 7 setting, and the code that turns VBUS on and off must preserve the bits [6:0] settings. This is easily accomplished by first reading the states of the output bits, changing only the needed bits, then writing them back. _______________________________________________________________________________________ C1 2.2F 3.3V 5 PB4 5 PB3 5 PB2 5 PB1 3 4 3 4 3 4 3 4 C11 18pF 1* GND D- D+ 1* C12 18pF CON_USB-B SHIELD SHIELD VBUS J2 Y3 1* 4 2 3 1 FLAG 2 1* Y1 TAKES PLACE OF Y3, C11 & C12 1 2 1 2 1 2 1 2 C2 1F 5 6 GND GND Y1 D- D+ X2 X1 3 1 3.3V C3 2.2F XI 1 GPIN7 GPIN6 GPIN5 GPIN4 GPIN3 GPIN2 GPIN1 GPIN0 XO 24 J2-5V 1 3 2 2 VL VCC 23 VBUS D+ D- GND CON_USB-A SHIELD SHIELD R5 470 32 31 30 29 28 27 26 25 6 5 4 C4 1F 3 GND VBCOMP 22 C5 2.2F U1 D- 20 R1 33 D+ GND 19 R2 33 INT 18 GPOUT5 GPOUT6 GPOUT7 RES SCLK SS MISO 4 7 2 R15 470 5 6 5 4 R13 470 6 3 1 8 R14 470 7 9 10 R16 470 8 9 10 11 12 13 14 15 16 D5 R12 470 R17 2.2k MOSI GPX 17 3.3V GPOUT0 GPOUT1 GPOUT2 GPOUT3 GPOUT4 MAX3421E D+ 21 J1-5V D- R11 470 R10 470 13_HRESN 17_HSCK 20_HSSN 18_HMISO 19_HMOSI 03_HGPX 15_HINT J3 1 3 2 +5V 1 IN 3 2 ON GND MAX4793 U3 J4-35 J4-33 FLAG OUT J4-36 J4-34 J4-32 J4-30 J4-31 J4-29 18_HMISO 19_HMOSI J4-28 J4-26 J4-24 J4-27 J4-25 J4-23 J4-22 J4-20 J4-19 J4-21 J4-18 J4-16 J4-14 J4-12 J4-10 J4-17 J4-15 J4-13 J4-11 J4-9 J4-8 J4-6 J4-7 J4-4 J4-2 J4-5 J4 J4-3 J4-1 17_HSCK 16_PINT 03_HGPX C6 2.2F 3.3V 4 5 FLAG J1-5V C15 0.1F 22_PGPX 20_HSSN 15_HINT 13_HRESN 12_PRESN 07_PSSN 06_PMOSI 05_PMISO 04_PSCK Evaluates: MAX3421E/MAX3420E J1 MAX3421 Evaluation Kit-1 Figure 2a. MAX3421 EV Kit-1 Schematic _______________________________________________________________________________________ 5 Evaluates: MAX3421E/MAX3420E MAX3421 Evaluation Kit-1 PB5 1 2 3 4 5 PB6 1 2 3 4 5 PB7 1 2 3 4 3 PB8 1 2 C13 18pF Y2 5 3 4 1 X2 GND Y4 2 2* 2* X1 5 D1 D2 R6 470 R7 470 1 32 31 30 29 GPIN3 GPIN2 GPIN1 GPIN0 28 N.C. 27 XO 26 XI C14 18pF 25 2* N.C. VBCOMP GPOUT0 24 2 GPOUT1 VCC 23 3 C10 1F 4 5 6 D3 D4 R9 470 VCC VL VL D+ U2 MAX3420E GND D- GND GND GPOUT2 GND GPOUT3 INT C8 2.2F C7 1F 3.3V R8 470 J5-5V C9 2.2F 3.3V 3 21 20 R3 33 2 4 R4 33 VBUS D+ SHIELD D- SHIELD GND CON_USB-B 19 3.3V 7 8 N.C. 9 RES 10 SCLK 11 SS 12 MISO MOSI 13 14 GPX 15 18 R18 2.2k 17 16_PINT N.C. 16 22_PGPX 06_PMOSI 05_PMISO 07_PSSN 04_PSCK 12_PRESN 2* Y2 TAKES PLACE OF Y4, C13 & C14 Figure 2b. MAX3421 EV Kit-1 Schematic 6 J5 1 22 _______________________________________________________________________________________ 6 5 MAX3421 Evaluation Kit-1 Evaluates: MAX3421E/MAX3420E Figure 3. MAX3421 EV Kit-1 Component Placement Guide--Component Side _______________________________________________________________________________________ 7 Evaluates: MAX3421E/MAX3420E MAX3421 Evaluation Kit-1 Figure 4. MAX3421 EV Kit-1 PCB Layout--Component Side 8 _______________________________________________________________________________________ MAX3421 Evaluation Kit-1 Evaluates: MAX3421E/MAX3420E Figure 5. MAX3421 EV Kit-1 PCB Layout--Solder Side Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 _____________________ 9 (c) 2006 Maxim Integrated Products is a registered trademark of Maxim Integrated Products, Inc.