By setting a control bit (FDUPSPI,
3.What SPI clocking modes does the MAX3420E support?
The SPI mode is usually expressed in the form (x,y) where one variable is the clock polarity, CPOL, and the other is the clock phase, CPHA. The MAX3420E operates in modes (0,0) or (1,1) without requiring a mode bit. The only difference between these modes is the inactive SCLK level: low for (0,0), high for (1,1). There are two basic requirements for running the MAX3420E SPI interface:
■MOSI data supplied to the MAX3420E must be valid before the first positive SCLK edge.
■SPI input data is sampled on the positive edge of the clock, and output data changes on the negative edge of SCLK.
Be careful with these
4.My CPU uses a 2.5V supply, but the MAX3420E uses a 3.3V VCC supply. Do I need
external level translators?
No. The MAX3420E contains internal level shifters. A VL pin powers the internal logic and serves
as the logic reference voltage for the SPI and IO pin signals. For a 2.5V interface, connect your 2.5V supply to the VL pin. The VL pin can actually operate with a range of voltages from 1.7V to 3.6V. If the controller uses 3.3V, tie VL to VCC.
5.What is the purpose of the MAX3420E INT pin?
The INT pin goes active whenever the MAX3420E requires service. During USB peripheral operation, this includes the arrival of SETUP, IN or OUT packets, plus bus events like bus reset, suspend, and resume. Using this pin in a system reduces the SPI traffic since the interrupt request bits do not need to be polled over the SPI interface.
6.Does the MAX3420E support
The MAX3420E supports both interrupt types, using a control bit called INTLEVEL. Setting INTLEVEL=1 makes the INT output pin
the INT pin
7.How fast can I run the MAX3420E SPI interface (SCLK max frequency)?
With VL of 2.5V or greater, the SCLK signal can be as high as 26MHz. For lower VL values, the data sheet shows how much to derate the SCLK maximum frequency.
8.Is there a low limit to the MAX3420E SCLK frequency?
No. This clock can be held high or low indefinitely. Also, the MAX3420E ignores SCLK transitions while SS# is high.
9.I have an
The MAX3420E has four
10.Do I need to add external pullup resistors to the GPIN pins?
No. The GPIN pins are internally pulled up (typical value of 20k) to VL.
11.Can I drive optocouplers from the SPI interface pins?
Yes. The MAX3420E outputs have enough drive current to drive optocoupler LEDs through series resistors. Consult the data sheet for exact drive specs. The output buffers were designed with