Questions tagged [i2s]
Despite the name, it is unrelated to the bidirectional I²C bus. I²S is a media-specific protocol which uses at least three signals: Bit CLK, Word CLK, and at least one data line.
42
questions with no upvoted or accepted answers
2
votes
1
answer
64
views
Reason for the degraded I2S signal
I'm working with one of the devices from the NXP's IMX family - the IMX93 evaluation board.
I've managed to setup the sound card drivers already, the next step was to test I2S signals output via the ...
2
votes
1
answer
178
views
Interlacing two physical I2S data lines into one
I'm looking for hardware that will take two physical I2S data lines, both clocked using the same WS and BCLK lines, and interlace each sample from them together to one output I2S line at double the ...
2
votes
1
answer
2k
views
Change ESP8266 I2S pins
On ESP8266 the default pins for I2S are:
Data bits (SD) = GPIO3/RX0,
Data bit-clock (SCK) = GPIO15,
Word select (WS) = GPIO2/TX1
However in my application Im using these pins for another purpose. Is ...
1
vote
0
answers
122
views
Connecting two I2S data line from an audio codec using only one of the I2C's control clocks
I'm planning to receive audio data from an Audio codec (ak4619). I need to receive signals from 4 microphones and this device permit that through two left/right chanels.
In CubeIDE, I selected a MCU (...
1
vote
0
answers
94
views
Can I transmit audio sampled with I2S driver from ESP32 using Si24R1 (Chinese clone of nRF24L01)?
I'm trying to transmit audio via nRF24 with an ESP32 development board using a driver library from nopnop2002. I'm using the i2s-adc esp-idf lib functions to get data from an analog microphone and I ...
1
vote
0
answers
2k
views
ESP32 High Sample Rate I2S
Recently, I've been working on a project that involves receiving a high sample rate I2S signal and writing it to an SD card with an ESP32. At the moment, however, I believe I'm struggling to even ...
1
vote
0
answers
175
views
Capturing High Sample Rate I2S via USB
Recently, I started working on a project to convert my Sony XDR-F1HD radio to a device that I can connect to over ideally USB to record the RF signal off of the air. All demodulation and processing is ...
1
vote
0
answers
191
views
I2S slave communication without an MCU - how to generate the clocks?
I am designing an audio amplifier circuit which uses an I2S digital MEMS mic (INMP441) for picking up voice signals and an I2S class-D amplifier (MAX98357A) for amplification.
I have attached the ...
1
vote
0
answers
646
views
How can I go about learning to output audio to a speaker using a STM32 board?
I am hoping someone can point me in the right direction. I am trying to learn how to output audio on a STM32 board. The board I have is the STM32F746ZG NUCLEO board.
I have small (1-3) second audio ...
1
vote
0
answers
172
views
STM32H7 I2S Switching from a Fws 96kHz to 48kHz everything stops working, why?
everyday something new with this board.
I recently discovered I was in the wrong Fws to implement my IIR filters as discussed in a previous question I posted.
The solution is essentially step down my ...
1
vote
0
answers
71
views
AKM DAC problem
I’ve been developing the basis for a granular synth and general digital development platform for the past few months. I was using STM32 chips at first, but I’ve switched to bare metal Raspberry Pi for ...
1
vote
0
answers
338
views
How to interface a microphone to an I2S input to use HFP
For my group's SDP/Capstone we are doing a bluetooth headset of sorts. We are using a CYW20706 SoC from Cypress. Specifically, we are using a this CYBT-343026-01 Cypress module whch includes that ...
1
vote
0
answers
812
views
I2S DAC Volume Control
First of all, let me preface this with the fact that I'm not an EE -- I'm a hobbyist with some experience and a background in software development.
I'm trying to use a TI PCM5102A Audio DAC with a ...
1
vote
2
answers
138
views
Does LRCK have to oscillate in an I2S system?
I'm working on a audio function generator using the PCM 1795 DAC. I only need a single output channel for my design. Can I just pull LRCK low or high permanently for the sake of maintaining design ...
1
vote
0
answers
375
views
I2S Fundamentals
I'm trying to get a good understanding of the I2S protocol for a project I'll be working on. My current goal is to take a 24bit, 2 channel .wav file with known, repeating bytes (ex: x00/x00) and view ...
1
vote
0
answers
1k
views
ADC input to raspberry pi - I2C vs I2S
I'm trying to create a microphone array and take readings into a raspberry pi. I'm having an 8 bit ADC connected to the pi via I2C (SCL and SDA pins). I'm able to read samples (0-255) into my pi using ...
1
vote
1
answer
1k
views
Synchronize internal DAC to I2S on STM32F4
I have a CS4344 DAC connected to my STM32F407 outputting sound at a 44.1kHz rate with DMA and I2S and I would like to output and envelope signal through the internal DAC of the STM32F4, in sync with ...
0
votes
0
answers
74
views
PCM to dbspl conversion in esp-idf
using i2s interface of esp32-wroom-32 i am getting PCM data from PDM micro-phone. how can i measure acoustic sound pressure level?
below is datasheet sheet of micro-phone.
from 16-bit array how can i ...
0
votes
1
answer
42
views
STM32H7 Baremetal I2S Circular DMA
I am trying to run an I2S ES8388 codec from a stm32h750. Without DMA, the codec is working just fine, and I can output and receive data to and from it respectively. But, I'm experiencing problems with ...
0
votes
0
answers
160
views
ESP32 I2S with a MAX98357
I have hooked up an ESP32-WROOM to a MAX98357 I2S Amp. I'm using the ESP32-audioI2S library playing from an SD card. ESP is USB powered while the amp is powered from a bench power supply. I'm using a ...
0
votes
0
answers
63
views
SDRAM and I2S on STM32
I am using an STM32F429 discovery board to develop a DSP platform for making some sound effects. I have I2S streaming and passing through, and I have SDRAM configured where I can talk to it and even ...
0
votes
0
answers
216
views
Can I connect multiple different devices via a single I2S interface?
I am using a microcontroller with only one I2S interface. I am using MAX98357A which has 1 sound chip. There is 1 microphone, SPH0645. Can I connect these ICs to the same line provided that I cannot ...
0
votes
0
answers
49
views
Output I2S master clock RK3399
Don't know how to output I2S master clock to a pin header.
I'm using a board with RPI-like 40-pin header and RK3399 chip. I'm able to get I2S in/out signal (BCLK, LRCLK, DATA) with alsa, but I need ...
0
votes
2
answers
2k
views
Record audio with digital I2S MEMS microphone and store audio as wav file on PC
I would like to use a digital I2S microphone to record audio and store it as wav on a PC, preferably over serial connection. I have tried this with the boards ESP32 dev kit v1, MKR Wifi 1010 and ...
0
votes
0
answers
358
views
Capturing High Speed I2S To SD Card
I've been working on a project that involves receiving two high speed I2S lines and writing the data off of them to an SD card. The interface has the word select and bit clock I2S lines shared between ...
0
votes
0
answers
225
views
No sound from I2S codec
I have a STM32F411R Nucleo board and I'm trying to connect it to a CS4245 audio codec to play audio but I can't get any sound out of it.
The connections are:
Nucleo
CS4245
PB10 (I2S3 MCLK)
40 (MCLK2)...
0
votes
0
answers
71
views
Connecting a large number of I²S busses to a computer
I'd like to try designing a digital mixer using a Raspberry Pi CM 4. The first problem I'm facing is how to connect a large number of ADCs and DACs to the Pi. These converters have a resolution of 24 ...
0
votes
0
answers
100
views
I2S: generate BCLK/WDCLK in the absence of a master device
I'm trying to understand if I can use 4 x PCM4222 ADCs (datasheet) with the ADAT generator AL1401 (datasheet).
They would be working togheter using PCM audio mode, left-justified format, that both ...
0
votes
0
answers
121
views
How to capture the I2S signal via Raspberry Pi Zero?
I would like to capture the I2S data from ADC CS5340 by raspberry Pi zero, but I could not find relevant I2S API to use in raspberry pi zero. Could anyone help me on this? Thanks!
0
votes
1
answer
68
views
How to set MCLK in CS4270
I need to use the cs4270 for audio codec and I find that there are three bits to set the ratio select in Mode control part. I do not know how to set these three bits and what is the MCLK use for?
0
votes
0
answers
318
views
Transmitting I2S over 6ft
I've been looking at audio ADCs with most rated at 192Ksps with 24 bit audio. Typically the output is in I2S, but I understand that the signal is not intended to go far. I understand that HDMI can ...
0
votes
0
answers
302
views
Can an I2S speaker and microphone share the same I2S clock? What about word select?
If one is very tight on GPIOs, could an I2S TX and RX share any pins?
Edit: The device I was thinking of was the ESP32, connected to an I2S microphone and speaker, for example SPH0645 and MAX98357A.
0
votes
0
answers
484
views
Why is the STM32 reference manual stating the wrong sample frequency for I2S?
This could be a misunderstanding but everything I have gathered and seen it looks like there's a disconnection on what the reference manual says.
On Pg. 2212, in the STM32H753ZI it states:
"The ...
0
votes
0
answers
219
views
Single I2S Source for Two Speaker Amplifier
I have two same speaker amplifier which is TAS5720 series from TI.
I drawn two identical schematics for these ICs which driven by one I2S source.
In practise, one of them is playing sound bad. Both of ...
0
votes
0
answers
58
views
How to choose between different equivalent PLL/divider configurations?
If there are multiple ways to get the required clocks for a given CODEC, how do you choose between them?
For example, if a CODEC can accept 64fs, 128fs, 256fs, and has an internal PLL that can ...
0
votes
0
answers
549
views
WM8960 on Pi detected but not working
I am trying to create custom board with WM8960 IC with Raspberry Pi. I am able to use Wolfson drivers for pi to detect the IC via I2C but I am not able to play or record any audio. This is the ...
0
votes
1
answer
80
views
Synchronizing an oscillator signal and a single wire signal
On some 32bit MCUs(PIC32MX, STM32F4), those SPI pins can read a continuous signal such as I2S/PCM.
So I thought to read a single-wire signal that has MHz fixed frequency as SPI.
First, I made a ...
0
votes
0
answers
203
views
Using a single channel on a 2 channel DAC + Amplifier
I am planning to use an external DAC + amplifier combo to output mono sound from my microcontoller. The ouput from the amplifier would be connected to a single speaker
...
0
votes
1
answer
124
views
Can I2S tdm interface send more channels with less sampling frequency?
We have a arm SoC(system on chip) connected with I2S to a DSP (digital signal processor). SoC and DSP both support 48khz, 8 channel and 16bits in TDM mode.
Is it possible to use this interface to ...
0
votes
1
answer
1k
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
votes
1
answer
121
views
Sending ADC I2S output to PC through USB port
I want to use PCM1808PWR ADC at 96kHz 24-bit to convert analog instrument signal to digital (in short I want to build USB audio interface). How should I send I2S output from ADC through USB port? I ...
-1
votes
1
answer
158
views
Using RXD to generate Audio signal and serial communication all connected to each other
I'm using RXD to transfer audio to an amplifier (1) and TTL communication with USB/TTL converter (2) for communication. Everything works but I can not get maximum output from the amplifier. When I ...