Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles Store Gallery 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
Reply
 
Thread Tools Search this Thread
Old 18th July 2006, 03:50 PM   #1
Banned
 
Join Date: Mar 2003
Location: .
Default How to Distribute a Clock

For the benefit of Guido Tent and similarly challenged forum members, here’s a distillation of my previous posts.

The first two rules of clocked circuits are:
1. Clocks are sacred.
2. Any signal that passes through combinatorial logic is not a clock.

I interpret those rules to mean: A clock is the output of an oscillator or a flipflop that is clocked by an oscillator. The flipflop can be standalone or part of a synchronous counter or latch.

Clock buffering and fanout should be done with clock drivers, not inverters. My personal fanout guidelines are: No more than two for oscillators and no more than 4 for clocks.

Match all interfaces. Don’t drive CMOS with TTL or vice versa. Where incompatible interfaces are unavoidable, use appropriate matching logic.

Above all, stick to your principles. For example, if you have good reasons for choosing 74HC logic for your design, there can be no good reason to substitute 74AC to solve a timing problem. Fix the design.

For digital audio, I start with an oscillator that is divided by a synchronous counter to give all necessary clocks. That includes the clocks for the CDP, S/PDIF receiver, digital filter, shift registers, DAC chips, etc. Everything is synchronous.
  Reply With Quote
Old 18th July 2006, 07:18 PM   #2
diyAudio Member
 
Join Date: Dec 2001
Location: Eindhoven
Default Re: How to Distribute a Clock

Quote:
Originally posted by Ulas
For the benefit of Guido Tent and similarly challenged forum members, here’s a distillation of my previous posts.

The first two rules of clocked circuits are:
1. Clocks are sacred.
2. Any signal that passes through combinatorial logic is not a clock.

I interpret those rules to mean: A clock is the output of an oscillator or a flipflop that is clocked by an oscillator. The flipflop can be standalone or part of a synchronous counter or latch.

Clock buffering and fanout should be done with clock drivers, not inverters. My personal fanout guidelines are: No more than two for oscillators and no more than 4 for clocks.

Match all interfaces. Don’t drive CMOS with TTL or vice versa. Where incompatible interfaces are unavoidable, use appropriate matching logic.

Above all, stick to your principles. For example, if you have good reasons for choosing 74HC logic for your design, there can be no good reason to substitute 74AC to solve a timing problem. Fix the design.

For digital audio, I start with an oscillator that is divided by a synchronous counter to give all necessary clocks. That includes the clocks for the CDP, S/PDIF receiver, digital filter, shift registers, DAC chips, etc. Everything is synchronous.
long story, short question

what clock driver would you reccomend ?
__________________
Guido Tent
www.Tentlabs.com
  Reply With Quote
Old 19th July 2006, 02:55 PM   #3
diyAudio Member
 
Join Date: Jan 2002
Location: Cheltenham
Yep, I'd be interested to hear of a recommended clock driver too.

Guido, I currently have one of your XOs driving 16x TDA1543 plus a counter directly i.e. without any buffering. First, does this risk any damage to the XO, and if not how much of a performance defecit am I looking at? I'm hoping I can live with it for a while before inserting a driver into the circuit.

Thanks.
  Reply With Quote
Old 19th July 2006, 03:10 PM   #4
diyAudio Member
 
janneman's Avatar
 
Join Date: May 2002
Location: Where Germany, The Netherlands and Belgium meet
Blog Entries: 6
Default Re: How to Distribute a Clock

Quote:
Originally posted by Ulas
[snip]The first two rules of clocked circuits are:
1. Clocks are sacred.
2. Any signal that passes through combinatorial logic is not a clock.
[snip]Clock buffering and fanout should be done with clock drivers, not inverters. My personal fanout guidelines are: No more than two for oscillators and no more than 4 for clocks.

Match all interfaces. Don’t drive CMOS with TTL or vice versa. Where incompatible interfaces are unavoidable, use appropriate matching logic.

Above all, stick to your principles. For example, if you have good reasons for choosing 74HC logic for your design, there can be no good reason to substitute 74AC to solve a timing problem. Fix the design.

For digital audio, I start with an oscillator that is divided by a synchronous counter to give all necessary clocks. That includes the clocks for the CDP, S/PDIF receiver, digital filter, shift registers, DAC chips, etc. Everything is synchronous.

Interesting viewpoints. Can you elaborate on *why* this should be so? Or is it your personal opinion? Thats OK of course, but would clarify things.

Jan Didden
__________________
/Another new issue: Linear Audio Volume 3!
  Reply With Quote
Old 19th July 2006, 03:12 PM   #5
diyAudio Member
 
