Join our subscribers list to get the latest news, updates and special offers directly in your inbox
Overview
I²S, short for Inter-IC Sound or sometimes Integrated Interchip Sound, is a serial communication protocol designed specifically for digital audio data transfer between integrated circuits (ICs). It was developed by Philips Semiconductor (now NXP) in the late 1980s to standardize the connection between digital audio devices such as codecs, microcontrollers, DSPs, and DACs.
Unlike general-purpose communication interfaces like SPI or I²C, the I²S protocol is optimized for high-fidelity audio applications and ensures synchronization between devices to maintain sound quality.
I²S provides a simple and efficient method to transmit stereo or multi-channel digital audio data between devices. It is commonly used in:
Audio DACs and ADCs (e.g., connecting a microcontroller to an audio codec)
Digital microphones and amplifiers
Bluetooth or Wi-Fi audio modules
MP3 players, smartphones, and automotive infotainment systems
An I²S bus typically uses three main lines (sometimes four):
Bit Clock (BCLK or SCK):Synchronizes the data transmission by indicating when each bit should be read or written.
Word Select (WS or LRCLK):Determines whether the data belongs to the left or right channel in stereo audio.
WS = 0 → Left channel
WS = 1 → Right channel
Serial Data (SD):Carries the actual audio data bits (usually in two’s complement format).
(Optional) Master Clock (MCLK):Provides a higher-frequency clock used by some audio devices for internal processing.
Audio data in I²S is transmitted serially, one bit at a time, synchronized with the bit clock. Each frame consists of two data words — one for the left and one for the right channel.
Here’s the basic timing relationship:
The Word Select line toggles to indicate which channel is active.
The Serial Data line transmits bits of each sample sequentially, MSB (Most Significant Bit) first.
The Bit Clock ensures that both transmitter and receiver remain synchronized.
Example:For 16-bit stereo audio at 44.1 kHz sampling rate, the bit clock frequency will be:
BCLK = Sample rate × Bits per sample × Number of channels BCLK = 44,100 × 16 × 2 = 1.4112 MHz
The standard I²S format defines that:
The MSB of each sample is transmitted one clock cycle after the LRCLK changes.
Data is left-justified but not aligned with the LRCLK edge.
Most devices support word lengths of 16, 24, or 32 bits per channel.
There are also variations of the I²S protocol:
Left Justified: Data starts immediately with LRCLK transition.
Right Justified: LSB of each word aligns with the LRCLK edge.
DSP Mode (Time-Division Multiplexing): Used for multi-channel data transfer.
Master Device: Generates all clock signals (BCLK, LRCLK, MCLK).
Slave Device: Receives and synchronizes to these clocks.
In most systems, the microcontroller or DSP acts as the master, and the audio codec or DAC acts as the slave.
High-quality, synchronized audio transfer
Low jitter and noise compared to PWM or analog lines
Simple wiring (only 3–4 lines)
Flexible word lengths and sample rates
Widely supported by modern microcontrollers and audio ICs
Short-distance communication (chip-to-chip only)
No built-in addressing (unlike I²C) — one-to-one connection
Requires precise clocking and synchronization
Not suitable for data other than audio
Audio playback devices (DACs, amplifiers)
Voice capture systems (digital microphones)
Smart speakers and IoT audio devices
Car infotainment and home theater systems
Bluetooth and Wi-Fi audio streaming modules
EmbeddedWala
EmbeddedWala Jun 14, 2023 0 48.4K
EmbeddedWala Apr 27, 2023 1 36.8K
EmbeddedWala Feb 15, 2024 0 34.6K
EmbeddedWala Apr 26, 2023 0 30.2K
EmbeddedWala Aug 30, 2022 0 28.0K
EmbeddedWala Jun 19, 2022 0 7.6K
This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies Find out more here