Description
For converting digital I2S audio from your ESP32/RP2350 or Raspberry Pi, you'll need a digital-to-analog-converter (DAC). And 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 ill 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"
Product Weight: 3.6g / 0.1oz
Shipping rates Australia wide and New Zealand
FAQ:
- How do I estimate shipping for my order?
- Add products in the shopping cart and head to the checkout page to estimate the shipping.
Dispatch time
Unless expressly agreed otherwise with you, we will not commence delivery of an order until we have received cleared payment of the purchase price in full.
All orders placed before 11 am AEST (Monday to Friday) will ordinarily be processed on the same day.
We will endeavour to ship the Products by the applicable time indicated on the website, but all times are indicative only. All shipping times are dispatch times only, and actual delivery dates will depend on the shipping method chosen, delivery address and delivery service provider.
Note- Please make a note during purchase if you require any item urgently. However we cannot guarantee that we will be able to comply with any request.
*Go to Australia post delivery time calculation to get various Australia post service in your area please use our shipping postcode Thomastown, 3074 as the "from" address - https://auspost.com.au/parcels-mail/delivery-times.html?ilink=tools-open-deliv-times.
We ship all products throughout mainland Australia, Tasmania and New Zealand - Including Darwin, Melbourne, Sydney, Tasmania, Adelaide, Brisbane, Perth, all metro and regional areas but do not deliver to areas in Australia where the Australia Post delivery network is not available.
Check Express shipping delivery coverage area at - http://auspost.com.au/parcels-mail/delivery-areas.html
Receipt of deliveries
Deliveries to post office boxes are not permitted where delivery is by courier. If delivery is by courier and nobody is available at the delivery address to accept delivery when delivery is attempted then the courier may either:
- leave the relevant parcel at the unattended address (the courier will do so if specified in your delivery requirements); or
- re-attempt delivery at a later time or date, in which case we may charge you an additional re-delivery fee.
Note that if a delivery is left unattended at the shipping address and is subsequently stolen then the theft is your responsibility, not ours.
Payment & Security
Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.