Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 1st August 2012, 09:31 AM   #1
diyAudio Member
 
Join Date: Nov 2010
Default Digital source, receiver and DAC for preamp

I'm designing a preamp with a range of inputs, and have decided I want to add digital capability to it.

This will obviously comprise of the following three parts. I wish to keep everything working in hardware mode, so with no I2C/SPI control required.

The sources:
The preamp will have three digital sources:
- Coaxial SPDIF
- Optical SPDIF
- USB

The USB obviously needs a decoder. I am currently looking at the PCM2707 as it seems to have positive reviews - but any advice is appreciated.

The receiver:
The receiver needs to switch between SPDIF sources and convert to I2S. I'm looking at the WM8805 for this (in hardware mode). Am I right in thinking that this requires an accurate 12.00MHz clock to run well?

*Edit: looking further into it, I'm not sure that the WM8805 can change between sources in hardware mode (which is very poorly documented). The CS8416 is MUCH better documented and has a more capable hardware mode - would there be much of a performance downgrade to using this?*

The DAC:
I've been looking at the WM8740 stereo DAC - this seems to have good reviews. However I don't need the differential output - the datasheet shows multistage external active filters and a lot of complexity. I'm trying to make a very compact design - the CS4344 DAC is a very compact solution requiring minimal external components. I don't mind a small performance decrease in return for simplicity and a design which is more likely to work first time - so I'll probably end up using the CS4344.

Any thoughts or opinions are valued!

Many thanks,
Andy

Last edited by cowana; 1st August 2012 at 10:27 AM.
  Reply With Quote
Old 1st August 2012, 11:14 AM   #2
Autotat is offline Autotat  United Kingdom
diyAudio Member
 
Join Date: Jul 2012
Location: Southern Blighty
This sounds rather similar to what I'm trying to achieve, only you seem to know what you are talking about where as I'm completely out of my depth! I'll watch this thread with interest.
  Reply With Quote
Old 1st August 2012, 11:52 AM   #3
diyAudio Member
 
Join Date: Nov 2006
Location: Lyon
Hi Andy

Have a look there : DSP Xover project (part 2)

Both analog and digital In, XOver, DSP, analog & digital Out and much more....

For a good quality USB/I2S-SPDIF another affordable source : TAS1020B-based Asynchronous USB to I2S/SPDIF converter 24bit/96kHz

PCM2707 is limited to 48KHz/16bits, different range...

You can tap the USB/I2S-SPDIF lines directly to the mentionned DSP digital In

For the DAC, as you mention WM8741, have a closer look to the Opus from Twisted Pear : Opus - A Balanced DAC

Phil

Last edited by korben69; 1st August 2012 at 11:56 AM.
  Reply With Quote
Old 1st August 2012, 12:21 PM   #4
diyAudio Member
 
Join Date: Nov 2010
Thanks Phil - the product schematics at Twisted Pear are very helpful.

