WallaceIT
Posts: 3
Joined: Tue Mar 26, 2013 3:11 pm

Simple I2S DAC based on PCM5102A

Tue Oct 01, 2013 5:14 pm

Hi,

I'd like to share with you my new simple I2S DAC based on the excellent PCM5102A chip by TI.

Attached you will find the schematic and the entire Kicad (http://www.kicad-pcb.org/display/KICAD/ ... ware+Suite) project. In the kicad.zip archive there's two folders, named v1 and v2: I only built v1 PCB but v2 looks much better (and you can find it on OSHPARK: http://oshpark.com/shared_projects/1IBsWB1b).

According to the KISS principle it takes +5V supply from the RPi itself: it probably isn't audiophile-grade but (to me) sounds good enough.

PCM5102A is already supported by koalo RPi kernel branch: https://github.com/koalo/linux (a big thank to him for his hard work on the I2S driver!)

Feel free to use it for whatever you want (is Open Hardware!).

WallaceIT

schematic: https://www.dropbox.com/s/q9ffrd3g8og1z ... A.pdf?dl=0
kicad zip file: https://www.dropbox.com/s/8000tk5fxzrhw ... d.zip?dl=0

Image
Last edited by WallaceIT on Sun Sep 17, 2017 1:37 pm, edited 1 time in total.

athelander
Posts: 1
Joined: Fri Feb 21, 2014 11:11 pm

Re: Simple I2S DAC based on PCM5102A

Fri Feb 21, 2014 11:40 pm

Dear Wallace,

I've ordered up the PCB's from OSH park (minimum 3) and sampled 3 pcs of PCM5102A+TPS73133 from TI. Found some SMD's and started soldering.

It works perfect! And I build 3 for half the price of one HIFIberry DAC.

Tanks for your work!

Br,
Andreas
Attachments
foto 1.JPG
rpi and dac
foto 1.JPG (40.97 KiB) Viewed 12212 times

Eradicatore
Posts: 23
Joined: Sun Jul 29, 2012 1:21 am

Re: Simple I2S DAC based on PCM5102A

Sun Jul 20, 2014 8:02 pm

Hi Wallace,
I too made a reference design board. I'm debugging it now and wondered if you had any debugging tips. I see what looks like good bck and lrck signals and voltages out of pi p5 header and into pcm5102a. I checked for shorts an voltage pins on 5102a and from my regulator. I just don't get a signal from L/R.

One thing I'm worried about is xmt. I tied this to the 3.3 vout of the 5v to 3.3v regulator.but you use a voltage divider. Why? Timing?

Any other tips? I will review i2s with logic analyzer next but since its using a SqueezePlug.De image I think i2s is probably fine.

Is there any better way to know the pcm5102a is "alive" ?

User avatar
PeterO
Posts: 3590
Joined: Sun Jul 22, 2012 4:14 pm

Re: Simple I2S DAC based on PCM5102A

Sun Jul 20, 2014 8:06 pm

The OP hasn't posted anything for over a year, so I think you will be unlikely to get a reply :-(
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Eradicatore
Posts: 23
Joined: Sun Jul 29, 2012 1:21 am

Re: Simple I2S DAC based on PCM5102A

Mon Jul 21, 2014 2:38 am

Yea, true. But maybe someone else knows something? I can hope at least. :-) Anyway, it was good that he shared his schematic and cad files.

skalskit
Posts: 2
Joined: Sat Mar 18, 2017 3:24 pm

Re: Simple I2S DAC based on PCM5102A

Sat Mar 18, 2017 3:27 pm

It works perfect from the start. Use overlay config for hifiberry-dac. :D

lordhex
Posts: 1
Joined: Sun Mar 19, 2017 8:19 pm

Re: Simple I2S DAC based on PCM5102A

Sun Mar 19, 2017 8:21 pm

I've ordered the boards, and I have to say that it works super! Ordered the PCM 5102 and the parts from http://www.ti.com directly. From gikey I got . Then got the capacitors and resistors from amazon.com - 0603 SMD size.

criznach
Posts: 1
Joined: Fri Apr 14, 2017 6:04 pm

Re: Simple I2S DAC based on PCM5102A

Fri Apr 14, 2017 6:07 pm

Does anyone have a copy of the schematic? The dropbox links appear to be dead.

amihaita
Posts: 1
Joined: Sat Jun 14, 2014 12:15 pm

Re: Simple I2S DAC based on PCM5102A

Sat May 13, 2017 10:01 pm

For those who bought MJCU-5102 (based on PCM5102A) DAC, here is the schematic for Raspberry Pi model B.
Attachments
CJMCU-5102 DAC connexions.png
CJMCU-5102 DAC connexions.png (33.74 KiB) Viewed 2503 times
CJMCU-5102.png
CJMCU-5102.png (45.58 KiB) Viewed 2503 times

fruithuibje
Posts: 1
Joined: Wed Sep 13, 2017 3:02 pm

Re: Simple I2S DAC based on PCM5102A

Wed Sep 13, 2017 3:32 pm

criznach wrote:
Fri Apr 14, 2017 6:07 pm
Does anyone have a copy of the schematic? The dropbox links appear to be dead.
Yes, component list would be nice.. Without that the PCB layouts are pretty useless :(

skalskit
Posts: 2
Joined: Sat Mar 18, 2017 3:24 pm

Re: Simple I2S DAC based on PCM5102A

Wed Sep 13, 2017 7:41 pm

Since WallaceIT's dropbox is unreachable

I put WallaceIT's files in :

https://www.dropbox.com/sh/4rptrcbe0af5 ... -pBqa?dl=0

I mounted the circuit according to his guidelines on the board : https://oshpark.com/shared_projects/1IBsWB1b

and it worked perfectly from the start. Chips can be purchased via farnell.com.

However, I would advise to try use pcm5122 instead of pcm5102a - very similar solution but it has capacity of volume control via i2c. and alsa driver description below and its only a few bugs more. I:

Application circuits responsively : http://www.ti.com/lit/ds/symlink/pcm5102a.pdf http://www.ti.com/lit/ds/symlink/pcm5122.pdf

The board can be ordered via oshpark as well:
https://oshpark.com/shared_projects/MmVdE7fl

Try on your own risk - I have not tested it yet.

Regards,
Tomasz

Return to “Add-ons”

Who is online

Users browsing this forum: No registered users and 7 guests