Questions tagged [i2s]
For questions regarding the I2S serial bus interface standard for connecting digital audio devices.
45
questions
0
votes
0
answers
21
views
Looking to use Raspberry Pi 4 as a USB audio sink, for direct connection
I want to use my Raspberry Pi to take real-time audio (not network streaming) in PCM via USB, where a PC host will see the Raspberry Pi as an audio device gadget.
From there, I plan to use the CPU of ...
0
votes
0
answers
111
views
Playback open error: -16,Device or resource busy
I have a RaspberryPi Zero W and the HifiBerry DAC.
I have used it before without problems and now I have an image with samplerbox and I added the line to /boot/config.txt:
dtoverlay=hifiberry-dac
I ...
0
votes
0
answers
49
views
WebRTC and i2s microphone problem
Hope someone can help.
I have this mic, uv4l and webrtc installed on my rpi B+ with buster. I control the raspberry pi via SSH.
When I open a brower on my mobile phone, I can speak into it and get the ...
0
votes
0
answers
142
views
I2S on Raspberry Pi
I am using I2S MEMS microphone on RPi4. I use the Adafruit I2S installation guide on https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-test
This worked fine on the ...
0
votes
0
answers
100
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 ...
0
votes
1
answer
92
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 ...
0
votes
0
answers
19
views
Cannot capture screen with i2s audio - help needed
First time here and new to RPi.
I have set up an SPH0645 i2s mic and can record and playback using Audacity without a problem.
I am trying to screen capture and have tried Vokoscreen, recordmyscreen ...
2
votes
0
answers
74
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 ...
0
votes
2
answers
267
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....
0
votes
0
answers
205
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 ...
1
vote
0
answers
38
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 ...
1
vote
1
answer
53
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/...
1
vote
1
answer
801
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 ...
1
vote
1
answer
96
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 ...
0
votes
1
answer
2k
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
3
answers
635
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 ...
1
vote
0
answers
171
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) ...
0
votes
0
answers
603
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
0
answers
276
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 ...
1
vote
0
answers
30
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 ...
0
votes
1
answer
268
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. ...
2
votes
1
answer
11k
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 ...
3
votes
1
answer
8k
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 ...
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 ...
0
votes
0
answers
280
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
1
answer
464
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 ...
8
votes
1
answer
37k
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 (...
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.
2
votes
2
answers
1k
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 ...
5
votes
4
answers
36k
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 ...
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 ...
1
vote
1
answer
858
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 ...
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 (...
1
vote
0
answers
729
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
1
answer
548
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
0
answers
226
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 ...
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 ...
4
votes
0
answers
326
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 ...
1
vote
0
answers
737
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
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 ...
2
votes
1
answer
10k
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
0
answers
676
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 ...
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 ...
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
...
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?...