HOME

TheInfoList



OR:

I²S (Inter-IC Sound, pronounced "eye-squared-ess"), is an electrical
serial bus In telecommunication and data transmission, serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are s ...
interface standard used for connecting digital audio devices together. It is used to communicate
PCM Pulse-code modulation (PCM) is a method used to digitally represent sampled analog signals. It is the standard form of digital audio in computers, compact discs, digital telephony and other digital audio applications. In a PCM stream, the am ...
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 I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wid ...
(IIC) bus.


History

This standard was introduced in 1986 by Philips Semiconductor (now NXP Semiconductors) and was first revised June 5, 1996. The standard was last revised on February 17, 2022 and updated terms ''master'' and ''slave'' to ''controller'' and ''target''.


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: # Bit clock line #* Officially "continuous serial clock (SCK)". Typically written "bit clock (BCLK)". # Word clock line #* Officially "word select (WS)". Typically called "left-right clock (LRCLK)" or "frame sync (FS)". #* 0 = Left channel, 1 = Right channel # At least one multiplexed data line #* Officially "serial data (SD)", but can be called SDATA, SDIN, SDOUT, DACDAT, ADCDAT, etc. It may also include the following lines: # Master clock (typically 256 x LRCLK) #* This is not part of the I2S standard, but is commonly included for synchronizing the internal operation of the analog/digital converters. # 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 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. The word select clock changes one bit clock period before the MSB is transmitted. This enables, for example, the receiver to store the previous word and clear the input for the next. Data is signed, encoded as two's complement with the MSB ( most significant bit) 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 an external
digital-to-analog converter In electronics, a digital-to-analog converter (DAC, D/A, D2A, or D-to-A) is a system that converts a digital signal into an analog signal. An analog-to-digital converter (ADC) performs the reverse function. There are several DAC archite ...
, as opposed to a purely internal connection within one player box. This may form an alternative to the commonly used
AES/EBU AES3 is a standard for the exchange of digital audio signals between professional audio devices. An AES3 signal can carry two channels of pulse-code-modulated digital audio over several transmission media including balanced lines, unbalanced li ...
, Toslink or
S/PDIF S/PDIF (Sony/Philips Digital Interface) is a type of digital audio interface used in consumer audio equipment to output audio over relatively short distances. The signal is transmitted over either a coaxial cable (using RCA or BNC connectors ...
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 ("RJ45") socket or a
DE-9 The D-subminiature or D-sub is a common type of electrical connector. They are named for their characteristic D-shaped metal shield. When they were introduced, D-subs were among the smallest connectors used on computer systems. Description, no ...
connector. Others like
Audio Alchemy Audio Alchemy was a high end audio equipment manufacturer based in California, USA. The company was first formed in the late 1980s, producing many lines of relatively affordable audio products, including CD players, transports, digital audio proces ...
(now defunct) used
DIN connector The DIN connector is an electrical connector that was standardized by the ' (DIN), the German Institute for Standards, in the early 1970s. The male DIN connectors (plugs) feature a 13.2 mm diameter metal shield with a notch that limits the ...
s.
PS Audio PS Audio is an American company specializing in high-fidelity audio components (also known as high-end audio) equipment for audiophiles and the sound recording industry. It currently produces audio amplifiers, preamplifiers, power related produc ...
, 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 (data, MCK, LRCK, BCK).


See also

* SPI bus *
S/PDIF S/PDIF (Sony/Philips Digital Interface) is a type of digital audio interface used in consumer audio equipment to output audio over relatively short distances. The signal is transmitted over either a coaxial cable (using RCA or BNC connectors ...


References


External links


I²S Specification
- Philips/NXP
I²S and STM32F4 Slides
- Auburn University
Common inter-IC digital interfaces for audio data transferPDF
{{DEFAULTSORT:I2S Serial buses NXP Semiconductors