Join Date: Dec 2001
Location: Eindhoven
Quote:
Originally posted by Spartacus
Yep, I'd be interested to hear of a recommended clock driver too.

Guido, I currently have one of your XOs driving 16x TDA1543 plus a counter directly i.e. without any buffering. First, does this risk any damage to the XO, and if not how much of a performance defecit am I looking at? I'm hoping I can live with it for a while before inserting a driver into the circuit.

Thanks.

Hi,I'd say 16 pieces is a bit too heavy load. On the risk: If one or more 47 ohm resistors are in series, I'd expect the XO to keep running. The jitter increases when the load gets heavier.

I can understand you are looking for a buffer, inserting one is my advise.

best
__________________
Guido Tent
www.Tentlabs.com
  Reply With Quote
Old 19th July 2006, 11:59 PM   #6
Fin is offline Fin
diyAudio Member
 
Fin's Avatar
 
Join Date: Dec 2003
Location: -
Quote:
Originally posted by Guido Tent

Hi,I'd say 16 pieces is a bit too heavy load. On the risk: If one or more 47 ohm resistors are in series, I'd expect the XO to keep running. The jitter increases when the load gets heavier.

I can understand you are looking for a buffer, inserting one is my advise.

best

Hi Guido

This might be a tricky question because there is a choice and probably a trade off. I will be using an XO2.5 board with the 1/2 clock output for a TDA1541A. Two of the other three outputs will be used for two flip-flops for reclocking WS and Data.

This leaves one output. Should I use it to connect to the SAA7220 filter and let that feed the SAA7210 decoder.................or is it better to find some way to feed the decoder directly??
__________________
Regards
Fin
  Reply With Quote
Old 20th July 2006, 07:59 AM   #7
diyAudio Member
 
Join Date: Dec 2001
Location: Eindhoven
Quote:
Originally posted by Fin



Hi Guido

This might be a tricky question because there is a choice and probably a trade off. I will be using an XO2.5 board with the 1/2 clock output for a TDA1541A. Two of the other three outputs will be used for two flip-flops for reclocking WS and Data.

This leaves one output. Should I use it to connect to the SAA7220 filter and let that feed the SAA7210 decoder.................or is it better to find some way to feed the decoder directly??

Hi Fin,

I like the reclocking !

An HC04 based buffer will do to feed both 7210 and 20, unless Mr. Ulas comes up with a practical example of a buffer circuit.

best
__________________
Guido Tent
www.Tentlabs.com
  Reply With Quote
Old 20th July 2006, 10:19 AM   #8
Fin is offline Fin
diyAudio Member
 
Fin's Avatar
 
Join Date: Dec 2003
Location: -
Quote:
Originally posted by Guido Tent

I like the reclocking !

An HC04 based buffer will do to feed both 7210 and 20, unless Mr. Ulas comes up with a practical example of a buffer circuit.

best

Thanks Guido

Well - I was taught by the best ;-)

So - the output from the XO2.5 will be connected directly to an input of an HC04...........then the output of the HC04 should be connected to the clock inputs of the 7210 and 7220. Do I need to put some resistors in somewhere.....and what sort of values?
__________________
Regards
Fin
  Reply With Quote
Old 20th July 2006, 11:40 AM   #9
diyAudio Member
 
Join Date: Dec 2001
Location: Eindhoven
Quote:
Originally posted by Fin



Thanks Guido

Well - I was taught by the best ;-)

So - the output from the XO2.5 will be connected directly to an input of an HC04...........then the output of the HC04 should be connected to the clock inputs of the 7210 and 7220. Do I need to put some resistors in somewhere.....and what sort of values?
Hello Fin

I'd say from clock out to 2 HC04 buffers. Frome there with each 47 ohm in series to the SAA chips

succes
__________________
Guido Tent
www.Tentlabs.com
  Reply With Quote
Old 20th July 2006, 12:15 PM   #10
Fin is offline Fin
diyAudio Member
 
Fin's Avatar
 
Join Date: Dec 2003
Location: -
Hi Guido

That makes it all clear for me.

Thanx
__________________
Regards
Fin
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
How to distribute one audio Signal. moenviconer Everything Else 1 27th July 2008 09:22 PM
How Not to Distribute a Clock Ulas Digital Source 34 7th July 2006 10:49 AM
distribute S/PDIF or I2S, passive? tschrama Digital Source 14 23rd May 2003 12:22 AM


New To Site? Need Help?

All times are GMT. The time now is 01:23 AM.

Page generated in 0.11837 seconds (84.98% PHP - 15.02% MySQL) with 10 queries

Copyright ©1999-2012 diyAudio