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: 9
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: 5588
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: 9
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: 5588
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: 9
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: 5588
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: 9
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: 5588
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 11:21 pm

Here's 'speaker-test -c2 -D plughw:0,0':


pi@moode4:/mnt/SDCARD/Stereo Test $ speaker-test -c2 -D plughw:0,0

speaker-test 1.1.8

Playback device is plughw:0,0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 128 to 131072
Period size range from 64 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 2.759529
0 - Front Left
1 - Front Right
Time per period = 5.464008
0 - Front Left
1 - Front Right
Time per period = 5.454258
0 - Front Left
1 - Front Right
Time per period = 5.461203
0 - Front Left
1 - Front Right
Time per period = 5.459097
0 - Front Left
1 - Front Right
Time per period = 5.461084
0 - Front Left
1 - Front Right
Time per period = 5.461215
0 - Front Left
1 - Front Right
Time per period = 5.461087
0 - Front Left
1 - Front Right
Time per period = 5.459319
0 - Front Left
1 - Front Right
Time per period = 5.459289
0 - Front Left
1 - Front Right
Time per period = 5.458964
0 - Front Left
1 - Front Right
Time per period = 5.461131
0 - Front Left
1 - Front Right
Time per period = 5.459303
0 - Front Left
1 - Front Right
Time per period = 5.459199
0 - Front Left
1 - Front Right
Time per period = 5.461517
0 - Front Left
1 - Front Right
Time per period = 5.460884
0 - Front Left
1 - Front Right
Time per period = 5.461147
0 - Front Left
1 - Front Right
Time per period = 5.459264
0 - Front Left
1 - Front Right
Time per period = 5.459266
0 - Front Left
1 - Front Right
Time per period = 5.459201
0 - Front Left
1 - Front Right
^CTime per period = 3.246920


And here's 'aplay --device=hw:0,0 'piano2.wav':

pi@moode4:/mnt/SDCARD/Stereo Test $ aplay --device=hw:0,0 piano2.wav
Playing WAVE 'piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo


No sound at all came out.

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

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

by mikeysklar on Tue Jul 27, 2021 12:53 pm

I think we are down to visual assessment specifically around the audio jack on the Bonnet with no volume. Can you see any differences in soldering, components or PCB between the two devices? It seems all the i2s communication between the the Pi and Bonnet is responding correctly and it is down audio output / volume that is the fail.

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

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

by pjsinouye on Wed Jul 28, 2021 12:30 am

Visually, I don't see any defects on the audio jack on the bonnet with no sound. Here's one view:
Attachments
P1010946.JPG
P1010946.JPG (116.49 KiB) Viewed 68 times

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

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

by pjsinouye on Wed Jul 28, 2021 12:31 am

And here's another view:
Attachments
P1010949.JPG
P1010949.JPG (103.23 KiB) Viewed 68 times

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

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

by mikeysklar on Wed Jul 28, 2021 5:32 pm

I can't make out much from these photos, but I think it is time to toss the problematic unit and move on.

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

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

by pjsinouye on Wed Jul 28, 2021 11:50 pm

Yeah, all that troubleshooting just to tell me what I knew and said from the beginning: THIS BONNET IS DEFECTIVE.

The only difference is that you, Adafruit, wasted my time and gave me no concessions, other than frustration and time consuming tests, metered out one at a time, dragged out for no apparent reason, followed by a useless conclusion that "I think it is time to toss the problematic unit and move on."

Great going, Adafruit. Way to show last class customer service.

I will be wary of your Adafruit-branded products in the future.

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

Please be positive and constructive with your questions and comments.