~/talk

Playing Audio on a SoC DAC Output...

links:none on file
linkedin:eve-redero
slides:none on file

Attempts to bit-bang a SoC DAC from Zephyr fail: a sleep loop yields ~300 µs instead of the 20 µs sample period and busy-waiting still misses timing. Moving to a codec-style buffer with interrupts produces the right tone but noisy, fragile, and interrupt-heavy. Using DMA reduces CPU load and drops interrupt frequency from ~20 µs events to ~3 ms events, producing clean 44 Hz test tones at 48 kHz sample rate. Debugging uses RAM tracing retrieved via GDB and GPIO toggles for oscilloscope timing. Examples target ST STM32F7 and Atmel ATSAM3X8E; a USB UAC2 + mpipe demo works but is DIY quality.

AI-written summary · about

  1. 0:00Introduction to embedded audio
  2. 2:06Digital audio design basics
  3. 8:06First DAC experiment attempts
  4. 13:24Driver APIs and limitations
  5. 16:37Codec driver API exploration
  6. 19:34DMA for precise audio playback
  7. 22:02Debugging audio with tracing
  8. 26:19Internal vs external DACs
  9. 28:45Audio-ready boards overview
  10. 30:10Electronics and demo setup
  11. 31:57USB UAC2 sound card demo
  12. 33:42Applications and debugging with audio
  13. 34:03Q&A: Upstreaming DAC codec
  14. 35:31Q&A: Clarifying user space
  15. 36:13Q&A: DAC bit depth handling
  16. 37:38Q&A: Oversampling for DAC
  17. 40:08Closing remarks and thanks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.