Connecting PCM5102 DAC

treii28
Posts: 4
Joined: Fri Oct 26, 2018 12:38 am

Connecting PCM5102 DAC

Postby treii28 » Fri Oct 26, 2018 12:49 am

I've been able to figure out the pins for BCK/LCK/Data but the PCM5102 I ordered also has an SCK pin on it and none of the pages I've found thus far mention a recommended SCK pin. gpio 0?

SW

treii28
Posts: 4
Joined: Fri Oct 26, 2018 12:38 am

Re: Connecting PCM5102 DAC

Postby treii28 » Fri Oct 26, 2018 8:42 pm

OK, since last night I looked deeper into the ESP8266Audio code and found the SetPinout function. Is there any particular reason he was using 22 for data? (as near as I can see, the only 'required' pins to use the ESP32 dac are using 26 and 25)

And since I also want to run an i2c bus on this project, and pin 22 is the recommended i2c SCL, is it better to remap the DAC data pin to something else or remap the i2c SCL pin to something else? If so, what other pin for what?

I was able to figure out the SCK on the DAC can be AC coupled to ground if using a proper BCK/LCK. So at least that problem is solved.

Who is online

Users browsing this forum: No registered users and 53 guests