I installed pisound and everything worked fine.
Even after installing fan-shim everything was ok.
But after some time I realized there is no audio output anymore.
I repeatedly checked the GPIO contacts, but nothing changed.
The device is properly recognized via aplay, arecord and amidi.
But the speaker-test returned with an error
Wiedergabe-Gerät ist sysdefault
Stream-Parameter sind 48000 Hz, S16_LE, 2 Kanäle
Verwende 16 Oktaven rosa Rauschen
Rate ist 48000 Hz (angefordert: 48000 Hz)
Puffergröße von 128 bis 131072
Periodengröße von 64 bis 65536
Verwende maximale Puffergröße 131072
Perioden = 4
gesetzt: period_size = 32768
gesetzt: buffer_size = 131072
0 - Vorne links
1 - Vorne rechts
Schreibfehler: -5, Eingabe-/Ausgabefehler
xrun_recovery fehlgeschlagen: -5, Eingabe-/Ausgabefehler
Moreover, the input channel on the pisound board should work
properly as I realized that the red led starts to flash when an input
Using an osciloscope I can’t measure any signals between pin 39 and 40 of the GPIO pins.
Concerning the power supply I am using the standard power supply
which should yield 3A actually.
It means the I²S peripheral failed to establish sync with Pisound’s ADC and DAC. This could be impacted by PCM_FS and PCM_CLK GPIO lines. You may inspect those pins on your board, and see if there’s any damage or missing components around them.
After all I installed pisound on my Raspi 3.
And it worked. Therefore, the error is triggered from my
Raspi4 board. Maybe you can give any hints for testing
or approving the functionality of the board especially
Thank you very much for your support. I appreciate it.
Thank you very much for your efforts.
I already made a fresh install but with the same results.
I agree that it may be that some of the GPIO ports are damaged.
I will test it as soon as possible and send the results to you.
I did the test with gpiotest. Here are the results:
Skipped non-user gpios: 0 1 28 29 30 31
Tested user gpios: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
Failed user gpios: None
Anything seems to be ok.
Here are some new findings.
Furthermore, I investigated the signals on the gpio pins with piscope
Pin 20: mosi shows a constant signal flow
After a reboot I select pisound as default device and
Now signals are to be seen at Pin 21 clk.
But, when I issue the command the second time
both signals vanish and the same error message is issued as given above.
Hi, not sure that I am able to help, but I can confirm the finding: on a raspberrypi4 pimoroni fan-shim (! when controlled by the pimoroni python-script) conflicts with something in patchbox. The fan can run without the pimoroni script (it runs continuously then), but once the script is enabled sound breaks off. The pimoroni script runs as a service - when the service is disabled audio can recover…
Thanks for any considerations!
For me the noise has come down somewhat since I put elastic tape on all sides where walls of the case meet and set the feet on a soft cloth. The material of the pisound case is probably not ideal to reduce fan noise. It’s getting bearable now