Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
2answers
42 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 ...
0
votes
1answer
211 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
14 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
99 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
1answer
33 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 ...
6
votes
3answers
19k 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....
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
34 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?
1
vote
1answer
261 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: ...
0
votes
0answers
57 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
146 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
1answer
80 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
52 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
146 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 ...
0
votes
0answers
80 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 ...
3
votes
3answers
2k 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....
0
votes
1answer
35 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 ...
-1
votes
1answer
669 views

Digital Microphone : I2S data output

I have been playing around with some digital microphones, which have an I2S interface. I managed to get it working (Arduino board with small I2S mems board). At least, I think I did. When reading the ...
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
2answers
37 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
3answers
945 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 ...
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 ...
-1
votes
1answer
88 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 ...
1
vote
0answers
189 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 ...
0
votes
1answer
139 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 ...
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 ...
0
votes
1answer
68 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
2answers
548 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. ...
-1
votes
1answer
82 views

How can I increase audio output volume from this board?

I have this Audio DAC board: https://www.banggood.com/PCM5102PCM5102A-DAC-Decoder-Board-I2S-32Bit-384K-For-Raspberry-Pi-Red-Core-Player-p-1259752.html?rmmds=myorder&cur_warehouse=CN I drive it ...
0
votes
1answer
695 views

How to transfer data from/to the I2S controller through AXI DMA

I'm doing a sound analyzing project on the Zybo board and I'm having hard time using the AXI DMA for transferring data from the I2S controller to RAM. I'm using the I2S controller from the Digilent's ...
0
votes
0answers
522 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
2answers
619 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
0answers
201 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
votes
1answer
625 views

About I2S SCK(System clock, Master clock or MCLK)

I am trying I2S input and I2S output on TI Device. Well, I want to know I2S SCK usage. Deivce constitution is below: DAC(SLAVE) <--I2S-- TI-DEVICE(MASTER) <--I2S-- ADC(SLAVE) x4 I think that ...
2
votes
1answer
459 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,...
0
votes
1answer
411 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 ...
1
vote
1answer
549 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 ...
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 ...
0
votes
1answer
797 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 ...
1
vote
3answers
1k 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
votes
1answer
516 views

I2S output to a sound card

I followed this tutorial on building a microphone with two MEMS mics and a cheap USB sound card - it works pretty well, although I'm looking to upgrade the MEMS mics to some with better SNR and ...
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
2answers
404 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 ...
2
votes
1answer
893 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
705 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 ...
0
votes
1answer
558 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), ...
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
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 ...
2
votes
1answer
938 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 ...
0
votes
1answer
322 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 ...