PCM2706 USB DAC - Interference/Temperamental Connection - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, 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
Thread Tools Search this Thread
Old 29th March 2008, 09:48 PM   #1
browner is offline browner  United Kingdom
diyAudio Member
Join Date: Dec 2007
Unhappy PCM2706 USB DAC - Interference/Temperamental Connection

Hi guys,
First post here despite reading many many threads over the past month or so. Bit of an electronics noob trying to build my first quality usb DAC and having some issues. Maybe you can help...

First of all I bought the aw-d3 kit from www.audioworkshop.com.hk.

I then decided I wanted to use a discrete 3.3v power supply to power the PCM2706 rather than use the dirty USB power. The board already has a ~6.8v regulated supply for the TDA1543 so I built myself a simple circuit to step this down to 3.3v using a voltage divider and BC109. The PCB then had to be modified for self powered operation. This involved removing the PCM2706, cutting traces and grounding the PSEL pin. This all went relatively smoothly and is now complete (despite lifting a few traces when desoldering the PCM2706 :S).

I now faced the issue that 3.3v must NOT be applied to the USB D+ pullup resistor or HOST pin when the USB cable is unplugged to prevent damage to the PCM2706. I borrowed part of the circuit from here and am using a 74HC08 AND gate in exactly the same setup to achieve this.

So in summary my power supply provides a steady 6.8v to the TDA1543 and 3.3v to the PCM2706. 3.3v is applied to the D+ pullup resistor and HOST pin when USB cable is inserted (this is 3.3v sourced from USB power as per dddac.de).

and IT WORKS! ....up to a point.

My problem is that after a few minutes of use (5, 10, 30 or even an hour) my computer reports that the device has been disabled due to possible EMI on the usb line. The drivers are then reloaded and it works again for a few minutes more. This will happen a few times and then my DAC will just 'die' and is no longer detected by the PC. If I then unplug the USB cable (I can leave the power supply plugged in) and leave the DAC sitting for an hour or two it will work again! but only after an hour or so has passed.

I do notice that the little red LED that is wired to the USB 5v (as part of the voltage divider for the AND gate) flickers slightly before the computer complains of EMI and disables it. It also sometimes flickers when the USB cable is first inserted. Of course if the USB 5v drops momentarily (and it flickers) then power to the D+ pullup and HOST pin might be removed which I presume would kill the USB connection. I have tried decoupling the USB 5v right before the AND gate with a ceramic 100n capacitor and also a 43u electrolytic but this doesnt seem to help and in fact the 43u cap stopped the PC detecting it (initial charging current to large?).

I believe these issues are related to instabilities in the USB 5v line however I may be wrong. Maybe the PC is removing USB power to my device when it detects interference? Maybe I have grounding issues. Currently all grounds are linked together.

It also puzzles me that I have to wait some period of time before the device works again as if current is being stored in some capacitor and causing problems. I cant think where though.

Maybe someone has some suggestions as to how I can help stabilise the USB link?

I have of course checked for dry joints/loose connections.

I apologise for rambling on and on!!
  Reply With Quote
Old 29th March 2008, 11:09 PM   #2
diyAudio Member
Join Date: Nov 2007
The delay sounds temperature related. Does anything get hot?

Just to make sure, did you tie the unused 'HC08 inputs to ground?

Have you tried it on a different computer, or with a different cable?

To isolate the D+ pullup from the +5 behavior, you could insert another logic gate, this one powered from 3.3; but your problem probably lies elsewhere.
  Reply With Quote
Old 30th March 2008, 05:36 AM   #3
browner is offline browner  United Kingdom
diyAudio Member
Join Date: Dec 2007
thanks for your reply.

the only thing generating substantial heat is the LT317 for the 6.8v supply although its perfectly within limits and I also have this problem when the thing is cold.

all the HC08's unused inputs are directly connected to ground.

currently i have it setup as shown below with jumper wire linking everything till i build my enclosure. maybe i should shorten the wires somewhat? also the last 15cm of usb cable linking the boards is just 4 core unshielded phone wire :S maybe that has something to do with it? there is a ferrite already on the usb cable but its at the PC end.

i will try and test it with another pc tomorrow.

i notice the flicker that is present when inserting the usb cable comes as the D+ line is connected. the usb connector is shaped such that the GND and 5V lines engage slightly ahead of the data lines and when inserting the cable slowly you can see the flicker as the D+ line meets with the pullup resistor. funny thing is the red led gets brighter momentarily when this occurs.

i'm going to try and digitise my schematic in eagle so you can properly see what's going on.
Attached Images
File Type: jpg dac.jpg (93.7 KB, 1199 views)
  Reply With Quote
Old 30th March 2008, 06:20 AM   #4
dddac is offline dddac  Germany
diyAudio Member
Join Date: Jul 2003
Location: Wiesbaden
with my setup this has never happened. Have you tried another pc? same issue?

Happy listening and building
  Reply With Quote
Old 30th March 2008, 04:01 PM   #5
browner is offline browner  United Kingdom
diyAudio Member
Join Date: Dec 2007
ok i have made some progress with this.

i have removed the short length of phone wire i was using to connect up the usb and put another ferrite on the cable - still i have problems. i modified the HC08 to run of my 3.3v supply - still problems.

but i have found that if i unplug the rca jacks to my amp the issue seems to go away. somehow the link with the amp is introducing interference.

