Questions tagged [i2s]

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

23 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
286 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
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 ...
2
votes
0answers
995 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
573 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
0answers
19 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
1answer
27 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
40 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
20 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
807 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
493 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
179 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
563 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
0answers
12 views

How to mount microphone and speaker, which both use pins 18 and 19?

I want to mount both an Adafruit I2S speaker bonnet and Adafruit I2S microphone on a Raspberry Pi 3. I have tested and both work independently. But both use the same pins 18 and 19, and I don't see ...
0
votes
0answers
16 views

Character driver for i2s - Pi hangs on interrupt handling

Lately I have been writing a linux loadable kernel module which is a character driver for the BCM/I2S interface of the BCM2835. I need this to access a specific i2s codec. Although generally ...
0
votes
0answers
42 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
1answer
106 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
157 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
113 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
150 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
192 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
337 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
359 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
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 ...