10
votes
How to make PCM5102 DAC work on Raspberry Pi ZeroW?
On these purple PCBs there are 5 sets of bridging pads.
On the front (component side) there is one pair of pads which may be bridged to tie the SCK (system clock) low. This will force the PCM510x to ...
8
votes
Accepted
How to make PCM5102 DAC work on Raspberry Pi ZeroW?
I was able to make this unit work with my Raspberry Pi 3 using volumio and osmc without the need of any software tweaking. I must say that it sounds very good on both distributions.
While using both ...
4
votes
Accepted
I2S DAC device support (kernel drivers?) and noise ("pop", "crackle") on playback
2020-06 update/summary
The MAX98357 does not handle the RPi's I2S output well which causes pops/cracks
root cause is a short high-level interruption of BCLK before LRCLK starts (oscillograms: actual,...
3
votes
Accepted
Confirming the I2S pins on Raspberry Pi 3 model B?
The GPIO you want are
18 PCM_CLK
19 PCM_FS
20 PCM_DIN
21 PCM_DOUT
No others are accessible from the Pi3B expansion header.
See the PCM/I2S Audio section (page 119) of the Broadcom peripherals ...
3
votes
Accepted
I2S Recording combined with I2S Playback
I was also getting the same error. But now it is working for me.
First you install I2S microphone as shown here: https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-...
2
votes
I2S DAC device support (kernel drivers?) and noise ("pop", "crackle") on playback
So a specific driver exists. Is it available in Raspbian?
Nope.
(needs compiling?)
So yes it's available by specifying it as a module and recompiling the kernel. One way to configure for ...
2
votes
Start a pyhton script, which depends on I2S as soon as possible during the startup of my Raspberrypi
You set DefaultDependencies=false. This is a hard condition and I would not do it because you have to define all needed dependencies by yourself. With man systemd.service you will find:
Default ...
2
votes
Accepted
Installation of kernel module for I2S Mic fails
I did some more research and did manage to get the MEMS mic working.
Apparently the guide was updated after I did setup my RaspberryPi using the guide which Johnny789 did point out in a comment.
...
2
votes
Toslink input for Raspberry Pi
It's not as simple as directly connect a S/PDIF or Toslink connector to the Pi. From Can I get audio input through the GPIO, the pins that include PCM_DIN directly take PCM streams, like a WAV file. ...
2
votes
How to make PCM5102 DAC work on Raspberry Pi ZeroW?
DAC BOARD > Raspberry Pi ZeroW connector J8
SCK > Not wired (Internally generated)
BCK > PIN 12 (GPIO18)
DIN > PIN 40 (GPIO21)
LRCK > PIN 35 ...
2
votes
Trying to use I2S for stereo pair of INMP441 MEMS mics on Raspberry Pi Pico
Found the solution:
The two I2S buses on the RPi Pico are numbered 0 and 1.
So the first parameter of the I2S call should be 0 (not 2 as above).
then it runs correctly.
1
vote
Accepted
Can I use this Audio Bonnet with Compute Module 4 I/O?
The product description there does say "works with any and all Raspberry Pi computers with a 2x20 connector", which covers all boards except the original 1B (= a 2x13 breakout).
The 40-pin ...
1
vote
Slow audio playback with PCM5102A I2S DAC
I've found this post in struggling with the slow playback on one of my Rpi3B. And your solution just worked! Thanks!!
Then I googled and found the reason as you did. Thanks again.
Temporary: sudo ...
1
vote
I2S data stream format
I wouldn't trust a lossy format such as MP3 to represent a signal with 100% accuracy. Even if the original signal you encoded was absolute silence, it may no longer be the case after MP3 encoding due ...
1
vote
I2S data stream format
Because windows using data dithering. So the 0 is not zero but -1; -2; 0; 1; 2;
1
vote
Need a board that have two I2S interfaces
It seems compute module IO board have two sets of PCM interfaces: one on GPIO 18, 19, 20 and 21, another on GPIO 28, 29, 30 and 31. I will try whether they can be used simultaneously.
1
vote
How do I increase the input volume of a microphone connected to pi .Its using the I2S interface
Ok I found the solution. First edit the ~/.asound file (If its not there , create it).Add the following
pcm.dmic_hw {
type hw
card sndrpisimplecar
channels 2
format S32_LE
}
pcm.dmic_sv {
type ...
1
vote
Accepted
Kernel modules and Pi board versions
Ah, I think I've answered my own question. My Pi B+ is ARM V7:
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 57.60
Features : half thumb fastmult vfp ...
1
vote
Full duplex audio over i2s (Adafruit MEMS + DAC)
On the datasheet it does say they should work on full duplex mode because they have different FIFO buffers. One 64x32 bits RX FIFO for input, another 64x32 bits TX FIFO for output. Page 120 of the ...
1
vote
How to make PCM5102 DAC work on Raspberry Pi ZeroW?
This post doesn't add much fundamentally new information, but it does (1) give a step-by-step visual guide, and (2) document the process for an older Pi 1 B with the "P5" header.
Here's how ...
1
vote
How to make PCM5102 DAC work on Raspberry Pi ZeroW?
Got a highly distorted sound when HDMI cable was unplugged. Sound was good again when I touched a ground connection on RPI. So there is some issue with grounding.
Took me a 3 hour search to find the ...
1
vote
Recording audio using i2s mic results to pure noise when interfaced with Raspberry PI 3 (both I2S mic and I2S speaker)
@bgsuello I also faced the similar problem microphone was getting detected and was showing it is recording but it was only recording noise, during playback as well noise only could be heard.
Reason ...
1
vote
I2S Connections - MEMS Digital Microphone, CODEC, and Raspberry Pi Zero W
I was looking to wire something similar, and This post here
has a link that show how to wire it
Digikey sells that little board from adafruit with the microphone already soldered to it and a handy pin ...
1
vote
Help reading audio data from I2S microphones
I had a similar issue but was able to get a non-zero recording by using the pyaudio.paInt32 format. My sampling frequency and block size are different in my code but I doubt that will be a problem. ...
1
vote
How to output all audio on the I2S interface and audiojack by default?
The adafruit instructions are for replacing the internal audio output with i2s. You'll need both devices enabled and working to send audio to both at once. So places where you remove the snd_bcm2835 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
i2s × 48audio × 20
gpio × 8
pi-zero-w × 8
alsa × 7
microphone × 5
raspbian × 4
i2c × 4
kernel × 4
driver × 3
adafruit × 3
pi-2 × 2
usb × 2
audio-playback × 2
output × 2
modules × 2
compute-module-4 × 2
pi-3 × 1
python × 1
boot × 1
pi-4 × 1
pi-3b+ × 1
raspbian-stretch × 1
pi-zero × 1
display × 1