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.

Filter by
Sorted by
Tagged with
9
votes
2answers
1k views

Low pass filter with two capacitors?

I'm trying to drive a speaker from an ESP8266 for a project, and found an article suggesting (ab)using I2S as a 1-bit Pulse Density Modulation DAC. Apparently that's pretty noisy, so the article gives ...
6
votes
3answers
20k views

MCLK in I2S audio protocol

I am working with the I2S audio protocol in one of my projects and I'd like to use it in one of my final projects for a class of mine. Quite honestly though, I don't entirely understand the MCLK line....
3
votes
3answers
3k views

I2S to SPI or some other normal interface

I need to get the higest possible precision from an analog to digital convertor (and by high I mean 24bits or more), 10 times per second. To this end I've decided to investigate using an ADC that is ...
3
votes
3answers
3k views

How to decide about master or slave mode in I²S (I2S)?

Participants in I²S can be in master or slave mode. The master has to provide the clock and the slave has to accept the clock. I would like to know how under what considerations this decision is made....
2
votes
1answer
502 views

Why does I2S have extra clock cycle in SCLK that is wasted i.e no data transferred?

I am getting different waveforms for I2S in different places, in one I found that the LSb is transferred after LRCK has toggled. In this device that is not the case. It seems that there is normal I2S,...
2
votes
1answer
992 views

Testing an I2S slave device

i have a MEMS mic with digital I2S output. What is the easiest way to test that my microphone communicates right? No need to verify the sound, i just need to verify on bit level that communication ...
2
votes
1answer
922 views

How does this Audio ADC know which rate to sample the audio at

The part under question is PCM1808. This device needs an external system clock on the SCKI pin. From the master device it shall need LRCK, BCK & DOUT. The LRCK chooses the left/right channels. BCK ...
1
vote
1answer
40 views

XO selection for 44.1kHz audio

I'm implementing a WM8804 S/PDIF transmitter in a project I'm working on. The datasheet states that clocks from 10MHz - 27MHz are supported. What crystal oscillator frequency should I look for in ...
1
vote
1answer
341 views

I2S output in VHDL

I am making an I2S output in VHDL for a project. This is my first project using VHDL and the problem may be my basic VHDL understanding. This is my code: ...
1
vote
1answer
380 views

I2S based Codec

I want to drive a small mono-speaker that helps in announcing few messages. I am just learning and doing it now. My board is based on I.MX6, I am interfacing it to a an audio codec TLV320AIC32 via I2S....
1
vote
2answers
135 views

I2S MCLK Generation

I'm working with a Sierra Wireless BC127 (Bluetooth Module) I2S master which is generating Left-Justified, 16 bps @ 44.1khz sample rate. The Bit clock is set to 2.822 Mhz. I want to use a Cirrus ...
1
vote
2answers
56 views

PIC32MZ, MPLAB Harmony with I2S hangs after adding extra function

I have referred http://microchipdeveloper.com/harmony:i2s-tutorial and am able to configure the I2S and read continuous data from a microphone. I am facing issue with the microphone data, and have ...
1
vote
1answer
172 views

What's the purpose of using PNP transistors on I2S bus?

What could be the reason of using these 3 PNP transistors on I2S bus (LRCK, BCK and DATA pins)? The DAC used in this schematic is PCM5102. I know for sure that this DAC would work without these ...
1
vote
1answer
104 views

PIC32MZ: MSB of I2S data from digital microphone is always high

I have interfaced a I2S digital microphone to PIC32MZ controller. I am able to read the digital output from the microphone over I2S-DMA transfer. Following are the details of my set-up:- Controller:-...
1
vote
2answers
1k views

Generating i2s Clock Signals

I am trying to design a Pi Hat to integrate my Raspberry Pi 3 for use as an automotive head unit. I have a Texas Instruments TAS6424 and some supporting components, and am trying to design a DAC PCB ...
1
vote
2answers
671 views

Using two mono amplifiers to make one stereo amplifier

