Maxim MAX3420E Frequently Asked Questions Manual

Peripheral controller with spi interface

Advertisement

Quick Links

Maxim
>
App Notes
>
Interface Circuits
Keywords:
USB, FAQ, MAX3420E, SPI, peripheral, controller, interface
APPLICATION NOTE 3597
Frequently Asked Questions About the MAX3420E
Abstract: This application note lists frequently asked questions (FAQs) about the MAX3420E peripheral controller with SPI™
interface.
1.
General questions
1.
What is the MAX3420E?
2.
Does the MAX3420E include a microprocessor?
3.
What packages are available for the MAX3420E?
4.
Are the MAX3420E packages lead-free?
2.
USB questions
1.
What USB speeds does the MAX3420E support?
2.
Does the MAX3420E comply with the USB spec? Which revision?
3.
How many endpoints does the MAX3420E support?
4.
Why doesn't the MAX3420E support isochronous transfers?
5.
Can I use the MAX3420E in a self-powered peripheral?
6.
Can I use the MAX3420E in a bus-powered peripheral?
7.
What external circuitry do I need to connect the MAX3420E to USB?
8.
Can you recommend a 3.3V regulator?
9.
What does the CONNECT bit do?
3.
Interface questions
1.
How does a microprocessor connect to the MAX3420E?
2.
You say the SPI interface is 3, 4 or 5 wires. What does this mean?
3.
What SPI clocking modes does the MAX3420E support?
4.
My CPU uses a 2.5 volt supply, but the MAX3420E uses a 3.3V V
5.
What is the purpose of the MAX3420E INT pin?
6.
Does the MAX3420E support active-low wired-OR interrupts? How about edge active interrupts?
7.
How fast can I run the MAX3420E SPI interface (SCLK max frequency)?
8.
Is there a low limit to the MAX3420E SCLK frequency?
9.
I have an 8-pin microprocessor, and it takes 5 of its' IO pins to connect to the MAX3420E. How do I do IO?
10.
Do I need to add external pullup resistors to the GPIN pins?
11.
Can I drive optocouplers from the SPI interface pins?
12.
What is the purpose of the VBCOMP pin? Does it power the MAX3420E?
4.
Programming questions
1.
How does my firmware talk to the MAX3420E?
2.
How do I program the MAX3420E to handle USB enumeration?
3.
How do I program a BULK IN transfer?
4.
What if a USB IN request comes in while firmware is loading the IN FIFO?
5.
How do I know when to load an IN FIFO?
6.
What if there is a USB transfer error? Do I need to write code to handle the error condition?
7.
How do I program a BULK OUT transfer?
8.
How about INTERRUPT transfers?
9.
How do I program a SETUP transfer?
10.
Do I need to program the USB data toggles?
11.
The MAX3420E interrupt request bits are cleared by writing "1" to them. Is this backwards?
12.
Do you have any programming tips?
5.
Host software questions
1.
How does my Windows application talk to the MAX3420E?
2.
Does Maxim supply a custom Windows driver?
3.
What example code does Maxim supply?
4.
I want to design a MAX3420E-based device that does not conform to a standard Windows class. What do I use for a
supply. Do I need external level translators?
CC
Sep 15, 2005
Page 1 of 7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MAX3420E and is the answer not in the manual?

Questions and answers

Summary of Contents for Maxim MAX3420E

  • Page 1 Is there a low limit to the MAX3420E SCLK frequency? I have an 8-pin microprocessor, and it takes 5 of its' IO pins to connect to the MAX3420E. How do I do IO? Do I need to add external pullup resistors to the GPIN pins?
  • Page 2: General Questions

    3. What packages are available for the MAX3420E? The MAX3420E is available in two packages. The 32-pin TQFP (7mm x 7mm body size) is good for prototyping and short production runs because it has package leads. The 24-pin TQFN package (5mm x 5mm body size, pads underneath the package) is ideal for high-volume compact devices.
  • Page 3: Can I Use The Max3420E In A Bus-Powered Peripheral

    The MAX6349TL is ideal. It supplies 150mA at 3.3V, and contains a power-on-reset (POR) circuit which can be connected directly to the MAX3420E RES# pin. A good external POR circuit is important to have in a hot-plugged design such as a USB peripheral.
  • Page 4: Programming Questions

    1. How does my firmware talk to the MAX3420E? The MAX3420E has a set of 21 registers that are accessed by its slave SPI interface. The SPI master first sends a command byte that sets the register address and direction, and then transfers one or more data bytes.
  • Page 5: What If There Is A Usb Transfer Error? Do I Need To Write Code To Handle The Error Condition

    7. How do I program a BULK OUT transfer? When the host sends OUT data, the MAX3420E stores the bytes in an OUT endpoint FIFO. After the transfer is complete and verified to be error-free, the MAX3420E asserts a "DAV" (Data Available) interrupt request bit for the particular endpoint.
  • Page 6: Does Maxim Supply A Custom Windows Driver

    6. What are the advantages and disadvantages of the MAX3420E approach? The disadvantages are that firmware is required for the MAX3420E controller and that Maxim does not supply a custom Windows driver. Instead, Maxim supplies example firmware to illustrate how to conform to a standard Windows device class (HID), and thereby to use a built-in Windows driver.
  • Page 7: Automatic Updates

    Mail™. Application note 3597: www.maxim-ic.com/an3597 More information For technical support: www.maxim-ic.com/support For samples: www.maxim-ic.com/samples Other questions and comments: www.maxim-ic.com/contact AN3597, AN 3597, APP3597, Appnote3597, Appnote 3597 Copyright © by Maxim Integrated Products Additional legal notices: www.maxim-ic.com/legal Page 7 of 7...

Table of Contents