For converting digital I2S audio from your ESP32/RP2350 or Raspberry Pi, you'll need a digital-to-analog converter (DAC). The Adafruit PCM5122 I2S DAC is both powerful and easy to use - with excellent audio quality! It's got clean, high-quality, stereo audio and does not need any MCLK signal or I2C configuration. Literally just pipe some I2S audio in, and it will just work.
The default hardware mode is excellent for quick starts, and, for those who do want configurability such as volume control / software mute / EQ / filters, it's also easy to set up the chip for I2C or SPI interfacing with the two MODE pins.
The PCM5122 has excellent audio specs, with 112dB signal-to-noise/dynamic range, and -93 dB THD.
This breakout makes I2S digital audio easy: all you need to do is power it with 3~5VDC, and provide BCLK (bit clock), WSEL (left/right word select), and DIN (data in). The data lines are 3.3V logic only. By default it's configured for I2S but you can also do Left-Justified by toggling the Format pin. Audio can be 16, 24 or 32-bit wide, the chip will automagically determine the right format from the WSEL / BCLK ratio. No MCLK pin is needed, the chip will auto-generate it internally from the bit clock - or you can provide it on the MCLK input if you want.
For hardware (not I2C/SPI config mode) the other breakout pads provide:
- Filtering (change from normal to low-latency by pulling high)
- De-emphasis
- Mute (pull low to quickly set the outputs to ground), and de-emphasis for 44.1khz audio (default is off)
- Three ATTenuation/gain pins that can be used for changing the gain from -6dB to +15dB. See the datasheet's Table 3 for the pin-to-gain settings.
For I2C/SPI configuration mode, gain/volume, filtering and de-emphasis is done over digital register commands. The hardware Mute pin still works as expected.
The audio outputs are also available on breakout pads if you want to wire directly without using the 3.5mm jack. Audio output is not AC-coupled because it is centered on ground: you can plug it into anything that is either AC coupled or has the same ground reference. Note that this is a line-level output, it cannot drive headphones - the output is for no less than 1K ohm loads!
Each order comes with one I2S Stereo DAC breakout and some header you can solder on for breadboard usage.
Technical Details:
PCM5122 Quick Specs
- Register-Selectable Audio-Processing Functions up to 48-kHz fS
- Dynamic Range Control (DRC)
- Equalization (EQ)
- Filtering
- DAC Functionality to 384-kHz fS
- Market-Leading Low Out-of-Band Noise
- Selectable Digital-Filter Latency and Performance
- No DC-Blocking Capacitors Required
- Integrated Negative Charge Pump
- Intelligent Muting System; Soft Up or Down Ramp and Analog Mute for 120-dB Mute SNR
- Integrated High-Performance Audio PLL With BCK Reference to Generate SCK Internally
- Accepts 16-, 20-, 24-, and 32-Bit Audio Data
- PCM Data Formats: I2S, Left-Justified, RightJustified, TDM / DSP
- SPI or I2C Control
- Software or Hardware Configuration
- Automatic Power-Save Mode When LRCK and BCK are Deactivated
- 1.8-V or 3.3-V Failsafe LVCMOS Digital Inputs
- Integrated Power-On Reset
- SNR / Dynamic Range: 112dB
- THD+N @ - 1dBFS: -93dB
- Product Dimensions: 37.6mm x 22.8mm x 6.4mm / 1.5" x 0.9" x 0.3"
Documentation:
Package Includes:
- 1x Adafruit 6421 PCM5122 I2S DAC with Line Level Output - HW, I2C or SPI
Adafruit 6421 PCM5122 I2S DAC with Line Level Output - HW, I2C or SPI
- Brand: Adafruit
- Product Code: NR-Ada-PCM5122-I2S-DAC
- Reward Points: 9
- Availability: In Stock
-
रo 854.00
- Price in reward points: 901
-
- 43 or more रo 748.00
- 190 or more रo 744.00
Related Products
Adafruit 935 MCP4725 Breakout Board - 12-Bit DAC with I2C Interface - STEMMA QT / qwiic
Your microcontroller probably has an ADC (analog -> digital converter) but does it have a DAC (di..
रo 564.00
Adafruit 4648 PCF8591 Quad 8-bit ADC + 8-bit DAC - STEMMA QT / Qwiic
Measuring voltage and adjusting it is what electronics is all about so you won’t get far without fri..
रo 741.00
Adafruit 6223 DAC7578 - 8 x Channel 12-bit I2C DAC - STEMMA QT / Qwiic
If you've ever said to yourself, "Gee, I wish I had eight 12-bit DACs that came in a single package"..
रo 2,842.00
Adafruit 6309 TLV320DAC3100 - I2S DAC with Headphone and Speaker Out
We stock a lot of chips and development boards that are able to do high quality digital I2S out, whi..
रo 792.00




-74x74.jpg)