On my PCB (connected to a Raspberry Pi, an Arduino, a C.H.I.P. or anything), I want to provide audio output for: a small speaker or, when a 3.5 mm minijack is inserted, to stereo headphones (that ...
1
vote
1answer
2k views

STM32 : reset the I2S DMA address pointer

For my application I have a DAC communicating with an STM32F4 through I2S. On the microcontroller's side, informations are send to the DAC through a DMA stream, with a circular buffer. On an external ...
1
vote
3answers
2k views

Is it possible to directly interface a MEMS ADMP541 microphone over I2S with any Microcontroller?

I have bought a MEMS ADMP541 Evalution kit to record voice samples with arduino controller MEMS microphone will produce digital o/p , I2S communication protocal My question is should I directly ...
1
vote
1answer
750 views

I2S interface using LPC2138

In my application, I am using LPC2138 controller and TI's TLV320DAC3100 DAC with built in amplifier to interface audio data. To implement I2S interface using SPI, some extra hardware circuitry needed ...
1
vote
1answer
2k views

I2S interface ideas for multiple MEMS microphones

I plan on forming a microphone array with 4 MEMS microphones and doing the signal processing(beamforming) in matlab/C on my PC. MEMS mics i use have Digital I²S interface with high precision 24 bit ...
1
vote
0answers
225 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
0answers
210 views

ARM/Cortex-M comparison data source: Can someone give me a little lay of the land? [closed]

So there are soo many manufacturers making ARM and ARM Cortex-Mx chips and a few of them have I²S and I even saw one with S/PDIF. This wikipedia article gives me some lay of the land, but I need some ...
1
vote
0answers
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
1answer
591 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
1answer
2k views

Why I2S is better for transmitting audio compare to SPI

I am trying to understand why we use I2S is better for transferring audio than SPI as I2S has less bandwidth compare to SPI.
0
votes
1answer
83 views

What's the difference between SAI and I2S?

I'm developing a USB audio device using an STM32F407G-DISC1 evaluation board. For the audio output I was intending to just use the I2S peripheral connected to a DAC. However the only sample code I ...
0
votes
2answers
650 views

Does an official I2S specification exist?

So, is there an official, preferably up-to-date, specification of the I2S bus, and if yes, where can one obtain it? I've spent some time searching through NXP's website and couldn't find anything. ...
0
votes
1answer
52 views

Which PCM data format to choose I2S or Left-Justified? [closed]

I can't find any information which PCM data format is better - I2S or Left-Justified and why I should use one format over another. Is there a difference or it doesn't matter which one I'll use?
0
votes
1answer
848 views

Confusion about serial operation of CS4344 DAC, what is MCLK?

After repeatedly reading through the datasheet of the CS4344, I am having trouble fully understanding the purpose of the MCLK pin in serial operation. In my research I have found that MCLK pins are ...
0
votes
1answer
45 views

WM8804 audio routing question

The WM8804 looks like the ideal candidate for a design I'm working on --- this single chip could replace the need for one receiver and one transmitter. The specific routing requirements are: I need ...
0
votes
3answers
1k views

I2S TDM channels maximum bandwidth

Does I2S support sending multiple mic (around 20) channel data? If no, what is the limiting factor in supporting multiple mics? Also, is there any way to send multiple channel data from different ...
0
votes
1answer
158 views

I2S Clock in Audio Codec on dev board, how is this working?

I'm using a dev board, the keil mcb4300. In the schematic, the audio codec UDA1380HN has the BCKI going to the SYSCLOCK. According to the codec data sheet: BCKI: bit clock input SYSCLOCK: system ...
0
votes
1answer
83 views

i2s sginals and noise when connecting a 10cm cable

I have a board that outputs an i2s signal (mclk at 49Mhz) using normal fliflops at output. Works perfectly when connected with short connections. If I try connecting a cable at 10cm or more, I have ...
0
votes
1answer
1k views

I2C Problem on STM32F4 Discovery connecting to CS43L22

I'm trying to use the internal beep generator of CS43L22 on my STM32F4 Discovery. I'm using the HAL libary and can access the Chip via I2C but only for 4 Bytes (read or write) then the function ...
0
votes
1answer
435 views

Erratic behaviour in FPGA based I2s loopback (Verilog + Spartan6)

I am working on a personal project involving a Xilinx Spartan6 FPGA that I program in Verilog. I am not an advanced user, it's my 3rd reasonably sized project and I don't really rub shoulder with FPGA ...
0
votes
2answers
422 views

Interfacing Atmel Processor with i2s codec

I would like to interface an ATSAMS70 with a CS42L51 but this is my first time doing so. The connection would be this: MCLK - PCK2 SCLK - TK LRCK - TF SDIN - TD SDOUT - RD The thing is about the ...
0
votes
1answer
579 views

Choosing an Audio D/A converter for I2S digital audio based on 32fs

I'm hoping someone can either verify or clarify my understanding of interfacing an Audio D/A converter to a device that sends audio over I2S. I have an Audio Codec chip, the VS1063A (Datasheet), ...
0
votes
1answer
335 views

CS4234 has two I2S data I/O lines?

I have an application where I'll be sending audio data to a codec. The CS4234 fits my needs very well, although with other I2S codecs, there have only been one data in line for the communication. The ...
0
votes
1answer
1k views

i2c Error in using BeagleBone Black with custom audio cape ( using ti's TLV320AIC3107 codec )

I have made custom audio cape using TLV320AIC3107 codec and here is a schematic diagram. For connection with BeagleBone Black I refer audio cape which is available in market. here is a link: ...
0
votes
0answers
27 views

Configuring GPIO directions for I2S interface

I am working on integrating a WM8731 audio codec chip with an AM335X processor. This is my first time working with I2S and I want to make sure I understand it correctly for configuring GPIO directions....
0
votes
0answers
22 views

Naming confusion, how to connect DAC (BB/TI PCM1603KY) I2S, which pins do I need to use?

I am totally new in the field of DAC's and I2S. I salvaged this board from a DVD player and is well documented. There are three data lines DATA1..DATA3 that will be used for ...
0
votes
1answer
34 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
1answer
141 views

SPH0645 timing diagram

I am studying this SPH0645 module for use with a STM32. I started by checking the timing diagram of the I2S and compatibility between this module and the STM32. The STM32L151 MCU is compatible with ...
0
votes
0answers
72 views

my i2s audio signal is not working. i expect this has something to do with ground and resistors, but i need some help with the details

I am more familiar with software, but I have a project going on that has a tiny amount of hardware involved. I would really appreciate some help with this part. I have existing hardware that has a ...
0
votes
0answers
232 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 ...
0
votes
0answers
106 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
1answer
37 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
2answers
45 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 ...
0
votes
1answer
231 views

Codec in 'master mode' require more than one external clock? (MCLK?) to drive I2S system timing to/from MCU slave?

Does an audio codec in 'master mode' require more than the one clock line (MCLK?) to drive and time I2S data sync to MCU or FPGA slave? I understand that the I2S proper consists of three lines - '...
0
votes
0answers
581 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/...