Datasheet

The first five registers (R0–R4) access endpoint FIFOs.
To access a FIFO, an initial command byte sets the
register address and then consecutive reads or writes
keep the same register address to access subsequent
FIFO bytes.
The remaining registers (R5–R20) control the operation
of the MAX3420E. Once a register address above R4 is
set in the command byte, successive byte reads or
writes in the same SPI access cycle (SS low) increment
the register address after every byte read or written. This
incrementing operation continues until R20 is accessed.
Subsequent byte reads or writes continue to access
R20. Note that this autoincrementing action stops with
the next SPI cycle, which establishes a new register
address. Addressing beyond R20 is ignored.
The MAX3420E register map is depicted in Table 1. For
a complete description of all register contents, please
refer to the
MAX3420E Programming Guide.
USB Peripheral Controller
with SPI Interface
Table 1. MAX3420E Register Map
R EG NAME b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0 a c c
R0 EP0 F IF O b 7b 6b 5b 4b 3b 2b 1b 0RS C
R1 EP1 O U T F IF O b 7b 6b 5b 4b 3b 2b 1b 0RS C
R2 EP2 IN F IF O b 7b 6b 5b 4b 3b 2b 1b 0RS C
R3 EP3 IN F IF O b 7b 6b 5b 4b 3b 2b 1b 0RS C
R4 SU D F IF O b 7b 6b 5b 4b 3b 2b 1b 0RS C
R5 EP0 B C 0b 6b 5b 4b 3b 2b 1b 0RS C
R6 EP1 O U T B C 0b 6b 5b 4b 3b 2b 1b 0RS C
R7 EP2 IN B C 0b 6b 5b 4b 3b 2b 1b 0RS C
R8 EP3 IN B C 0b 6b 5b 4b 3b 2b 1b 0RS C
R9 EPST A L L S 0AC KS TAT S TLS TAT S TLE P 3IN S TLE P 2IN S TLE P 1OU TS TLE P 0OU TS TLE P 0IN RS C
R10 C L R T O G S E P 3D IS AB E P 2D IS AB E P 1D IS AB C TG E P 3IN C TG E P 2IN C TG E P 1OU T0 0RS C
R11 EPI R Q 00S U D AV IRQ IN 3BAV IRQ IN 2BAV IRQ OU T1D AV IRQ OU T0D AV IRQ IN 0BAV IRQ RC
R12 EPI EN 00S U D AV IE IN 3BAV IE IN 2BAV IE OU T1D AV IE OU T0D AV IE IN 0BAV IE RS C
R13 U SB IR Q U RE S D N IRQ V BU S IRQ N OV BU S IRQ S U S P IRQ U RE S IRQ BU S AC TIRQ RWU D N IRQ OS C OKIRQ RC
R14 U SB IEN U RE S D N IE V BU S IE N OV BU S IE S U S P IE U RE S IE BU S AC TIE RWU D N IE OS C OKIE RS C
R15 U SB C T L H OS C S TE N V BG ATE C H IP RE S P WRD OWN C ON N E C TS IG RWU 0 0 RS C
R16 C PU C T L 000 00 0 0 IE RS C
R17 PIN C T L E P 3IN AK E P 2IN AK E P 0IN AK FD U P S P IIN TLE V E LP OS IN TGP X BGP X ARS C
R18 R EVISIO N 000 00 1 0 0R
R19 F N A D D R 0b 6b 5b 4b 3b 2b 1b 0R
R20 IO PIN S GP IN 3GP IN 2GP IN 1GP IN 0GP O U T3 GP O U T2 GP O U T1 GP O U T0 RS C
Note: The acc (access) column indicates how the SPI master can access the register.
R = read, RC = read or clear, RSC = read, set, or clear.
Writing to an R register (read only) has no effect.
Writing a 1 to an RC bit (read or clear) clears the bit.
Writing a zero to an RC bit has no effect.
MAX3420E
6
Maxim Integrated