I2S vs I2C problem please help! - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 19th October 2012, 12:12 PM   #1
diyAudio Member
 
Join Date: Oct 2012
Question I2S vs I2C problem please help!

Hi all, i am new to this type of electronic systems and i wish to get some facts about these 2 protocos. Are the I2C and I2S compatabile? If I have a system which needs an ADC and DAC will it make a difference if I use the DAC with I2S compatabile and the ADC I2C compatabile?

Thanks!
  Reply With Quote
Old 19th October 2012, 02:00 PM   #2
oshifis is offline oshifis  Hungary
diyAudio Member
 
Join Date: Mar 2004
Location: Budapest, Hungary
They are completely different.
  Reply With Quote
Old 19th October 2012, 02:15 PM   #3
diyAudio Member
 
Join Date: Mar 2007
Well, perhaps you should start by reading up on the two: I2S and I2C.

Basically one of them is specifically designed for sending audio streams over short distances inside an appliance (I2S) and the other is a protocol for communication between several units connected to one common bus (I2C). Thus it can quite simply be concluded that they are not compatible per se.

I would also be very surprised if any IC, be it a DAC or ADC, uses I2C for audio. I don't even think that's possible since, for example, I2S is at least 3 wires where I2C is only two.
  Reply With Quote
Old 19th October 2012, 03:23 PM   #4
diyAudio Member
 
Join Date: Oct 2012
First of all thanks, and i have another problem i will use a PIC32 to connect these Adc and Dac which only have pins for I2C and SPI this means that i cant use the I2S. lets say i use the I2C for the Adc will this mean that i have to choose a DAC which also interfaces data in I2C? or I can use a Dac with SPI interface? In other words i have to choose an ADC and a DAC which both uses for example I2C? Or i can vary the interface and still i will not have any problems?
  Reply With Quote
Old 19th October 2012, 04:46 PM   #5
kevinkr is offline kevinkr  United States
diyAudio Moderator
 
kevinkr's Avatar
 
Join Date: Sep 2004
Location: Boston, Massachusetts
Blog Entries: 6
You need to read the data sheets more carefully, I2C/SPI would normally be for control path of those devices, and many audio ICs actually use neither, there will be an audio bus which is usually compatible with I2S and a number of other common formats.

Why don't you share the actual part numbers of the parts you want to use and provide links to their data sheets?

You can use SPI or I2C or GPIO on the PIC to control the audio devices you intend to use.

Any audio bus will consist of at minimum DATA, LR clock and BIT clock, often a system clock will be included. Data can be standard I2S, left or right justified, 16, 24, or 32 bit, etc. This is simplistic and does not tell the whole story, dig further, Google is your friend.
__________________
"Extraordinary claims require extraordinary evidence." - Carl Sagan
  Reply With Quote
Old 19th October 2012, 04:56 PM   #6
diyAudio Member
 
Join Date: Aug 2008
IC (pronounced I-squared-C) is a serial data protocol, and in the case of an ADC as the OP mentioned, would be used to get the digital audio data out of the ADC and into something like a PC.
I2S is a data protocol used exclusively for audio, usually DAC input, and is not compatible with IC.

(Kevin, I think you meant I2S on the last line of your last post )
__________________
Tyler

Last edited by Redshift187; 19th October 2012 at 05:04 PM.
  Reply With Quote
Old 19th October 2012, 09:50 PM   #7
kevinkr is offline kevinkr  United States
diyAudio Moderator
 
kevinkr's Avatar
 
Join Date: Sep 2004
Location: Boston, Massachusetts
Blog Entries: 6
Quote:
Originally Posted by Redshift187 View Post
IC (pronounced I-squared-C) is a serial data protocol, and in the case of an ADC as the OP mentioned, would be used to get the digital audio data out of the ADC and into something like a PC.
I2S is a data protocol used exclusively for audio, usually DAC input, and is not compatible with IC.

(Kevin, I think you meant I2S on the last line of your last post )
Indeed I meant I2S..

I2C uFM (2012 and not widely deployed) is fast enough for two channels of serial audio, but I'm not aware of any devices that use it for this purpose, the next fastest is I2C FM at 1MHz, all of the I2C I work with runs at a paltry 400kHz which is not fast enough for audio of reasonable quality. The protocol is commonly used with slow multiplexed ADCs and DACs where the signals measured are DC or low frequency. A good example would be the LTC2309 12 bit SAR ADC..
__________________
"Extraordinary claims require extraordinary evidence." - Carl Sagan
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i2s bus vs. i2c bus Doovieman Digital Source 9 5th February 2013 02:08 PM
Design with STA310 - Problem with I2C jashua Digital Line Level 1 11th February 2012 04:41 PM
Where is the '1-bit' problem of simple I2S inverter? oshifis Digital Source 10 16th August 2011 11:40 AM
I2S and Analog Output problem of CDPRO2 ims Digital Source 7 22nd February 2008 07:12 PM
I2C/I2S,what's the difference??? Leolabs Parts 2 18th April 2005 01:20 PM


New To Site? Need Help?

All times are GMT. The time now is 06:50 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2