Go Back   Home > Forums > Source & Line > Digital Line Level
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

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 5th April 2004, 11:06 PM   #21
Bricolo is offline Bricolo  France
diyAudio Member
 
Bricolo's Avatar
 
Join Date: Nov 2002
Location: Grenoble, FR
Quote:
Originally posted by Bricolo



Guido,


What is a latch? Is is the instant when the DAC reads the input data (or outputs the analog data)?

And can't reclocking one or 2 of the I2S lines cause problems, since there will be a delay between them?

Thanks
  Reply With Quote
Old 6th April 2004, 05:06 PM   #22
guido is offline guido  Netherlands
diyAudio Member
 
guido's Avatar
 
Join Date: Mar 2002
Location: diepe zuiden
The latch is the internal register that holds the data.
The DAC has a latch that hold the bits clocked in with BCK, loading is done serial, but the internal logic will read the whole 16 bits when WS says the data is there. From there the conversion proces can start.

In the end the output changes: there will be a current during a sampleperiod that reflects the incoming data. This current will be there untill the next sample comes out of the DAC. So also some kind of (analog) latch.

The output changes when the conversion is done (indicated by WS) and on BCK (or SCK with 1541). This is done with the INTERNAL LE signal created by the logic using WS and BCK signals.

In short: the DAC clocks data in on BCK and outputs data on BCK.
So BCK should be jitter/noise free. Best is all three lines.

There are many posts on reclocking. In the datasheet you can find the timingdiagram of I2S and what is allowed an not allowed with timing.

Reclocking all would give the same delay. Reclocking only one is probably not going to hurt if the delay is small. It is allowed in the spec.

mvg,
__________________
GuidoB
  Reply With Quote
Old 6th April 2004, 06:48 PM   #23
Bricolo is offline Bricolo  France
diyAudio Member
 
Bricolo's Avatar
 
Join Date: Nov 2002
Location: Grenoble, FR
Quote:
Originally posted by guido
Now looking at the logic used.

A standard 4024 is slow, so you need to invert the clock of the '174. Otherwise the '174 would be clocking in and the 4024 hasn't clocked out yet....

delay of the 4024 is 50/60 nSec. 11.2896MHz is 88nSec, so 44nSec between clock high to low and low to high. With the
inverter you get 88nSec+inverter delay for the 4024 to output the data instead of 44nSec which is not enough.

So don't use a superfast 4024, say with a delaytime which matches the inverters delaytime. The 4024 would be clocking out while the '174 is clocking in... And the '174 needs some time that the data needs to be stable before clocking.

Faster logic isn't always better

Or if you use a superfast 4024 you could remove the inverter in the clockline of the '174. The 4024 then has 44nSec minus the '174 setuptime for dataoutput.

Fmax of a 4024 is typical 10MHz at 5V, that is less then 11.2896 And minimal is only 5MHz
(looking at philips datasheet of standard CMOS HEF familiy).

Anyone looked at this? Which logic are you using?

Greetings,

According to Henk, a 74HC4024 would fit perfectly (as a drop in replacement)
  Reply With Quote
Old 6th April 2004, 08:56 PM   #24
Bricolo is offline Bricolo  France
diyAudio Member
 
Bricolo's Avatar
 
Join Date: Nov 2002
Location: Grenoble, FR
I've looked at the 74HC74, as a replacement for the 74HC174 (but this way, no I2S line can be reclocked, at least not on the same chip)

This chip leads to a much simplier PCB layout


But I have a few questions:
-since this chip has separate reset and clock inputs, can I simply connect them together (in fact, connecting every input/output of both FFs together) ?
-reset and set have to be connected to Vcc, right? Directly or with a resistor?
-what kind of regulators and decoupling should be used for the logic and transistors?


I'm working on a PCB for it, if someone wants the eagle files I'll share them
  Reply With Quote
Old 6th April 2004, 11:27 PM   #25
guido is offline guido  Netherlands
diyAudio Member
 
guido's Avatar
 
Join Date: Mar 2002
Location: diepe zuiden
Quote:
Originally posted by Zodiac
Hi Guido,

Re the logic question...If you use syncronous dividers such as the 74HC163 then delay becomes much less of an issue compared to binary counters like the 4024 / 4040. I am using these without an inverter on the clock line to the flip flop.

Rgds.
Oops, the '163 clock is just the other way around as the 4024.
That's why there is no inverter i guess.

A HC163 has a propagation delay of 17nSec (philips). Mmm.
Check my story, maybe it is too fast ?!! i have to look at this in more detail at a later time. HC4024 is probalbly similar.

