I purchased a PCM5102 for my PiZeroW, but having problems finding
- complete driver software information
- voltage information
- wiring information.
I chose this particular unit because they seemed very popular on Ebay when talking about adding I2S sound to Raspberry Pi.
With so many on sale, I guessed instructions would be easy to find.
What is the Device Driver / Device Setup
I have been watching the Adafruit setup of a different I2S unit. Looking for hints. https://www.youtube.com/watch?v=kkaYTIC0RoQ
aplay -l
This should show available sound cards. But I don't get any. I suspect I have the wrong boot config. I do have I2S enabled in the /boot/config.txt, also set the
dtoverlay=hifiberry-dac
I have setup /etc/asound.conf as well.
What is the Vcc Voltage for this card? 3.3v or 5v?
The raw chip looks to be 3.3v, according to the datasheet, but there are many surface mount resistors on the card, any could be used to pull down a Vcc of 5volts to 3.3v. http://www.ti.com/general/docs/datasheetdiagram.tsp?genericPartNumber=PCM5102&diagramId=SLAS764B
I've gone conservative for now, picking 3.3v. Trying to keep the magic smoke within the unit:)
Wiring the PCM5102 to the PiW
Other than Vcc, the other wiring I deduced from here.
http://masterandrey.com/posts/en/dac_raspberry_pi_pcm5102/ http://www.denshi.club/pc/audio/raspberry-pi-2i2s-dac.html
Is the MCK (SCK) line to be connected, or left unconnected as suggested by www.denshi.club ?
Symptoms
No sound when using headphones plugged into the 3.5mm jack.
The led on the card comes on.
Sorry, I don't have a scope, so I'm not able to test the I2S lines.
aplay -l
Not seeing any cards listed.