BentoIO AMX2 Audio HAT
Version 1.5
Content



Key Features
- Wing Design: The HAT is offset to the side, so the Raspberry Pi CPU and heatsink stay fully exposed. This helps cooling and gives more freedom for the enclosure.
- Ultra-low profile: Combined with the terioto CMX Carrier Boards, the setup stays very flat and compact.
- Hi-res audio in and out: A TI PCM5242 DAC and a TI PCM1863 ADC give 24-bit recording and playback at up to 192 kHz.
- Dedicated headphone amplifier: A TI TPA6130A2 with 64-step hardware volume control.
- Three expansion connectors (JST PH 2.0): I²C plus GPIO, MIDI/UART, and 5 V power.
- Plug and play: Works with Raspberry Pi OS using the standard
hifiberry-dacplusadcprooverlay.
Audio Quality
The AMX2 is built around TI’s Burr-Brown line of audio converters, with the layout designed for low noise.
- Playback (PCM5242 DAC): 114 dB SNR, −94 dB THD+N (typ., datasheet). The DAC outputs a fully differential signal. The line output provides the standard 2.1 Vrms consumer level. Each output leg has a passive RC filter to suppress out-of-band noise.
- Recording (PCM1863 ADC): 110 dB SNR, −93 dB THD+N (typ., datasheet). It accepts line-level sources up to 2.1 Vrms. A programmable gain amplifier (−12 dB to +32 dB) handles quieter sources too. The inputs are AC-coupled.
- Headphones (TPA6130A2): DirectPath ground-referenced output, so there are no output coupling capacitors to limit the bass. 98 dB SNR and 9 µVrms output noise (typ., datasheet). The amplifier takes the DAC’s differential signal directly.
- Two dedicated audio clocks: Separate low-jitter oscillators run at 22.5792 MHz (44.1 kHz family) and 24.576 MHz (48 kHz family). The DAC selects the right clock for each sample rate. Music plays at its native rate without sample-rate conversion.
- Clean power: Three separate low-noise LDO regulators feed the ADC analog section, the DAC analog section and the digital logic. Digital noise stays out of the analog path. Every supply pin has its own 10 µF / 1 µF / 100 nF decoupling.
- Low-noise PCB layout: Two-layer board with a continuous ground plane and dense ground stitching. Analog and clock traces are routed apart.
Specifications
| Compatibility | Raspberry Pi 4 B, Raspberry Pi 5 |
| DAC | TI PCM5242, 114 dB SNR, −94 dB THD+N (typ.) |
| ADC | TI PCM1863, 110 dB SNR, −93 dB THD+N (typ.), PGA −12 to +32 dB |
| Line In | Stereo, 3.5 mm TRS, up to 2.1 Vrms |
| Line Out | Stereo, 3.5 mm TRS, 2.1 Vrms |
| Headphone Out | Stereo, 3.5 mm TRS, TPA6130A2, 64-step volume |
| Resolution | 24-bit, 44.1 to 192 kHz |
| Clocks | 22.5792 MHz and 24.576 MHz oscillators |
| Power | From the Raspberry Pi 5 V (GPIO header), three on-board LDOs |
| Expansion | 3 × JST PH 2.0 mm (see below) |
| Software | ALSA, JACK, PulseAudio / PipeWire |
Expansion Connectors (JST PH 2.0)
All three connectors use the common 2.0 mm JST PH pitch, so ready-made cables are easy to find.
I²C / GPIO (6-pin)
Connect sensors, displays, rotary encoders or I/O expanders.
| Pin | Signal | Raspberry Pi |
|---|---|---|
| 1 | GPIO23 | pin 16 |
| 2 | SDA | GPIO2, pin 3 |
| 3 | SCL | GPIO3, pin 5 |
| 4 | 3.3 V | |
| 5 | 5 V | |
| 6 | GND |
The I²C bus is shared with the on-board audio chips. Check which addresses are already in use with i2cdetect -y 1. Signal levels are 3.3 V.
MIDI / UART (5-pin)
Connects to the Raspberry Pi’s primary UART.
| Pin | Signal | Raspberry Pi |
|---|---|---|
| 1 | 3.3 V | |
| 2 | 5 V | |
| 3 | MIDI RX | GPIO15 (RXD), pin 10 |
| 4 | MIDI TX | GPIO14 (TXD), pin 8 |
| 5 | GND |
These are 3.3 V logic-level signals. To connect standard 5-pin DIN or TRS MIDI gear, add a MIDI interface module with an optocoupler. To run the UART at the MIDI rate of 31,250 baud, see Configuration and disable the serial console. The connector also works as a general-purpose 3.3 V UART.
5 V Power (2-pin)
| Pin | Signal |
|---|---|
| 1 | +5 V |
| 2 | GND |
Note: This connector is wired directly to the Raspberry Pi’s 5 V rail, without a fuse or reverse-polarity protection. Check polarity before connecting.
Configuration
Open the boot configuration:
sudo nano /boot/firmware/config.txt
Add the audio overlay and reboot:
dtoverlay=hifiberry-dacplusadcpro
Optional, for MIDI on the 5-pin connector (Raspberry Pi 4):
dtoverlay=midi-uart0
Raspberry Pi 5:
dtoverlay=uart0-pi5
dtoverlay=midi-uart0
GPIO Usage
| GPIO | Function |
|---|---|
| GPIO18, 19, 20, 21 | I²S audio |
| GPIO2, 3 | I²C (audio chip control, 6-pin connector) |
| GPIO4 | Headphone amplifier enable |
| GPIO0, 1 | HAT ID |
| GPIO14, 15 | MIDI / UART (only when used) |
| GPIO23 | 6-pin connector, pin 1 |
All other GPIOs remain free.
Resources
- STEP model (ZIP, 5.6 MB)
- Drawing (PDF, 470 KB)