No more time for a few days (the girl is flying in and she has a higher interrupt level. It is a non maskable interrupt

I mailed Henk with a question about his implementation and my thoughts, waiting for his reply.

Yeah, i know. Sortof..
__________________
GuidoB
  Reply With Quote
Old 7th April 2004, 12:59 PM   #26
Zodiac is offline Zodiac  United States
diyAudio Member
 
Join Date: Jun 2003
Location: Kenfield, CA, USA
Question Timing, timing...

Guido,

I agree with your calculations about delay time, etc. I am using the Fairchild HC163s, propagation delay Clock to Q is 29ns. These are daisy chained (i.e. one HC163 ripple carry feeds the next HC163 clock), so the total delay is 2*29ns or 58ns.

Using an 11.2896 Mhz clock, 44ns is time between L to H and H to L transitions (i.e. 88ns total cycle time).

This leaves 58ns - 44ns = 14ns for the flip flop. In my case I use the VHC374 which needs 6ns or so (again Fairchild) setup time. That leaves 8ns spare!

I don't have any problems with this, although I have to admit I have not checked it out with a scope as I don't have one.

Rgds.

  Reply With Quote
Old 7th April 2004, 04:44 PM   #27
guido is offline guido  Netherlands
diyAudio Member
 
guido's Avatar
 
Join Date: Mar 2002
Location: diepe zuiden
Question Re: Timing, timing...

Quote:
Originally posted by Zodiac
Guido,

I agree with your calculations about delay time, etc. I am using the Fairchild HC163s, propagation delay Clock to Q is 29ns. These are daisy chained (i.e. one HC163 ripple carry feeds the next HC163 clock), so the total delay is 2*29ns or 58ns.

Using an 11.2896 Mhz clock, 44ns is time between L to H and H to L transitions (i.e. 88ns total cycle time).

This leaves 58ns - 44ns = 14ns for the flip flop. In my case I use the VHC374 which needs 6ns or so (again Fairchild) setup time. That leaves 8ns spare!

I don't have any problems with this, although I have to admit I have not checked it out with a scope as I don't have one.

Rgds.

The '163 and '374 are both clock low to high, right? And there is no inverter. That would mean that you have
88 - 58 - 6 = 24 ns spare, right?

Bottomline is that the output of the divider should not happen as the FF is clockin in. It does not matter if the DEM freq is delayed with a few clockpulses. It is not related timingwise to the I2S data clocking in. Only requirement is that it is derived from the same clock.

mvg,
__________________
GuidoB
  Reply With Quote
Old 7th April 2004, 06:16 PM   #28
Zodiac is offline Zodiac  United States
diyAudio Member
 
Join Date: Jun 2003
Location: Kenfield, CA, USA
Guido,

Yes your calculations are correct, my mistake

And the important thing is like you said - make sure the divider output does not correspond to flip flop clocking in....
  Reply With Quote
Old 7th April 2004, 06:29 PM   #29
Bricolo is offline Bricolo  France
diyAudio Member
 
Bricolo's Avatar
 
Join Date: Nov 2002
Location: Grenoble, FR
Quote:
Originally posted by Bricolo
I've looked at the 74HC74, as a replacement for the 74HC174 (but this way, no I2S line can be reclocked, at least not on the same chip)

This chip leads to a much simplier PCB layout


But I have a few questions:
-since this chip has separate reset and clock inputs, can I simply connect them together (in fact, connecting every input/output of both FFs together) ?
-reset and set have to be connected to Vcc, right? Directly or with a resistor?
-what kind of regulators and decoupling should be used for the logic and transistors?


I'm working on a PCB for it, if someone wants the eagle files I'll share them
  Reply With Quote
Old 7th April 2004, 10:37 PM   #30
Zodiac is offline Zodiac  United States
diyAudio Member
 
Join Date: Jun 2003
Location: Kenfield, CA, USA
Thumbs up OK Bricolo

For details of how to implement the '74 flip flop, see peufeu.free.fr or the datasheet!

As for decoupling, I would suggest 0.1uf or higher if you can get them ceramics, placed to minimise loop area between Vcc and Gnd.

As for power supply, I am using current sourced TL431s (again see peufeu's excellent site for details). Alternately, I have been experimenting with passive supplies...YMMV. Many logic chips will take 7v, this should theoretically give better results than the nominal 5v. I don't know if it sounds better though.

Rgds

  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
Reclocking in a TDA1541 (zero-oversampling) CD player Dr.H Digital Source 13 4th June 2010 08:35 AM
Decoder output: how jittery, worth reclocking? And "double" reclocking hollowman Digital Source 0 17th July 2009 02:39 PM
Reclocking to tda1541 pc board weegs Digital Line Level 0 13th May 2008 12:45 AM
What is the max reclocking frequency of the TDA1541 Dac gaetan8888 Digital Line Level 1 13th September 2007 01:48 PM
Reclocking diyman Digital Source 1 17th November 2006 02:03 AM


New To Site? Need Help?

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

Page generated in 0.14353 seconds (80.91% PHP - 19.09% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio