{"product_id":"adafruit-pcm5122-i2s-dac-with-line-level-output","title":"Adafruit PCM5122 I2S DAC with Line Level Output - HW, I2C or SPI","description":"\u003cp\u003eThis I2S DAC breakout provides clean, excellent-quality, stereo audio. It supports hardware, I2C and SPI modes.\u003c\/p\u003e\n\u003cp\u003eFor converting digital I2S audio from your ESP32\/RP2350 or Raspberry Pi, you'll need a digital-to-analog converter (DAC). The \u003cstrong\u003eAdafruit PCM5122 I2S DAC\u003c\/strong\u003e 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.\u003c\/p\u003e\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\u003cp\u003eThe PCM5122 has excellent audio specs, with 112dB signal-to-noise\/dynamic range, and -93 dB THD.\u003c\/p\u003e\n\u003cp\u003eThis 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.\u003c\/p\u003e\n\u003cp\u003eFor hardware (not I2C\/SPI config mode) the other breakout pads provide:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eFiltering\u003c\/strong\u003e (change from normal to low-latency by pulling high)\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eDe-emphasis\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eMute\u003c\/strong\u003e (pull low to quickly set the outputs to ground), and de-emphasis for 44.1khz audio (default is off)\u003c\/li\u003e\n\u003cli\u003eThree \u003cstrong\u003eATTenuation\/gain\u003c\/strong\u003e 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. \u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eFor I2C\/SPI configuration mode, gain\/volume, filtering and de-emphasis is done over digital register commands. The hardware Mute pin still works as expected.\u003c\/p\u003e\n\u003cp\u003eThe 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!\u003c\/p\u003e\n\u003cp\u003eEach order comes with one I2S Stereo DAC breakout and some header you can solder on for breadboard usage.\u003c\/p\u003e\n\u003ch2\u003eTechnical Details\u003c\/h2\u003e\n\u003cp\u003e\u003cstrong\u003ePCM5122 Quick Specs:\u003c\/strong\u003e\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eRegister-Selectable Audio-Processing Functions up to 48-kHz fS\n\u003cul\u003e\n\u003cli\u003eDynamic Range Control (DRC)\u003c\/li\u003e\n\u003cli\u003eEqualization (EQ)\u003c\/li\u003e\n\u003cli\u003eFiltering\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eDAC Functionality to 384-kHz fS\u003c\/li\u003e\n\u003cli\u003eMarket-Leading Low Out-of-Band Noise\u003c\/li\u003e\n\u003cli\u003eSelectable Digital-Filter Latency and Performance\u003c\/li\u003e\n\u003cli\u003eNo DC-Blocking Capacitors Required\u003c\/li\u003e\n\u003cli\u003eIntegrated Negative Charge Pump\u003c\/li\u003e\n\u003cli\u003eIntelligent Muting System; Soft Up or Down Ramp and Analog Mute for 120-dB Mute SNR\u003c\/li\u003e\n\u003cli\u003eIntegrated High-Performance Audio PLL With BCK Reference to Generate SCK Internally\u003c\/li\u003e\n\u003cli\u003eAccepts 16-, 20-, 24-, and 32-Bit Audio Data\u003c\/li\u003e\n\u003cli\u003ePCM Data Formats: I2S, Left-Justified, RightJustified, TDM \/ DSP\u003c\/li\u003e\n\u003cli\u003eSPI or I2C Control\u003c\/li\u003e\n\u003cli\u003eSoftware or Hardware Configuration\u003c\/li\u003e\n\u003cli\u003eAutomatic Power-Save Mode When LRCK and BCK are Deactivated\u003c\/li\u003e\n\u003cli\u003e1.8-V or 3.3-V Failsafe LVCMOS Digital Inputs\u003c\/li\u003e\n\u003cli\u003eIntegrated Power-On Reset\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eSNR \/ Dynamic Range: 112dB\u003c\/strong\u003e\u003c\/li\u003e\n\u003cli\u003e\u003cstrong\u003eTHD+N @ - 1dBFS: -93dB\u003c\/strong\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eProduct Dimensions: 37.6mm x 22.8mm x 6.4mm \/ 1.5\" x 0.9\" x 0.3\"\u003c\/p\u003e\n\u003cp\u003eProduct Weight: 3.6g \/ 0.1oz\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/cdn-shop.adafruit.com\/product-files\/6421\/pcm5122.pdf\"\u003ePCM5122 Datasheet\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2011_65_EU.svg\" alt=\"RoHS 2 2011 65 EU Compliant\" width=\"145\" height=\"80\"\u003e \u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2015_863_EU.svg\" alt=\"RoHS 2 2015 863 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/p\u003e\n\u003ch2\u003eLearn\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-pcm5122-i2s-dac\"\u003ePrimary Guide: Adafruit PCM5122 I2S DAC\u003c\/a\u003e\u003cbr\u003eEasy and powerful I2S DAC\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/products\/6421\/guides\" rel=\"noopener\" target=\"_blank\"\u003eSee All Guides\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":56080057336187,"sku":"ADA6421","price":5.75,"currency_code":"GBP","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/6421-00.jpg?v=1770810538","url":"https:\/\/shop.pimoroni.com\/en-us\/products\/adafruit-pcm5122-i2s-dac-with-line-level-output","provider":"Pimoroni Ltd","version":"1.0","type":"link"}