Hi,

as part of a side project I've been trying to play a wav file from an SD card
out of Raspberry Pi Pico 2 over I2S. SD is successfully mounted and I2S is
registered under /dev/audio/pcm0. But unfortunately when using nxplayer with the
sound file (44.1K, 16 bit stereo WAV), pins allocated for I2S are still (no
clock, no data, no sign of activity). The configuration used is raspberrypi-
pico-2:spisd as it closely resembles the raspberrypi-pico:audiopack config that
seems to be meant to support sound. However, the situation with the latter
config and with the RPi Pico (RP2040) results in the same behavior.

Debugging sessions so far led me to the nxplayer_playthread not being able to
allocate audio buffer with ALLOCBUFFER ioctl.

Is someone working with RPi Pico and sound? Am I missing some important detail?
Please let me know.

Kind Regards
Michal

Reply via email to