Questions tagged [i2s]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

PCM5102A purple dac not working

This never worked for me :( I tied with two purple color PCM5102A DACs from aliexpress and eBay ! None worked when connecting to my raspberry pi zero 2W as described ! I have used the steps as ...
Vish's user avatar
  • 1
1 vote
1 answer
127 views

Can I use this Audio Bonnet with Compute Module 4 I/O?

I'm building a project that I'd like to eventually sell in small batches as a commercial product. The RPI Compute Module 4 I/O (CM4IO) has most of what I'd need, but one extra thing I need is the ...
Jelani Thompson's user avatar
1 vote
0 answers
53 views

Microphone volume seems to increase via PulseAudio but arecord does not see any increase

I am still trying to understand how the audio input/output stuff works over PCM on the Pi its new to me as I've never dealt with it before. All of the testing below was on the latest Raspberry Pi OS ...
HelloWorld's user avatar
1 vote
0 answers
55 views

No sound from UDA1334 PCM DAC on Compute Module 4 with 64 bit Raspberry Pi OS

So I am trying to verify that two PCM devices I have work one is a UDA1334 and the other a microphone. So I installed the latest 64 bit Raspberry Pi OS and enabled I2S and the hifiberry-dac overlay. I ...
HelloWorld's user avatar
1 vote
0 answers
197 views

Connecting 8 PDM microphones via SPI/I2S

I'm working on a project where I need to connect 8 PDM microphones to a Raspberry Pi. My current plan is to use a PCMD3180 to connect to either I2S or SPI input on the Raspberry Pi. The problem is, I ...
Connor Davey's user avatar
0 votes
0 answers
297 views

I2S boot overlays configurations for RPI CM4

I am trying to install a mono or stereo I2S microphones to a Raspberry Pi CM4 Board. I am getting some reference links for configurations but they are suggested to work on the older version of the RPI ...
shiv patil's user avatar
0 votes
1 answer
190 views

PCM1808 I2S arecord gets1153x too much data

I have a stock Pi 3B with all Raspbian updates. From various sources I've tried to cobble together alsa recording from an inexpensive PCM1808 device at 8K 24 bit stereo. To do this, I've used the ...
Deepstop's user avatar
  • 101
2 votes
0 answers
102 views

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 ...
Imanol Gómez's user avatar
0 votes
2 answers
467 views

Slow audio playback with PCM5102A I2S DAC

I'm using the same PCM5102A DAC board on a Pi B Rev2 as in this blog post with software configured as per this post, connected in the same way. The audio playback is slow but otherwise of good quality....
Andy J's user avatar
  • 101
1 vote
0 answers
326 views

raspberry pi zero I2S record and playback

I am following this answer to enable both audio record and playback on RPI zero. My question is: dose the files ~/.asoundrc and /etc/asound.conf conflict each other? Sorry, I should just comment ...
leo's user avatar
  • 11
1 vote
0 answers
46 views

If I want to program I2S by bit-setting the PCM registers manually, do I need to disable any kernel settings (eg snd_bcm2835)?

(I'm not with my board at the moment - if I need to share my code, I'll have to edit this post or post a new one at a later time) I didn't realize how complicated I2S setup on the Pi is. I've been ...
Nick Nagy's user avatar
1 vote
1 answer
58 views

Start a pyhton script, which depends on I2S as soon as possible during the startup of my Raspberrypi

I have the following systemd service, which starts a systemd service as soon as I boot my raspberrypi: [Unit] Description=MyService DefaultDependencies=false [Service] Environment=SERVICE_HOME=/home/...
Besi's user avatar
  • 854
1 vote
1 answer
971 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 ...
Besi's user avatar
  • 854
1 vote
1 answer
118 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 ...
tdog4224's user avatar
1 vote
1 answer
3k 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 ...
Denis Shulyaka's user avatar
0 votes
3 answers
837 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 ...
jackran's user avatar
1 vote
0 answers
195 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) ...
miguelmorin's user avatar
0 votes
0 answers
693 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 ...
miguelmorin's user avatar
0 votes
0 answers
295 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 ...
Erik's user avatar
  • 1
1 vote
0 answers
31 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 ...
Julien Pardo's user avatar
0 votes
1 answer
331 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. ...
jiandingzhe's user avatar
2 votes
1 answer
12k 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 ...
Besi's user avatar
  • 854
3 votes
1 answer
9k 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 ...
Aashwin Gaur's user avatar
2 votes
0 answers
1k 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 ...
Greg's user avatar
  • 71
0 votes
0 answers
294 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 ...
Hitesh Patil's user avatar
0 votes
1 answer
506 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 ...
Rob's user avatar
  • 111
8 votes
1 answer
40k 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 (...
sdaau's user avatar
  • 201
0 votes
1 answer
3k 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.
Peque's user avatar
  • 101
2 votes
2 answers
2k 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 ...
learnvst's user avatar
  • 121
5 votes
4 answers
41k 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 ...
null's user avatar
  • 167
1 vote
0 answers
1k 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 ...
rmarques's user avatar
  • 111
1 vote
1 answer
973 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 ...
bgsuello's user avatar
  • 166
9 votes
5 answers
8k 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 (...
handle's user avatar
  • 153
1 vote
0 answers
785 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 ...
Rami Osman's user avatar
1 vote
1 answer
597 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/...
J. A. De la Peña's user avatar
1 vote
0 answers
265 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 ...
lskov's user avatar
  • 11
0 votes
1 answer
5k 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 ...
Bill W's user avatar
  • 11
4 votes
0 answers
342 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 ...
Richard Sayce's user avatar
1 vote
0 answers
799 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 ...
branch14's user avatar
  • 111
0 votes
1 answer
1k 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 ...
wlegra2's user avatar
  • 23
2 votes
1 answer
11k 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). ...
Nofima's user avatar
  • 53
2 votes
0 answers
714 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 ...
Emmett P's user avatar
  • 179
3 votes
0 answers
2k 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 ...
Emmett P's user avatar
  • 179
2 votes
1 answer
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 ...
JayEye's user avatar
  • 1,878
3 votes
0 answers
1k 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?...
kfir's user avatar
  • 39