Datasheet

MAX3420E in a Bus-Powered Application
Figure 16 depicts the MAX3420E in a peripheral device
that is powered by V
BUS
. This configuration is advanta-
geous because it requires no external power supply.
V
BUS
is specified from 4.75V to 5.25V, so a 3.3V regu-
lator is required to power the MAX3420E. This diagram
assumes that the microprocessor is powered by 3.3V
as well, so the V
L
pin (logic-level reference voltage) is
connected to V
CC
. Therefore, the GPIO (general-pur-
pose inputs/outputs) are referenced to 3.3V.
USB is a hot-plug system (V
BUS
is hot when the device
is plugged in), so it is good design practice to use a
power-on reset circuit to provide a clean reset to the
system when the device is plugged in. The MAX6349TL
serves as an excellent USB regulator, since it has very
low quiescent current and a POR circuit built in.
Because this design is bus powered, it is not necessary
to test for the presence of V
BUS
. In this case, the bus
voltage-detection input, VBCOMP, makes an excellent
general-purpose input when pulled up to V
L
. The
VBCOMP input has two interrupts associated with it,
VBUSIRQ and NOVBUSIRQ. These interrupts can detect
both edges of any transitions on the VBCOMP input.
The configuration in Figure 16 shows the SPI interface
using the maximum number of SPI interface pins. The
data pins, MOSI and MISO, are separate, and the
MAX3420E supplies an interrupt signal through the INT
output pin to the µP to notify the µP when its attention
is required.
MAX3420E in a Self-Powered Application
Figure 17 shows a self-powered design in which the µP
has its own power source. This is a common configura-
tion in battery-powered handheld devices. Figure 17
also illustrates the SPI interfacing with the minimum
number of pins. This is achieved by using a single bidi-
rectional data line and no interrupt pin connection. The
MAX3420E register bit, FDUPSPI, configures the SPI
interface for bidirectional operation.
Although Figure 17 shows V
L
= V
CC
, if the microcon-
troller uses a different interface voltage (1.71V to 3.6V)
this reference voltage can be connected to V
L
. Figure 17
shows a connection from the MAX3420E GPX output to
the microcontroller. GPX can be programmed (see Table
3) to connect the output of the internal V
BUS
comparator
to the GPX output. This enables the microprocessor to
detect a USB plug-in event even if the MAX3420E is put
into its power-down state.
USB Peripheral Controller
with SPI Interface
MAX3420E
V
CC
V
L
XI XO
INT
MOSI
MISO
SCLK
RES
D+
D-
D+
D-
VBCOMP
SS
0.1μF
10kΩ
GPI
GND
V
BUS
33Ω
33Ω
1.0μF
CERAMIC
C
XI
C
XO
12MHz
3.3V
REGULATOR
MAX6349TL
μP
44
USB
"B" CONNECTOR
GND GPIN GPOUT
4.7μF
Figure 16. MAX3420E in a Bus-Powered Application
MAX3420E
Maxim Integrated
19