I²S


I²S, pronounced eye-squared-ess, is an electrical serial bus interface standard used for connecting digital audio devices together. It is used to communicate PCM audio data between integrated circuits in an electronic device. The I²S bus separates clock and serial data signals, resulting in simpler receivers than those required for asynchronous communications systems that need to recover the clock from the data stream. Alternatively I²S is spelled I2S or IIS. Despite the similar name, I²S is unrelated to the bidirectional I²C bus.

History

This standard was introduced in 1986 by Philips Semiconductor and was last revised on June 5, 1996.

Details

The I²S protocol outlines one specific type of PCM digital audio communication with defined parameters outlined in the Philips specification.
The bus consists of at least three lines:
  1. Bit clock line
  2. * Officially "continuous serial clock ". Typically written "bit clock ".
  3. Word clock line
  4. * Officially "word select ". Typically called "left-right clock " or "frame sync ".
  5. * 0 = Left channel, 1 = Right channel
  6. At least one multiplexed data line
  7. * Officially "serial data ", but can be called SDATA, SDIN, SDOUT, DACDAT, ADCDAT, etc.
It may also include the following lines:
  1. Master clock
  2. * This is not part of the I2S standard, but is commonly included for synchronizing the internal operation of the analog/digital converters.
  3. A multiplexed data line for upload
The bit clock pulses once for each discrete bit of data on the data lines. The bit clock frequency is the product of the sample rate, the number of bits per channel and the number of channels. So, for example, CD Audio with a sample frequency of 44.1 kHz, with 16 bits of precision and two channels has a bit clock frequency of:
The word select clock lets the device know whether channel 0 or channel 1 is currently being sent, because I²S allows two channels to be sent on the same data line. It is a 50% duty-cycle signal that has the same frequency as the sample frequency. For stereo material, the I²S specification states that left audio is transmitted on the low cycle of the word select clock and the right channel is transmitted on the high cycle. It is typically synchronized to the falling edge of the serial clock, as the data is latched on the rising edge.
Data is signed, encoded as two's complement with the MSB first. This allows the number of bits per frame to be arbitrary, with no negotiation required between transmitter and receiver.

As an audio interconnect

In audio equipment, I²S is sometimes used as an external link between a CD player and a separate DAC box, as opposed to a purely internal connection within one player box. This may form an alternative to the commonly used AES/EBU, Toslink or S/PDIF standards.
The I²S connection was not intended to be used via cables, and most integrated circuits will not have the correct impedance for coaxial cables. As the impedance adaptation error associated with the different line lengths can cause differences in propagation delay between the clock line and data line, this can result in synchronization problems between the SCK, WS and data signals, mainly at high sampling frequencies and bitrates. As the I²S bus doesn't have any error detection mechanism, this can cause significant decoding errors.
There is no standard interconnecting cable for this application. Some manufacturers simply provide three BNC connectors, an 8P8C socket or a DE-9 connector. Others like Audio Alchemy used DIN connectors. PS Audio, Musica Pristina and Wyred4Sound use an HDMI connector. Dutch manufacturer Van Medevoort has implemented Q-link in some of its equipment, which transfers I²S over 4 RCA connectors.