miketeachman / micropython-esp32-i2s-examples

Usage and examples for I2S support on the ESP32 microcontroller
MIT License
156 stars 29 forks source link

wavplayer hangs on RPI Pico #30

Open roddersuk opened 1 year ago

roddersuk commented 1 year ago

Tried running wavplayer on my Pico and it starts playing fine but after a few seconds it crashes the Pico with this traceback:

Traceback (most recent call last):
  File "wavplayer.py", line 61, in i2s_callback
  File "sdcard.py", line 273, in readblocks
OSError: [Errno 5] `EIO

The ``only variation from your setup is that I use gpio 10,11,12 for the SD card instead of 14,15,12 I have to reboot the Pico to recover Any ideas?

roddersuk commented 1 year ago

I think this was dodgy wiring on my breadboard causing the SD card reader to fail.