grounding issues? that is one area i have no knowledge at all really.

ive been reading this thread which seems to cover the same issue.
I'm also going to try putting 22pF capacitors on the D+/- pins to ground right at the chip as suggested here
  Reply With Quote
Old 30th March 2008, 04:01 PM   #6
browner is offline browner  United Kingdom
diyAudio Member
Join Date: Dec 2007
also the issue with having to wait an hour before it works again seems to be a fud as it always seems to work again after unplugging it and inserting it again.

problem also present with different cable and another laptop.
  Reply With Quote
Old 31st March 2008, 02:06 PM   #7
browner is offline browner  United Kingdom
diyAudio Member
Join Date: Dec 2007
bah now it seems the thing has died altogether

might enquire about getting another board sent out from audioworkshop but who's to say i wont have the same problems all over again.

does anyone have any suggestions how I can get a reliable, working DAC with the minimum extra expenditure?
  Reply With Quote
Old 4th April 2008, 10:20 PM   #8
Archwn is offline Archwn  United Kingdom
diyAudio Member
Join Date: Oct 2006
IIRC there was someone tried both bus powered and self powered and found there is no improvement though the datasheet claims to have some.

pcm270x may have 4 good sets of separate LDO regulators on board already. the datasheets shows 120dB noise floor and from my listening test through headphones, pcm2707 bus powered is very quiet and works just fine. I didn't notice any noise at all.

If you would like to try and compare, I can supply the board /components.
  Reply With Quote
Old 5th April 2008, 02:27 PM   #9
browner is offline browner  United Kingdom
diyAudio Member
Join Date: Dec 2007
thanks Archwn.

to be honest i think your right and i'm pretty sure i couldn't tell the difference between bus and self powered especially with my speaker setup. suppose i was just tempted by the numbers and thought i'd give it a go as a challenge for myself, guess that gamble didn't pay off.

what i did hear of the DAC was mostly the output from the TDA1543 which i was really happy with. was going to use this as an upgrade over my creative sound blaster usb soundcard which seems subdued in the midrange around 3-4kHz ish. the 1543 was 1000 times better and sounded really sweet to my ears. would love to hear the pcm's output too.

thanks for your offer of boards, do you have a schematic for your design?

i thought i'd give my dead board another try to day - plugged it in and its working again!?!? :S that's despite me failing to get it to respond at all last week. this thing is seriously puzzling me, why does leaving it alone for a day/week suddenly fix it!? needless to say it lasted all of 13minutes and then disconnected itself again.

its so frustrating having something so close to perfect and yet utterly unreliable.

Apr  5 15:02:52 i2648 kernel: [35155.324000] usb 1-2: configuration #1 chosen from 1 choice
Apr  5 15:02:52 i2648 kernel: [35155.356000] input: Burr-Brown from TI               USB Audio DAC    as /class/input/input15
Apr  5 15:02:52 i2648 kernel: [35155.356000] input: USB HID v1.00 Device [Burr-Brown from TI               USB Audio DAC   ] on usb-0000:00:1d.0-2
Apr  5 15:02:52 i2648 kernel: [35155.528000] usbcore: registered new interface driver xpad
Apr  5 15:02:52 i2648 kernel: [35155.528000] /build/buildd/linux-source-2.6.22-2.6.22/drivers/input/joystick/xpad.c: driver for Xbox controllers v0.1.6
Apr  5 15:15:52 i2648 kernel: [35935.328000] usb 1-2: USB disconnect, address 5
Apr  5 15:15:52 i2648 kernel: [35935.440000] usb 1-2: new full speed USB device using uhci_hcd and address 6
Apr  5 15:15:52 i2648 kernel: [35935.640000] usb 1-2: configuration #1 chosen from 1 choice
Apr  5 15:15:52 i2648 kernel: [35935.640000] snd-usb-audio: probe of 1-2:1.0 failed with error -5
Apr  5 15:15:52 i2648 kernel: [35935.644000] input: Burr-Brown from TI               USB Audio DAC    as /class/input/input16
Apr  5 15:15:52 i2648 kernel: [35935.644000] input: USB HID v1.00 Device [Burr-Brown from TI               USB Audio DAC   ] on usb-0000:00:1d.0-2
Apr  5 15:16:44 i2648 kernel: [35987.744000] usb 1-2: USB disconnect, address 6
  Reply With Quote
Old 6th April 2008, 11:18 AM   #10
browner is offline browner  United Kingdom
diyAudio Member
Join Date: Dec 2007
i think i might be getting some EMI through the power lines as when i switch on my amp (regardless of whether its plugged in to the DAC or not) it disconnects the DAC from the computer and grumbles about EMI.

does anyone fancy taking a look at my power supply schematic? i'd love to hear your comments and suggestions for better isolating it from mains noise.
Attached Images
File Type: png power.png (15.4 KB, 961 views)
  Reply With Quote


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
Pcm2706 -> I2s -> Tda1541a ? pftrvlr Digital Source 3 3rd August 2008 04:39 PM
Possible PCM2706 implementation jaycee Digital Source 9 5th November 2006 11:14 PM
AW-D3 (PCM2706) problem pipp0r Digital Source 7 30th April 2006 09:37 PM
3.3V PSU to drive PCM2706 USB DAC Nordic Digital Source 21 11th February 2006 03:09 PM

New To Site? Need Help?

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

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

Content Relevant URLs by vBSEO 3.3.2