MaK11-12
Posts: 22
Joined: Tue Aug 09, 2011 6:27 pm

Unknown USB Device (Device Descriptor Request Failed) on Custom RP2040 Board

Mon Sep 27, 2021 4:55 pm

Hi all,

I have designed and assembled a custom RP2040 board that produces the error "Device Descriptor Request Failed" on Windows (https://i.imgur.com/dA044sh.png), and a similar error on Linux. There are no problems with the 3.3V input and the RP2040 is correctly producing 1.1V. I have performed a data capture of the USB signalling (in Low Speed mode), shown at: https://i.imgur.com/PqvYD1v.png

This occurs three times https://i.imgur.com/ep0O8fX.png, and then nothing much happens other than a blip that happens every 200-ish microseconds: https://i.imgur.com/dpZooc3.png.

A photo of the PCB can be found at: https://i.imgur.com/myKReqY.jpg
The schematic for the RP2040, the USB port and the power supply for the circuit can be found at https://i.imgur.com/IPjBWo6.png, https://i.imgur.com/bkSxfS7.png and https://i.imgur.com/Js9FrhA.png, respectively.

I have looked at the "Custom RP2040 Board - Unknown USB Device (Device Descriptor Request Failed)" forum post at viewtopic.php?f=147&t=319775 and am sure that the values for the termination resistors (27 Ohm) are correct. I do not currently have a debugger to test whether or not the RP2040 is actually working.

I also checked that the oscillator was correctly producing a 12MHz signal.

I have previously used a Micro USB port with an 8-bit PIC16F1459 with success, but am unsure as to what the problem could be here. Maybe the USB-C port circuit isn't correct?

Thanks in advance for your help.

Edit:
The Linux kernel shows the following in the logs:
Sep 27 19:11:53 zap kernel: usb 1-1: new low-speed USB device number 4 using xhci_hcd
Sep 27 19:11:53 zap kernel: usb 1-1: device descriptor read/64, error -71
Sep 27 19:11:53 zap kernel: usb 1-1: device descriptor read/64, error -71
Sep 27 19:11:53 zap kernel: usb 1-1: new low-speed USB device number 5 using xhci_hcd
Sep 27 19:11:53 zap kernel: usb 1-1: device descriptor read/64, error -71
Sep 27 19:11:54 zap kernel: usb 1-1: device descriptor read/64, error -71
Sep 27 19:11:54 zap kernel: usb usb1-port1: attempt power cycle
Sep 27 19:11:54 zap kernel: usb 1-1: new low-speed USB device number 6 using xhci_hcd
Sep 27 19:11:54 zap kernel: usb 1-1: Device not responding to setup address.
Sep 27 19:11:54 zap kernel: usb 1-1: Device not responding to setup address.
Sep 27 19:11:55 zap kernel: usb 1-1: device not accepting address 6, error -71
Sep 27 19:11:55 zap kernel: usb 1-1: new low-speed USB device number 7 using xhci_hcd
Sep 27 19:11:55 zap kernel: usb 1-1: Device not responding to setup address.
Sep 27 19:11:55 zap kernel: usb 1-1: Device not responding to setup address.
Sep 27 19:11:55 zap kernel: usb 1-1: device not accepting address 7, error -71
Sep 27 19:11:55 zap kernel: usb usb1-port1: unable to enumerate USB device

MaK11-12
Posts: 22
Joined: Tue Aug 09, 2011 6:27 pm

Re: Unknown USB Device (Device Descriptor Request Failed) on Custom RP2040 Board

Tue Sep 28, 2021 9:09 am

Looking at the image below, it can be seen that "D-" is connected to USB_DP, and "D+" is connected to USB_DN.

Image

I've bodged in a USB Type-B port and can verify that the circuit works.

Return to “Other RP2040 boards”