We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [i2s]

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

Filter by
Sorted by
Tagged with
8
votes
4answers
4k views

I2S DAC device 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 (...
5
votes
1answer
18k views

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 (...
4
votes
0answers
279 views

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 ...
3
votes
4answers
14k views

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 ...
3
votes
0answers
1k views

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 ...
3
votes
0answers
810 views

Using I2S microphone with Raspberry Pi [closed]

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?...
2
votes
1answer
4k views

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 ...
2
votes
2answers
779 views

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 ...
2
votes
1answer
6k views

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). ...
2
votes
0answers
941 views

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 ...
2
votes
0answers
553 views

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 ...
1
vote
1answer
3k views

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 ...
1
vote
1answer
3k views

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 ...
1
vote
1answer
406 views

I2S Connections - MEMS Digital Microphone, CODEC, and Raspberry Pi Zero W

I have a MEMS Digital Microphone with PDM output. I am planning to use this: http://www.st.com/content/ccc/resource/technical/document/datasheet/57/af/88/31/7b/59/4f/77/DM00111225.pdf/files/...
1
vote
1answer
14 views

I2S 3W Class D Amplifier and 2.2“ SPI-Display (ILI9341) - GPIO 18 Problem

I want to connect the Adafruit I2S 3W Class D Amplifier Breakout Board and an 2.2" TFT Display (ILI9341) to a Raspberry Pi Zero. However, it seems that by default both components use the GPIO 18 (the ...
1
vote
0answers
25 views

Error in configuration for I2S microphone

I follow these directions to set up the Raspberry Pi for an Adafruit I2S microphone. The line to compile the module fails with a missing script: $ make -C /lib/modules/$(uname -r )/build M=$(pwd) ...
1
vote
0answers
18 views

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 ...
1
vote
0answers
745 views

CODEC I2S: Using SGTL5000 in a custom board

I am using this board and this works: https://fe-pi.com/products/fe-pi-audio-z-v2 Now, I wanted to integrate an SGTL5000 (the above board's CODEC) in a custom board. I designed it and I already have ...
1
vote
0answers
428 views

Recording audio using i2s mic results to pure noise when interfaced with Raspberry PI 3 (both I2S mic and I2S speaker)

I followed Adafruit's guide for setting up the I2S mic with raspberry pi 3 loaded with precompiled image of Raspbian Jessie for the 3.5in PiTFT. Also, I'm using another I2S device which is the ...
1
vote
0answers
457 views

Raspberry pi voice encryption over GSM

I'm not expert in RPI, so I need help to make a voice encryption model for calls over GSM. I have lot of questions. So I want to use raspberry pi 3 and Sim900l for GSM. I will need a microphone for ...
1
vote
0answers
164 views

Use SPI to clock sensor and stream data using DMA

I'm looking into a issue on a Pi with SPI port, to clock continuously and stream data to memory area using a DMA. The sensor I connected on SPI on a Raspberry Pi 3, should be clocked with more than ...
1
vote
0answers
513 views

How to connect SSM2603 via I2C/I2S?

I'm trying to get the Audio Codec SSM2603 (as input device) to work with a RaspberryPI 3 running Raspbian. Im using a SSM2603-EVALZ. I compiled and installed the most recent kernel with SSM2603 ...
0
votes
1answer
47 views

Toslink input for Raspberry Pi

I am looking for optical Toslink input for Raspberry pi (any model). If I just connect a DLR-1140 receiver to PCM_DIN, would that work? My goal is to build a sound server. I have a TV that outputs ...
0
votes
1answer
92 views

Need a board that have two I2S interfaces

I want to try to make a prototype of hardware audio DSP module, so I need both audio input and output. RPi 3B only has one, and the quality is poor, so I'd better to connect audio IO by myself. ...
0
votes
0answers
14 views

Unable to use I2S MEMS microphone in google duo web

I am using Adafruit I2S MEMS Microphone in raspberry pi 3 running raspbian buster. I installed it successfully following adafruit guide. It is working well for recording using arecord. My .asoundrc ::...
0
votes
0answers
18 views

Installation of kernel module for I2S Mic fails

I have a I2S mems microphone from adafruit. Now I am following the guide at https://github.com/nejohnson2/rpi-i2s#compile-the-i2s-module Now after I have mounted the debugfs I attempt to look for the ...
0
votes
1answer
41 views

I2S data stream format

While I'm working with RPi I2S and couple of DACs, I notice something which I like to verify in here. When I connect the scope to I2S interface I usually see waveforms similar to this: In here 1st ...
0
votes
0answers
89 views

How to force compilation of kernel with rpi-source for I2S microphone

I followed these directions to configure the Raspberry Pi for the Adafruit I2S microphone. I skipped the step that installed git bc libncurses5-dev bison flex libssl-dev and got this error when ...
0
votes
0answers
60 views

Simple Sound Card with I2S - how do I switch frequencies?

I asked this a month ago, but didn't get an answer and so the thread was auto-deleted. It is becoming critical that this be solved, so I am reposting. I have the simple sound card working with a ...
0
votes
0answers
128 views

SPH0645LM4H Adafruit I2S MEMS Microphone Kernel Error

I'm trying to configure the i2s kernel following this website: https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-and-test but when I run the following code rpi-...
0
votes
0answers
178 views

PocketSphinx , Adafruit i2s Mems Microphone and RPI

I am using Adafruit i2s Mems Microphone on Raspberry pi3 and PocketSphinx for the Speech to text conversion project. I am able to record audio on AUDACITY and Alsa. Previously i tried Google speech ...
0
votes
0answers
322 views

DAC Sound Card For Raspberry Pi 3b Won't Work

I just bought a raspberry pi 3b and the Kuman PIFI Digital DAC+ HIFI DAC Audio Sound Card Module I2S interface for Raspberry pi 3 2 Model B B+ SC08. When I plugged it in to my raspberry pi and hooked ...
0
votes
1answer
317 views

Kernel modules and Pi board versions

I have a Raspbian image (4.9.59-v7) into which I am loading a kernel module that I have built myself since it is not in the default image (for an ICS43432 MEMS I2S microphone). I have this working ...
0
votes
1answer
1k views

How can I configure LibreELEC to work with a PIFI DAC+ v2.0 HiFi board?

The PIFI DAC+ board is mounted on a RPi 3, but when trying to configure the audio output device in LibreELEC, I cannot see an option to select the I2S DAC board.
0
votes
1answer
3k views

Help reading audio data from I2S microphones

Using the Adafruit I2S MEMS microphone breakout board and the Raspberry Pi 2B, I am trying to read in stereo input using PyAudio and pass the data through a FFT to analyse. However I am not able to ...
0
votes
1answer
851 views

How to route audio from a USB sound card to I2S on RPi?

So for a school project I need to be able to route audio from a USB sound card to I2S. More specifically, the I2S will be connected to an XMOS xCore-200 Multichannel Audio Platform. I need to write a ...