drv_audio_pcm5102a
I2S audio DAC driver for the PCM5102A. Wraps the ESP-IDF I2S API for PCM audio streaming.
Overview Proven
| HAL Type | Audio |
| Chip | PCM5102A |
| Interface | I2S |
| Description | Supports 16-bit and 32-bit PCM at 8/16/44.1/48 kHz sample rates. Volume control via software scaling. |
Implementation
| Source | components/kernel_rs/src/drv_audio_pcm5102a.rs (1086 lines) |
| Wraps | ESP-IDF i2s_channel_write(), i2s_new_channel() |
| Tests | 29 unit tests |
Devices
Boards that use this driver:
| Device | Status |
|---|---|
| T-Deck Pro | Proven |
Configuration
Configured via board.json: I2S pins (pin_bck, pin_ws, pin_data), sample rate, bit depth.
Known Issues
No known issues.