Clock routing dilemma - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

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
Reply
 
Thread Tools Search this Thread
Old 13th July 2002, 08:42 PM   #1
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Default Clock routing dilemma

Question for the gurus here:

On the board below, I have clocks coming in from the left and being distributed to two ICs. The pads you see are 50R resistors. SDATA, LRCK, and BCK are all relatively low-frequency clocks, but MCK is running at 24.576MHz.

My question is about how best to route MCK. The desired path is indicated by the brown line, and I could push it through almost as depicted, but I am concerned about crosstalk.

Other options would be jumpering MCK over this block via the topside, or under the board.

As for routing on the bottom layer, I am concerned about routing under clock lines. Routing completely around these blocks would create very long traces, which is not an option.

How would you route this signal?
Attached Images
File Type: gif untitled-1.gif (24.8 KB, 541 views)
  Reply With Quote
Old 13th July 2002, 09:34 PM   #2
Banned
 
Join Date: Dec 2001
Location: Zamboanga, City of Flowers, Mindanao
Send a message via Yahoo to Elso Kwak
Lightbulb PCB design

Hi Tiroth
I would route it as indicated but use through hole resistors. This will give more clearance.
I recognise the situation; you have forced yourself in a tight corner making it difficult to route the last trace. Widen up the design.
As MCK and the othet clock dsignals are perpendicular to each other you will have minimal interaction.

  Reply With Quote
Old 13th July 2002, 10:22 PM   #3
diyAudio Member
 
ftorres's Avatar
 
Join Date: Apr 2001
Location: Limoges, France
Hi Tiroth,

You seem to be busy, hu ?

I think the solution relies on the resistors. Sorry Elso, but I don't think using THT resistors would be a good idea. They add a lot of inductance, whithin the resistor itself, and with the leads too.

If I understand clearly from your drawing (hard to see without parts' silouhette), you drive two resistors with one signal (let's call this side the input), and the other side of the resistors (let's call 'em outputs) feeds the two ICs (which ones, I wonder ) separately.

