PCM5102A DAC on Raspberry Pi

  1. Connect a wire to all pins except SCK
  2. Short the 2 pads on the top of the PCB near the SCK pin (this shorts SCK to GND so the chip generates its own SCK signal)
  3. On the back side, for all HxL pads, connect the middle pad with the right pad, except for H3L, connect the middle pad with the left pad
  4. Connect to your Raspi GPIO:
DAC Raspi
BCK Pin 12
DIN Pin 40
LCK Pin 35
GND Pin 6 (or any GND)
VIN Pin 2 (or any 5V)
  1. Edit /boot/config.txt on your Raspi:

comment out dtparam=audio=on (put a # in front), add dtparam=i2s=on and dtoverlay=hifiberry-dac

  1. Create /etc/asound.conf:
pcm.!default {
	type hw
	card 0
}
ctl.!default {
	type hw
	card 0
}
  1. Reboot your raspi!
  2. Connect your AUX cable: You will need to use some force to push the AUX cable all the way in. If a gold contact sticks out, its not all the way in yet!
  3. Test: speaker-test -c2 -twav -l7
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9