Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
73 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
42 views

Is it possible to implement a 96KHz USB audio interface with STM32F401?

I have an STM32F401 Nucleo and an X-Nucleo boards, and I'm trying to implement a 96KHz USB audio interface so I can capture "audio" in the ultrasound range for my application (using ICS-41350 MEMS PDM ...
0
votes
0answers
37 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
76 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
1answer
30 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
1answer
269 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
29 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
316 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
78 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
104 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
84 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
47 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
344 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
70 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
132 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 - '...
1
vote
0answers
256 views

Working i2s with adc (stm32)

I'm trying to get i2s and adc to work together in stm32f4 board. Here is my code to generate a simple saw wave, and output via CS43L22 ...
-1
votes
1answer
457 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
0answers
395 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
837 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
0answers
199 views

Realtek RTL8723 I2S pins

I am currently starting a project making an expansion board for a Raspberry Pi Zero. It includes a USB hub IC, and either a WiFi or WiFi/Bluetooth module. Recently, I've been looking at the RTL8723BU ...
0
votes
0answers
481 views

I2S with external DAC, music only in one channel

I'm trying to connect DAC CS4398 to STM32F407. The problem is with clock frequency. I init I2S like this: ...
1
vote
2answers
491 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
172 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 ...
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
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 ...
-1
votes
1answer
513 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 ...
3
votes
1answer
307 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
361 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
1answer
620 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 ...
1
vote
1answer
440 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 ...
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
469 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
679 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
2answers
368 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 ...
1
vote
1answer
601 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
499 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), ...
2
votes
1answer
775 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
0answers
974 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
847 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 ...
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 ...
0
votes
1answer
294 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: ...
1
vote
1answer
352 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....
6
votes
2answers
17k 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 ...