0

DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (UDA13
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Please be positive and constructive with your questions and comments.

DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (UDA13

by pjsinouye on Mon Jul 19, 2021 12:32 pm

I bought two Hello, one of my Adafruit I2S Audio Bonnet for Raspberry Pi (UDA1334A) [ID:4037] boards. One of my Adafruit I2S Audio Bonnet for Raspberry Pi (UDA1334A) [ID:4037] boards is defective. It does not work. My other Adafruit I2S audio bonnet works fine. Its just this one board that does not work.

They were both set up in the same Pi Zero with Moode Audio software, version 7.3.0. Everything was EXACTLY the same. This board did NOT work. The other board did work.

I want a replacement board. Please advise as to how to effect getting the replacement.

pjsinouye
 
Posts: 5
Joined: Wed May 05, 2021 12:11 pm

Re: DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (U

by mikeysklar on Tue Jul 20, 2021 6:31 pm

Sure, if you purchased the i2s Audio Bonnet from us in the last month we can do a return for the non-working unit.

The only thing that is worth checking on these is that the device address did not change when the boards were swapped and the Pi Zero rebooted. Can you post the output of with the non-working bonnet?

Code: Select all | TOGGLE FULL SIZE
aplay -l

mikeysklar
 
Posts: 4937
Joined: Mon Aug 01, 2016 8:10 pm

Re: DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (U

by pjsinouye on Tue Jul 20, 2021 11:37 pm

How do I do that, i.e., post the output of with the non-working bonnet?

Moode audio is an music server. You select an I2S device and reboot. It then plays music. With one bonnet, it worked. With the other, it don't. There is nothing to output. In other words, the only output would be sound and the non-working bonnet did not output sound.

I bought this bonnet in April. Is it too late to even bother?

Thank you

pjsinouye
 
Posts: 5
Joined: Wed May 05, 2021 12:11 pm

Re: DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (U

by mikeysklar on Wed Jul 21, 2021 5:17 pm

Yeah, April is too late to do the return.

The concern I have is that Raspberry Pi's like to number installed devices eg. card0 card1 etc. Normally I would expect each i2c Bonnet to show up as card0, but sometimes it can pop up as card1, card2. If you can try the aplay -l command you can see that it outputs the devices it has found which might be meaningful between the two different Bonnets.

mikeysklar
 
Posts: 4937
Joined: Mon Aug 01, 2016 8:10 pm

Re: DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (U

by pjsinouye on Wed Jul 21, 2021 11:55 pm

Thanks. I tried 'aplay -l' and here is what is output when the BAD bonnet is plugged in:

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

And here is what is output when the GOOD bonnet is plugged in:

**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 [HifiBerry DAC HiFi pcm5102a-hifi-0]
Subdevices: 0/1
Subdevice #0: subdevice #0

As shown, the output is the same.

The only difference is that the BAD bonnet does not play any sound. The good bonnet does.

What can I do? This bonnet is defective. Its my bad for not testing this bonnet out sooner than one month past April, but its still a defective bonnet.

Please advise.

pjsinouye
 
Posts: 5
Joined: Wed May 05, 2021 12:11 pm

Re: DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (U

by mikeysklar on Thu Jul 22, 2021 4:35 pm

Thanks for running aplay in both configurations.

It is a really good sign that the Pi can see the Bonnet so there is some more testing you can do.

What is the result of running:

Code: Select all | TOGGLE FULL SIZE
speaker-test -c2


If you are running console only mode you can check the volume levels with alsamixer to make sure the volume is high enough to be heard. Use the up down errors after running the following command.

Code: Select all | TOGGLE FULL SIZE
alsamixer

mikeysklar
 
Posts: 4937
Joined: Mon Aug 01, 2016 8:10 pm

Re: DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (U

by pjsinouye on Mon Jul 26, 2021 12:46 am

Hello, here is what I saw when I ran 'speaker-test -c2':

pi@moode4:~ $ speaker-test -c2

speaker-test 1.1.8

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy

And when I tried 'alsamixer' here is what I saw:

lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq AlsaMixer v1.1.8 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Card: snd_rpi_hifiberry_dac F1: Help x
x Chip: F2: System information x
x View: F3: Playback F4: Capture F5: All F6: Select sound card x
x Item: Esc: Exit x
x x
x x
x x
x This sound device does not have any controls. x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

I have no idea what that indicates, but it still does not play any sound. Thank you.

pjsinouye
 
Posts: 5
Joined: Wed May 05, 2021 12:11 pm

Re: DEFECTIVE: Adafruit I2S Audio Bonnet for Raspberry Pi (U

by mikeysklar on Mon Jul 26, 2021 3:43 pm

Thank you for that. You can try and confirm these two revisions of the commands as well. I'm losing faith in this Bonnet working.

Code: Select all | TOGGLE FULL SIZE
speaker-test -c2 -D plughw:0,0
aplay --device=hw:0,0 test.wav


You will need to supply your own wav file for the second aplay command. The above is specifically outputting to Card0 / Device0 which your VoiceBonnet was showing up on according to aplay -l.

If these fail you are out of options on that Bonnet.

mikeysklar
 
Posts: 4937
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.