Questions relating to Inter-IC Sound, typically on microcontrollers and the Raspberry Pi.
Questions tagged [i2s]
50 questions
2
votes
1 answer
STM32 - Reading I2S to record a .WAV file. Audio choppy, what is causing it?
I'm using an STM32 (STM32F446RE) to receive audio from two INMP441 mems microphone in an stereo setup via I2S protocol and record it into a .WAV on a micro SD card, using the HAL library.
I wrote the firmware that records audio into a .WAV with…

Wonky
- 264
- 2
- 11
2
votes
1 answer
How to record I2S audio microphone in Beaglebone AI
I am trying to record in a Beaglebone AI from a Circular Microphone Board TIDA-01454. I have checked that the CMB's output is correct with an I2S DAC(I can hear the mics sound). However, I cant record in the Beaglebone AI, this is what happens when…

19mike95
- 506
- 2
- 4
- 19
2
votes
0 answers
I2S Input configuration Beaglebone ALSA
I am trying to capture sound from a Circular Microphone Board (TIDA-01454) in a Beaglebone AI. I have succesfully configured the ADCs of the CMB via I2C, and checked that the I2S output is working correctly with an external DAC.
However my next step…

Mikel
- 40
- 1
- 9
2
votes
2 answers
STM32: I2S input not working when using DMA
I am trying to interface a 'STM32F401RET6 Nucleo-64' microcontroller with an Adafruit I2S microphone in a mono setup. To accomplish this task, I would like to have DMA enabled.
I used the Device Configuration Tool in STM32 Cube IDE to activate I2S3…

IsaacNuketon
- 55
- 1
- 10
2
votes
1 answer
Syncing of buffer-transmission with ESP32, I2S MEMS-mic and SD-card (FreeRTOS, PlatformIO, ESP-PROG)
i know this forum dislikes "open" questions like this, nevertheless i'd like somebody to help untie the knot in my head, much appreciated.
The goal is simple:
read a stereo 32bit 44100 S/s I2S signal from 2 adafruit sph0645 mics
create a wav-header…
user14984104
2
votes
1 answer
Sampling analog signals on the ESP32 at different rates using I2S
I need to read high freq. analog signal data from one ADC1 channel and read low freq. data from other ADC1 pins.
I use I2S for the high freq. data read, which runs perfectly, but as soon as I2S is configured all other ADC1 pins read 4095 only.
What…

Chris
- 31
- 4
1
vote
1 answer
how to interface esp32S3 with MEMS Microphone Breakout - SPH0645LM4H and stream the audio to server using http or UDP
I found an example in esp-adf/examples/recorder/pipeline_raw_http. The example is intended for audio development boards such as the Krovo 2 board, and it uses the built-in analog microphone. I want to update this code for the ESP32-S3 and interface…

warrior
- 21
- 3
1
vote
1 answer
How to set audio sampling rate using ADC/DAC Mode of ESP32 I2S driver?
I have combined some of the i2s-adc and sd-card examples from the esp-idf repo on GitHub to make a program that samples an analog microphone and stores the recording as a WAV file in an SD card. the problem is that my recorded audio is always played…

curioso
- 125
- 2
- 13
1
vote
0 answers
Facing issue with integration of Raspberry Pi 4 I2S master to micro controller I2S slave
I2S master: Raspberry Pi 4 configured as detailed in https://github.com/AkiyukiOkayasu/RaspberryPi_I2S_Master/blob/master/i2smaster.dts
Using Python script created audio stream for the captured audio file and executed stream write function as…

ramya_n_s
- 11
- 2
1
vote
0 answers
STM32F107 read mems mic MP34DT05-A i2s
I am working on STM32F107 to read MP34DT05-A mems mic on I2S. I have tried any configuration setting with pdm2pcm.c and i2s.c but nothing shows the expected result.
The expected result is positive int value. This is what i did so far:
i2s3 (SPI3)…

Pnzy
- 25
- 5
1
vote
1 answer
Can't include on ESP32 on neither VSCode PIO nor Arduino IDE
I've tried to get my ESP32 LOLIN32 with Arduino framework working, but I can't even upload code to it. I'm including nothing but Arduino and I2S but it doesn't understand what I mean with I2S.
I have only written:
#include
#include…

Gustav Abrahamsson
- 11
- 1
1
vote
2 answers
ESP32 I2S in nanoFramework
I'm trying to replicate a C++ project I found for sampling sound data on the ESP32 using I2S, but using C# and nanoFramework.
In the ADCSampler.cpp file the following headers are loaded
#include
#include "driver/i2s.h"
#include…

CobyC
- 2,058
- 1
- 18
- 24
1
vote
0 answers
Problem to use I2S library with Adafruit Feather Huzzah ESP8266
I have a very frustrating problem, because it seems simple and trivial. I try to use the adafruit breakout board "Adafruit I2S MEMS Microphone Breakout" with the "Adafruit Feather Huzzah ESP8266" with Arduino IDE 1.8.15. I installed the esp8266…

Charlotte
- 11
- 2
1
vote
1 answer
ESP-ADF I2S Recording choppy with PSRAM enabled
First of all; I'm using ESP-IDF 4.2 with the ESP-ADF and have two CMM4030D microphones connected to an ESP32-WROVER-E on a custom board. These microphones should record a wav file to an SPI-Connected SD card.
And that works flawless! But not when…

JVKran
- 31
- 5
1
vote
0 answers
Does anyone have experience with a sph0645(i2s microphone) and esp32-s2?
I am trying with ESP32-S2 WROOM (full name: LilyGO TTGO T8 ESP32-S2 WROOM) to read the input from an i2s microphone(sph0645), and all I get is either silence or a noise (if the assigned pin is not in the microphone fits) so the connection must be…

Dylan van Eck
- 13
- 2