I²S

From Wikipedia, the free encyclopedia
  (Redirected from I2S)
Jump to navigation Jump to search
I²S
Type Bus
Designer Philips Semiconductor, known today as NXP Semiconductors
Designed 1986; 32 years ago (1986)
Data signal Push-Pull
Width 1 data line (SD) +
2 clock lines (SCK, WS)
Protocol Serial

I²S (Inter-IC Sound), 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 (pronounced eye-two-ess) or IIS (pronounced eye-eye-ess). Despite the similar name, I²S is unrelated to the bidirectional I²C (IIC) bus.

History[edit]

This standard was introduced in 1986 by Philips Semiconductor (now NXP Semiconductors) and was last revised on June 5, 1996.[1]

Details[edit]

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
    • Officially "continuous serial clock (SCK)".[1] Typically written "bit clock (BCLK)".[2]
  2. Word clock line
    • Officially "word select (WS)".[1] Typically called "left-right clock (LRCLK)"[2] or "frame sync (FS)".[3]
    • 0 = Left channel, 1 = Right channel[1]
  3. At least one multiplexed data line
    • Officially "serial data (SD)",[1] but can be called SDATA, SDIN, SDOUT, DACDAT, ADCDAT, etc.[2]

It may also include the following lines:

  1. Master clock (typically 256 x LRCLK)
    • This is not part of the I2S standard,[4] but is commonly included for synchronizing the internal operation of the analog/digital converters.[3][5]
  2. 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 (stereo) has a bit clock frequency of:

44.1 kHz × 16 × 2 = 1.4112 MHz

The word select clock lets the device know whether channel 1 or channel 2 is currently being sent, since 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.[1]

Data is signed, encoded as two's complement with the MSB (most significant bit) first.[1] This allows the number of bits per frame to be arbitrary, with no negotiation required between transmitter and receiver.[1]

As an audio interconnect[edit]

In audio equipment, the I²S sometimes forms an external link between the CD transport and a separate DAC box, contrary to purely internal connection within one player box. This may form an alternative to the commonly used AES/EBU or Toslink or S/PDIF standards.

The I2S connection was not intended to be used via cables, and most integrated circuits will not have the correct impedance for coaxial cables.

There is no standard interconnecting cable for this application. Some manufacturers provide simply three BNC connectors, an 8P8C ("RJ45") socket or a DE-9 connector. Others like Audio Alchemy (now defunct) used DIN connectors. PSAudio, Wyred4Sound use an HDMI connector. Dutch manufacturer Van Medevoort has implemented Q-link in some of its equipment, which transfers i2s over 4 RCA connectors (Data, MCK, LRCK, BCK).

See also[edit]

References[edit]

  1. ^ a b c d e f g h "I²S Specification" (PDF). Philips Semiconductors. June 5, 1996. Archived from the original (PDF) on January 2, 2007.
  2. ^ a b c Lewis, Jerad (January 2012). "Technical Article MS-2275: Common Inter-IC Digital Interfaces for Audio Data Transfer" (PDF). Analog Devices, Inc.
  3. ^ a b "MCLK in I2S audio protocol". electronics.stackexchange.com. Retrieved 2016-11-04. Clock source for the delta-sigma modulators and digital filters. ... It is the clock that is used by the audio codec ... to time and/or drive its own internal operation.
  4. ^ "PCM1781 (or any I2S DAC) clock sources - Audio Converters Forum - Audio Converters - TI E2E Community". e2e.ti.com. Retrieved 2016-11-04. True, the master (modulator) clock is not part of the I2S standard
  5. ^ Arbona, Jorge (September 2010). "Application Report SLAA469 Audio Serial Interface Configurations for Audio Codecs" (PDF). Audio converters based on the delta-sigma (ΔΣ) architecture require an internal master clock that operates at a much faster rate than the target sample rate.

External links[edit]