Feedback on http://www.maxim-ic.com/appnotes.cfm?an_pk=3597

Member Comments Avg rating: 80
  quochung11   - Max3420E, usb plug and play. (no rating)
2008-07-03
I had designed an application usb to spi, but when i connect device with max3420e(schematic in application note) to usb port, the computer didn't regconize an usb device. Is Max3420e plug and play usb?
  DaveP   - Re: Max3420E, usb plug and play.
2008-07-14
quochung11:

The MAX3420 is a 12Mbps USB controller. It has no intelligence. The software in the SPI master is what makes it plug and play. There are other app notes that describe example the software needed to do USB enumeration (AN3690). When the SPI master controls the MAX3420 with software such as this, then the system will be plug and play.

BR, DaveP (at Maxim)
  PunMaster   - Transposed Byte in SETUP Packet (no rating)
2009-05-16
The first 8 byte SETUP packet sent to a USB device during initial enumeration with a Windows host should contain the data "80 06 00 01 00 00 40 00", as shown in Figure 7 on page 9 of "AN3690.pdf". Sometimes, when my firmware reads 8 bytes from SUDFIFO after SUDAVIRQ has been asserted, the correct data is returned. Other times, in seemingly random cases, the data "06 00 01 00 00 40 00 80" is returned instead. It appears that the first byte "80" is being dropped from the beginning and included at the end of the packet. Although I have not seen the expected behavior of reading too much data from an FIFO register explained in any of the documentation, it appears from my own tests that the packet is simply repeated if more than the correct number of bytes are read. This behavior would suggest that the problem is caused by the first byte being erroneously skipped when the buffer is read, and then included at the end due to the repeat / wrap-around effect. I have triple-checked my SPI code and I see no errors there. Does anyone know why this is happening? Thank you.
  Dale_Moffet   - Re: Transposed Byte in SETUP Packet (no rating)
2009-05-18
PunMaster,

This issue sounds interesting, but we were going to need to make a brief examination of the circuits around the MAX321 before conducting a closer thorough examination of this issue.

Could you please submit a tech support request through our support web site and include a set of scopes of the voltage supplies and DC logic inputs (AC couple to emphases the ripple) over a period of time when which the issue has occurred.  In addition, include your schematic, PCB layout and a sample of your source code.

This information will assist in ascertaining why this is occurring when your host transmits a Get_Configuration SETUP transfer request.

Best regards,
Dale Moffet
Maxim Customer Applications
  ilhan   - about vendorID and productID (no rating)
2009-05-21
For educational application we are using MAX3420, can we just use the vendorID and ProductID provided in the sample program?
  Moe   - Re: about vendorID and productID (no rating)
2009-05-27
I'm not sure what you mean by vendor ID and Product ID -- but to order samples, just click on the QuickView's Ordering Info tab, and click the appropriate Sample button.
  usbspy   - SPI config (no rating)
2009-06-04
Can the MAX3420 act as Master SPI?
I am trying to interface the Max with sensors, ADCs with SPI bus and transfer the data to USB with the help of MAX3420. But most of these sensors can work as SPI slaves.
  usbspy   - Interfacing to SPI slaves (no rating)
2009-06-08
How do you interface the MAX3420E to devices which can only communicate in SPI slave mode?
  JKen   - Bulk transfer (no rating)
2009-06-14
I used the AN3690_BF1_Code provided by Maxim and the output looks good via interrupt transfer. But it wouldn't work if I change the transfer type from interrupt transfer (bmAttributes 0x03 in Endpoint Descriptor) to bulk transfer (0x02). I didn't modify rest of the source code. What else should I do to make it work?

Also, if I wanted to use WinUSB to do an interrupt transfer loopback, i.e. send a word from PC (Visual Studio) to my device and return the same word back to PC, does that mean I need to create an addition endpoint descriptor for EP1OUTFIFO? Or will I see the PC data coming in at EP0FIFO register instead?
  therese   - Re: Interfacing to SPI slaves (no rating)
2009-06-15
Hi USBSPY,

I see you need technical assistance in using the MAX3420E.  Please visit Maxim's online Technical Support site to submit your questions.  An engineer familiar with this device will respond to you.

To do so:
  Go to www.maxim-ic.com
  Select, "Technical Support" (lower/mid page)
  The site will prompt you for the required information.
  
Technical Support
  usbspy   - Re: Transposed Byte in SETUP Packet (no rating)
2009-06-26
Is it possible that you are reading the data just a bit early on the rising edge of the clock?
This wouldn't explain the 80h wrapping around.
  usbspy   - Enumeration fails (partially successful) (no rating)
2009-07-20
In my case enumeration is good until it writes the device descriptor. The host requests for config descriptor. Enumeration fails after this.
Basically, enumeration succeeds partially if I keep the config descriptor length constant(either 0x09 or 0x22). If I try to make it as per the request, the config descriptor is never transferred to the host and I don't see anything happening on the USBlyzer. All this is on Windows Vista.
On XP, enumeration fails completely. all I get is "this device was not recognized" pop up.

Does the set_address require a minimum amount of time? Is enumeration failing because of this?

If it helps, my spi clock frequency is 1MHz. I also tried 2MHz and 0.5MHz.



Your Comments
Login or register to post a comment.