<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Audio ADC &amp; DAC on Embedded Systems Development</title><link>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/</link><description>Recent content in Audio ADC &amp; DAC on Embedded Systems Development</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/index.xml" rel="self" type="application/rss+xml"/><item><title>ADC for Audio Capture</title><link>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/adc-for-audio/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/adc-for-audio/</guid><description>&lt;h1 id="adc-for-audio-capture"&gt;ADC for Audio Capture&lt;a class="anchor" href="#adc-for-audio-capture"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Most Cortex-M microcontrollers include a successive-approximation (SAR) ADC capable of sampling at rates well above audio requirements — a 12-bit ADC running at 1 MSPS is far faster than the 8–48 kHz needed for audio. The question is not whether the ADC is fast enough, but whether it is clean enough. Audio demands sustained, evenly spaced conversions with minimal noise over thousands of consecutive samples, while most MCU ADC specifications are optimized for single-shot or burst measurements of slowly changing signals. The gap between &amp;ldquo;ADC can sample at 48 kHz&amp;rdquo; and &amp;ldquo;ADC produces usable audio at 48 kHz&amp;rdquo; is measured in ENOB, noise floor, and clock jitter.&lt;/p&gt;</description></item><item><title>DAC Audio Output</title><link>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/dac-audio-output/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/dac-audio-output/</guid><description>&lt;h1 id="dac-audio-output"&gt;DAC Audio Output&lt;a class="anchor" href="#dac-audio-output"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;An on-chip DAC converts digital audio samples back into an analog voltage waveform — the final step before an amplifier drives a speaker or headphone. Many Cortex-M MCUs include one or two 12-bit DAC channels (STM32F4, STM32H7, ESP32, RP2350), which can produce audio output without any external converter IC. The quality ceiling is set by the DAC resolution and output characteristics: a 12-bit DAC provides ~72 dB of theoretical dynamic range (10–11 ENOB in practice), sufficient for voice, notification sounds, and casual audio playback, but noticeably below CD quality for critical listening.&lt;/p&gt;</description></item><item><title>PWM Audio Output</title><link>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/pwm-audio-output/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/pwm-audio-output/</guid><description>&lt;h1 id="pwm-audio-output"&gt;PWM Audio Output&lt;a class="anchor" href="#pwm-audio-output"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Not every MCU has a DAC, but nearly every MCU has a PWM-capable timer. A PWM signal whose duty cycle is modulated by audio sample values, followed by a low-pass filter to remove the carrier frequency, produces an analog audio output. This technique is widely used on Cortex-M0 (no DAC), ATtiny/ATmega, RP2040 (which has PWM but no DAC), and other low-cost MCUs. The quality ceiling is lower than a dedicated DAC — limited by PWM resolution, carrier frequency harmonics, and reconstruction filter design — but for voice prompts, alarms, notification sounds, and simple music playback, PWM audio is a practical zero-cost solution.&lt;/p&gt;</description></item><item><title>External Audio ADCs &amp; DACs</title><link>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/external-audio-converters/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://applied-ee.github.io/embedded/docs/audio-projects/audio-conversion/external-audio-converters/</guid><description>&lt;h1 id="external-audio-adcs--dacs"&gt;External Audio ADCs &amp;amp; DACs&lt;a class="anchor" href="#external-audio-adcs--dacs"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;When on-chip conversion is not enough — the noise floor is too high, the resolution is too coarse, or the application demands audiophile-grade specifications — a dedicated external audio converter IC bridges the gap. These devices are purpose-built for audio: 24-bit sigma-delta converters with 100+ dB SNR, integrated anti-aliasing and reconstruction filters, ultra-low jitter clock circuitry, and precisely matched analog front-ends. The trade-off is additional board complexity (I2S bus, clock routing, power supply filtering) and cost ($1–10 per IC).&lt;/p&gt;</description></item></channel></rss>