Questions tagged [i2s]

For questions regarding the I2S serial bus interface standard for connecting digital audio devices.

47 questions
10
votes
5 answers

MAX98357 I2S DAC support (kernel drivers?) and noise ("pop", "crackle") on playback

I am trying a Adafruit I2S 3W Stereo Speaker Bonnet for Raspberry Pi - Mini Kit, which is built around two MAX98357 (datasheet: adafruit, maxim), on a Raspberry Pi Zero W with Raspbian Stretch (upgraded yesterday). The trouble is that I have "pops"…
handle
  • 173
  • 2
  • 13
8
votes
1 answer

Confirming the I2S pins on Raspberry Pi 3 model B?

I'm having trouble confirming what are the pins used for I2S on Raspberry Pi 3 model B. First of all, I²S - Wikipedia tells me that in I2S, I'm looking for bit clock (BCLK), word/left-right clock (LRCLK), serial data (SD), and possibly Master clock…
sdaau
  • 201
  • 1
  • 2
  • 7
7
votes
5 answers

How to make PCM5102 DAC work on Raspberry Pi ZeroW?

I purchased a PCM5102 for my PiZeroW, but having problems finding complete driver software information voltage information wiring information. I chose this particular unit because they seemed very popular on Ebay when talking about adding I2S…
null
  • 197
  • 1
  • 1
  • 9
4
votes
0 answers

I2s DAC audio out but USB audio in

I was wondering if anyone could help me. I am trying to set up my Pi 3 to be an assistant (Google or Alexa, etc). I had it set up working fine with the USB mic and the 3.5mm audio out, but I wanted higher quality audio out so I got a Pi zero audio…
3
votes
1 answer

How do I increase the input volume of a microphone connected to pi .Its using the I2S interface

So i have managed to get input from a microphone using I2S interface following this link . https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-and-test if i use the following command to record audio and then…
Aashwin Gaur
  • 41
  • 1
  • 4
3
votes
0 answers

Which GPIO pins are used for I2S audio I/O

I am trying to set up the ADAU1781 as an audio codec for the Pi 3 B, communicating with the Pi via the GPIO pins. Which pins would I use for I2S audio input and output? I have been doing a lot of research on the subject and cannot seem to find a…
Emmett P
  • 187
  • 2
  • 7
3
votes
0 answers

Using I2S microphone with Raspberry Pi

I have a microphone with I2S output and I am trying to record audio with it, using the Raspberry Pi (2 model B). I'm having trouble getting the microphone to work. Does anyone have working code for it? I didn't find such information on the internet.
kfir
  • 39
  • 2
3
votes
0 answers

I2S MEMS Microphone pop sound at the beginning of the recording

I am using Adafruit I2S MEMS Microphone in Raspberry Pi 4 running raspbian buster. I installed it successfully following adafruit guide. It is working well for recording using arecord. However, every time I start a recording it starts with a "pop"…
2
votes
1 answer

I2S Recording combined with I2S Playback

I have a Raspberry Pi Zero and I am using the Adafruit I2S MEMS Microphone together with the ADAFRUIT I2S 3W CLASS D AMPLIFIER BREAKOUT - MAX98357A. I did follow the two respective tutorials and I got both the mic and the speaker working. However, I…
Besi
  • 1,004
  • 4
  • 14
  • 26
2
votes
0 answers

Both speaker and microphone via I2S

I got the exact same error as someone asked on the raspberry pi forums. But no solution was found yet. https://www.raspberrypi.org/forums/viewtopic.php?t=183617 I've connected max98357-i2s to the Rpi via I2S and it's working ok.…
Greg
  • 71
  • 5
2
votes
2 answers

Full duplex audio over i2s (Adafruit MEMS + DAC)

I have setup a pi-zero with digital mems mics from Adafruit, and also the digital DAC. I can use arecord to record stereo audio, and then aplay to playback the audio over the DAC. Interestingly, the DAC just worked out of the box after following the…
learnvst
  • 121
  • 6
2
votes
1 answer

How to output all audio on the I2S interface and audiojack by default?

I'm currently running Raspbian on a Raspberry Pi 3. I want to output all the audio that would normally go to the audio jack output also go to the I2S interface (on GPIO pins 12 BCK, 35 LRCK, 40 DOUT). Most answers on the internet mention…
Nofima
  • 53
  • 1
  • 2
  • 7
2
votes
0 answers

How to Set Up Driver Support for I2S Audio Codec

I am building a I2S audio codec using an ADAU1781 chip, which will communicate with the Pi via the GPIO pins. In my research I have found that there is an ASoC driver built into the Raspberry Pi kernel. Does this mean the driver is included in a…
Emmett P
  • 187
  • 2
  • 7
2
votes
1 answer

I2S microphones on Pi 2 and 3?

I'm trying to get a pair of I2S microphones working on a Pi2/Pi3. FWIW, it's a pair of http://www.invensense.com/wp-content/uploads/2015/02/ICS-43432_DS.pdf. Here is some relevant output: $ uname -a Linux one 4.4.8-v7+ #880 SMP Fri Apr 22 21:55:04…
JayEye
  • 1,908
  • 12
  • 19
1
vote
0 answers

Send 24/96 pcm music from an rpi3b+ to a zero one

As my title says, I'd like to send audio from an rpi3b+ to another one. Preferably a zero one via a GPIO connection. My target is to have a dedicated device to only manage an USB DAC. Ideally an Rpi Zero, because I want the smallest system…
1
2 3 4