If I'm right in my deductions, I think you'd better use a SMT resistor array. Vishay makes nice ones with a 50 mils or 25 mils pitches, which would fit nicely on you board as they look like SOIC or SSOP packages (Sorry, I do not have any link or reference handy, but I'll post it as soon as I refind it). The advantage is that they provide some space beneath them (more than a 0805 or 1206 part) that allow you to route some signals under the part. As a drawback, this implies that you also route MCK through this array...

And speaking of crosstalk... Trying to avoid it is a nice rule (and I also try to do it), but I wonder what happens inside an IC with a 26 mils pitch...

Hope this helps
__________________
François
"Learning French is trivial: the word for horse is cheval, and everything else follows in the same way."
  Reply With Quote
Old 13th July 2002, 10:35 PM   #4
diyAudio Member
 
ftorres's Avatar
 
Join Date: Apr 2001
Location: Limoges, France
Lightbulb Found it !

Aging is not an everyday's joy I found the link in my bookmarks. Try to reroute with this part, and tell us
__________________
François
"Learning French is trivial: the word for horse is cheval, and everything else follows in the same way."
  Reply With Quote
Old 13th July 2002, 10:44 PM   #5
Banned
 
Join Date: Dec 2001
Location: Zamboanga, City of Flowers, Mindanao
Send a message via Yahoo to Elso Kwak
Wink Through Hole Resistors

Hi Francois,
I don't have absolutely no problems with through hole resistors; even in a 100 MHz clock!
  Reply With Quote
Old 14th July 2002, 12:08 AM   #6
diyAudio Member
 
ftorres's Avatar
 
Join Date: Apr 2001
Location: Limoges, France
Elso,

I didn't expect you to have problems . What I just meant is that when frequency increases, parts do not behave as ideal ones, and parasitic (R, L, C) can ruin a lot of efforts. And SMT parts usually have lower parasitics than THT ones. I'm sure you can obtain even better results with your asynchronous reclocker if you try to build it with only SMT parts (knowing you, perhaps you've already tried, hu ?).
__________________
François
"Learning French is trivial: the word for horse is cheval, and everything else follows in the same way."
  Reply With Quote
Old 15th July 2002, 05:35 AM   #7
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
Thanks for the input guys. A SOIC resistor array was just the ticket.

A couple of 32mil leadless arrays would probably have been best, but I decided they weren't worth the aggravation of trying to solder more fine pitch devices!
  Reply With Quote
Old 15th July 2002, 05:23 PM   #8
diyAudio Member
 
Join Date: Feb 2002
Location: Germany
Default general thoughts on clock crosstalk

Slower clocks still have the same edge speed, so they might produce almost the same amount of crosstalk as a higher frequency clock. As they are synchronous to MCKL and do not contribute to timing accuracy (maybe with the exception of WDCLK on older multibit DACS), I would not worry about crosstalk into them.

On the other hand, SDATA is synchronous to MCKL (albeit with some delay), but also aperiodic, hence it might induce pattern-dependent crosstalk into MCKL, i.e. the device receiving the MCKL might detect the edges at different times depending on what data there is on SDATA.

In a modern system with an integrated filter DAC I would suggest the following scheme: use a high quality oscillator close to the DAC and route the clock through a buffer with a well-decoupled supply, using no or only a small series impedance in this line. A separate buffer should distribute the clock to all other parts of the circuit. The SDATA (and all other derived signals) should be decoupled at their buffer outputs with a relatively high-value SMD resistor, i.e. 100 - 470 R.

Greetings,

Eric
  Reply With Quote
Old 15th July 2002, 06:46 PM   #9
tiroth is offline tiroth  United States
diyAudio Member
 
Join Date: Dec 2001
Location: Pittsburgh, PA, USA
capslock,

Thanks for the response. All of my clock signals are actually generated at a counter, buffered, with a single line driving two chips per block (the upper and lower ICs in the gif above). The board will have 3-4 of these blocks, so there are constraints on how short clock traces can be made.

Does your statement about series resistance still hold? My thought was that since trace lengths could reach 3-4 inches and pass by other circuit blocks it might be advantageous to decouple all clock lines.
  Reply With Quote
Old 16th July 2002, 11:32 AM   #10
diyAudio Member
 
Join Date: Feb 2002
Location: Germany
Depends on what those chips do, i.e. if they are jitter sensitive. If you have a modern integrated DAC some place and a master clock close by, all I would worry about is not to corrupt the MCKL clock line that goes from the oscillator to the DAC and controls all internal timing. If you are using a digital filter / multibit DAC approach, the digital filter usually controls the timing of the DACs, but you also reclock the WDCK lines with a 74F74 that is driven from the master clock.

If you don't have a master oscillator and all those nice chips are part of a semi-discrete PLL, my statement would probably not hold.

I like to use a small series resistance (20 - 90 R) on critical lines because it keeps the worst switching transients from the receiving input. If it is too large, the edges become even cleaner but are so round the input gate has too much freedom to decide when it is time to switch. The same goes basically also for non-critical inputs on the same chip because the input gate draws a high current while the signal is between valid states.

For non-critical input on other chips all you have to worry about is that the digital information gets transmitted correctly, so you have to look at the setup times given in the timing diagrams. In many cases, you can get away with 1 k.

Eric
  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
My dilemma Vivek Solid State 16 13th July 2009 02:12 PM
PCB Routing Mark245 Parts 15 27th May 2009 08:54 PM
DIY dilemma, TMM, MTM or TMW Dave Bullet Multi-Way 30 11th May 2007 02:56 AM
MDF cnc routing dhole Multi-Way 1 21st January 2006 05:38 PM
Amp dilemma AuroraB Pass Labs 6 22nd September 2003 05:04 PM


New To Site? Need Help?

All times are GMT. The time now is 08:03 AM.


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