I've now decided to go with:
- PCM2707 USB to SPDIF (48khz max)
- CS8416 receiver and MUX (Very easy to use, no external clock required, very compact)
- PCM5102 DAC (very little configuration required, generates it's own master clock, excellent specs)

This will all be built into the rest of my preamp (I'm experienced with designing that part) - which will contain:
- An oLED display for user feedback
- A rotary encoder for source selection/settings/volume control
- A PGA2311 for analogue volume control
- Relays for source selection between 4 analogue inputs and the DAC output
- A very sleek (apple) remote control (IR)
- Mains switching to turn the amplifier on and off
- Either a USB or RS232 connection for PC control/automation

So in all, the preamp will have inputs for:
- USB
- Toslink
- Coaxial SPDIF
- RCA analogue audio x4

That should be pretty much everything I ever need!

Andy

Last edited by wintermute; 1st August 2012 at 01:14 PM. Reason: fix typo
  Reply With Quote
Old 1st August 2012, 01:10 PM   #5
diyAudio Member
 
Join Date: Nov 2010
I don't seem to be able to edit my previous post - but that should have read:
- A rotary encoder for source selection/settings/volume control
  Reply With Quote
Old 1st August 2012, 01:15 PM   #6
just another
diyAudio Moderator
 
wintermute's Avatar
 
Join Date: Aug 2003
Location: Sydney
Blog Entries: 22
fixed the edit limit is 30 minutes except for the first post in a thread which has indefinite editing (intended mainly for build theads and group buy threads).

Tony.
__________________
Any intelligence I may appear to have is purely artificial!
Some of my photos
  Reply With Quote
Old 1st August 2012, 04:03 PM   #7
diyAudio Member
 
Join Date: Nov 2006
Location: Lyon
Nice to see that your project is evolving, I'll follow your built.
From what I've read WM8805 performs better than CS8416 in jitter's square.
More informations here : wm8804 jitter
Similar project here, less remote and PGA : DIY work, CS8416 + WM8740 x2, Balance + single-ended
Another member has done an integration with The Wire & Odac using a PGA, LCD and remote... Can't find the thread...
  Reply With Quote
Old 5th August 2012, 12:27 PM   #8
diyAudio Member
 
Join Date: Nov 2010
Right! I feel the schematic for my preamp has got to the stage where the design is almost complete. I'd apprentice it if you could have a quick look over it - if there aren't any glaring errors, I'll move onto the PCB layout.

Although this has elements of digital source, line, and analogue source and line in it, I feel pairly happy with the analogue stuff. The digital stuff is all new to me, and it's the area I'm most likely to have made a mistake in, hence I'm posting here!

The circuit includes a large digital audio section - it now has an onboard USB audio decoder, a digital (SPDIF) source selector for changing between optical, digital and USB sound inputs, and a DAC for producing the audio output.

The analogue signal path is quite simple - the sources are summed through a buffer opamp, and passed through the PGA2311. There's a peak voltage detection on the input of the PGA2311, so the AVR can measure the volume level coming in.

Please ask any questions you might have!

Andy
Attached Files
File Type: pdf Preamp V6.pdf (178.6 KB, 88 views)
  Reply With Quote
Old 8th August 2012, 09:24 AM   #9
diyAudio Member
 
Join Date: Nov 2010
I've started routing the board, and have come up with a few issues along the way (which have been fixed):
- The CS8416 config resistors were pulled to analogue ground, not digital ground
- Separate 3v3 regulators for the charge pump and digital aren't required
- Separate grounds for the charge pump and digital aren't required
- Capacitors added across the relay coils to further prevent (electrical) switching noise
- The USB cable connector was given an extra ground to connect a shielded cable
- Input power connector added

Issues still to fix:
- The PCM2707 power setup is wrong - it is currently wired as a mixture of self power and bus power. I will completely isolate it from the rest of the PCB (taking power from USB), and add another SPDIF transformer. This will stop any potential issues with USB noise or ground loops through the USB input and an analogue source (which are not isolated).

Andrew
  Reply With Quote
Old 8th August 2012, 01:07 PM   #10
diyAudio Member
 
Join Date: Nov 2010
A couple more things that need fixing:
- The CS8416 outputs to the 3v3 DAC - so needs VL to be 3v3, not 5v
- That means the inputs need to be 3v3 max - so replace the TORX179 with a TORX147
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tap digital signal on Denon AVR2809 receiver' CPLD for external DAC sadhill Digital Line Level 0 3rd May 2009 09:42 PM
DPA little bit dac modding (7350 dac, ym3623b receiver) ash_dac Digital Source 16 5th December 2007 07:09 PM
My DIY Digital Preamp/Source Selector w/ LCD & Remote Mr.Radar Chip Amps 3 8th February 2006 11:26 AM
Need to source TORX toslink receiver pixpop Digital Source 11 25th January 2006 01:13 AM
dac + digital filter + preamp JayV Digital Source 1 3rd July 2003 06:05 AM


New To Site? Need Help?

All times are GMT. The time now is 02:34 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2