Open
Description
CircuitPython version and board name
Adafruit CircuitPython 9.2.1 on 2024-11-20; Adafruit Feather ESP32 V2 with ESP32
Code/REPL
import time
import board
import max3421e
import usb
spi = board.SPI()
cs = board.D33
irq = board.D15
host_chip = max3421e.Max3421E(spi, chip_select=cs, irq=irq)
while True:
print("Finding devices:")
for device in usb.core.find(find_all=True):
# pylint: disable=line-too-long
print(f"{device.idVendor:04x}:{device.idProduct:04x}: {device.manufacturer} {device.product}")
time.sleep(5)
Behavior
Both CircuitPython 9.2.1 and the current 9.2.4 fail to discover a microSD adapter plugged into the MAX3421E when using a Feather V2. This is using the guide example USB host scan code.
This works with Arduino.
This works with (irq/cs pin changes) using CircuitPython 9.2.4 on a Feather RP2040 DVI.
Description
Working Feather RP2040 DVI
Adafruit CircuitPython 9.2.4 on 2025-01-28; Adafruit Feather RP2040 DVI with rp2040
Finding devices:
0781:cfcb: SanDisk SDDR-B531
Finding devices:
Finding devices:
0781:cfcb: SanDisk SDDR-B531
Feather V2 (CP 9.2.1, 9.2.4)
Finding devices:
Finding devices:
Finding devices:
Finding devices:
Finding devices:
Arduino with same Feather V2
+---------------------------+---------+
| Component | Version |
+---------------------------+---------+
| macOS | 15.2 |
| Arduino IDE | 2.3.4 |
| Adafruit TinyUSB Library | 3.4.2 |
| ESP32 Library | 3.1.1 |
+---------------------------+---------+
TinyUSB Dual: Device Info Example with MAX3421E
Device 1: ID 0781:cfcb
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 0210
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0781
idProduct 0xcfcb
bcdDevice 2920
iManufacturer 3 SanDisk
iProduct 4 SDDR-B531
iSerialNumber 2 052522000003619
bNumConfigurations 1
Device 1: ID 0781:cfcb SanDisk SDDR-B531