|
KiCad 9.0 |
Taishan Pi Stereo I2S/PDM Microphone HAT with RP2040
A microphone connected via JST-SH feeds I2S audio into the RP2040, which reads it through a PIO state machine (the RP2040 has no dedicated I2S hardware, but PIO handles the protocol cleanly). The RP2040 enumerates over USB-C to the host as a composite USB Audio Class device with both capture and playback endpoints, so the Taishan Pi sees a standard USB sound card accessible through ALSA. Playback flows in reverse: the host writes audio to USB, the RP2040 streams it as I2S into a MAX98357A Class-D amplifier driving the speaker output. Two microphone ports share the same I2S bus with their L/R pins set opposite, enabling stereo capture or future beamforming without a board respin.
The key decision was routing audio through the RP2040 as a USB device rather than wiring I2S directly to the RK3566's I2S controller. Direct I2S would have required a custom Rockchip device-tree overlay and codec binding, locking the board to specific kernel versions and distros; the USB Audio Class path is fully distro-agnostic and portable to any Linux SBC. The board is kept at 2 layers because voice-band I2S at ~3 MHz BCLK tolerates simpler routing as long as the bottom-layer ground pour is continuous, which saves cost on the prototype run with a clear path to a 4-layer revision if noise testing demands it.
Taishan Pi Stereo I2S/PDM Microphone HAT with RP2040
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by Engineer
-
Programmable Mist Maker - XIAO / QT PY Extension
1340 2 1 -
RadioHAT - Raspberry Pi radio development platform
1132 0 2 -
QWIIC-VL53L4CD Time-of-Flight Distance Sensor Module
1334 0 1 -
-
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
3515 0 6 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
4177 3 8 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
4550 2 2







