ΣSigmaStudio Ask AI Русский Log in

Clock Routing

SigmaDSP & SigmaStudio nneu Jul 23, 2018 00:00 9 replies Original on forum ↗
Subscribe
nneu Question
Jul 23, 2018 00:00

Hi !

I recently started designing an ADAU1466 based DSP board. After first considering the standard AD1938 as codec, i quickly diverted to separate ADC and DACs (Cirrus Logic in this case).

Having respected every single design rule suggested by Analog Devices (and Cirrus Logic respectively), i feel quite confident about my design.

However, there is one question or "audiophile driven worry" that i would like to seek guidance for; the master clock trace (or CLKOUT trace; the DSP is master).

1. Question: Fanout buffer

Is a fanout buffer necessary for the CLKOUT trace ? The ADAUs data sheet mentions that it is able to drive multiple ICs but is rather vague on the implications.

On my board, all three ICs that need to be driven are within a 1,5 inch radius from the ADAU, so im wondering if the buffer will really provide any benefit or possibly even make things worse.

If a buffer is recommended, i would be highly appreciative of a particular suggestion.

2. Question: routing

I've read some papers on routing of high speed traces; clock trace being sandwiched in between two ground planes, surrounded by via connecting the two, as few changes in layers as possible, etc.

Those seem to be difficult to incorporate in my design. I have planned a six layer PCB with the following stackup:

-Top

-GND

-A_3V3

-D_3V3

-DVDD (Plane only covering the needed area underneath the DSP and according V-reg)

-Bottom

The suggested routing method would therefore cause planes to be split.

On the other hand, the EVAL-ADAU1466 board seems to take a more liberal approach routing the CLKOUT line; altering layers five times before reaching the AD1938.

Given that the fanout buffer is not needed, how should the Clock line be routed ? On which layer ? Should i route the trace to every IC separately, going out from the ADAUs CLKOUT pin, or should i place all ICs on a single trace carrying the signal ?

Thanks in advance !

Noel

Audio Signal Processors

adc

masterclock

buffer

ad1938

clkout

Integrated/Special Purpose A/D Converters

routing

pcb

SigmaDSP Audio Processors

layout

Audio CODECs

adau1466

dac

Show More

nneu Reply
Jul 29, 2018 00:00

Hello again.

"Analog Devices product experts normally answer questions very quickly, sometimes within minutes of posting."

in regards to the above Analog Devices quote, i find it quite disappointing that no help or feedback is given at all.

Especially since i was redirected to this community after having contacted analog devices directly.

joe42 Reply
Jul 30, 2018 00:00

I can certainly understand your disappointment. Quick replies from ADI would be quite valuable.

I'll do my best, though I'm just another engineer.

In my experience, driving 3 chips with the clock, unbuffered, should be no problem, especially since they are nearby. And you can drive them all with one trace, really anywhere you want. 12.288MHz isn't really 'high speed' in most design situations. (Even 24MHz if you use that.)

I've also found 4 layer designs to be perfectly fine, if you want to reduce costs. With some care it's not hard to designate different areas for AVDD and DVDD.

DaveThib Reply
Jul 30, 2018 00:00

Hello NNEU,

Sorry for the slow response. I have had several high priority projects recently and have not had the time to devote to the forum.

It is important to have a ground or power layer right next to the signal layers. This is where the electrostatic return currents will be travelling on so having only a partial plane on layer 5 is probably not the best.

If you go to a 4-layer board and combine the AVDD and DVDD as joe42 suggests, then take care to try to route the digital traces only over the DVDD part of the power plane. Crossing over between the AVDD and DVDD can cause some noise issues. Chances are they will not be bad enough to cause a problem but if it can be avoided it is a good idea. Any layout is always fraught with decisions and what is worse to do since trying to follow all the "rules" is usually not possible. I always try to thing of things like return signal currents, return currents from stray capacitance and then from electrostatic currents from the edges of the clocks. These last two are pretty much the same issues. So that usually helps me decide what to do.

For the clkout buffer question. If they are that close then I do not think you need a buffer. I would add a dampening resistor on the clckout signal to help reduce reflections. The pins on this part have adjustable drive strength and slew so they should have no problems driving three loads. Your question about how to run the signal is difficult to answer without seeing the actual PCB layout. If all the traces are fanned out from the CLKOUT pin and are of similar length then you will get three reflections back all at about the same time. This will probably cause a high over and under-shoot condition to exist. So there is an argument for a single trace with a branch off of the trace to go to the next part on the way to the furthest part. Then the reflections will be skewed in time.

Your question about drive capabilities. This is listed in Table 4 in the datasheet under the Digital Output section.

Dave T

nneu Reply
Aug 2, 2018 00:00

Hi Dave, Hi Joe,

Thank you for both of your helpful answers !

It is important to have a ground or power layer right next to the signal layers. This is where the electrostatic return currents will be travelling on so having only a partial plane on layer 5 is probably not the best.

Expanding the plane to cover the entire board is not an issue. Actually - from what i understand - that would work quite nicely; if i route CLKOUT on the bottom layer, the trace would be right next to the DVDD plane.

I've also found 4 layer designs to be perfectly fine, if you want to reduce costs. With some care it's not hard to designate different areas for AVDD and DVDD.

Speaking of cost and performance; cost is not really an issue in this case. I'm aiming for maximum performance.

Another question in regards to this topic: I've seen a couple of Implementations with the ADAU1452 (so equally relevant to the ADAU), some practice extensive bypassing of each supply pin by the suggested 100nF ceramics and an additional 10uF electrolytic for each pin.

The evaluation boards data sheet suggests using one electrolytic per type of supply ( AVDD, DVDD, A_3V3 etc.)

Will extensive bypassing as described above improve performance ?

I will share a picture of the layout at a later stage, in the meantime i would be thankful for further clarification on the above questions.

Best regards,

Noel

joe42 Reply
Aug 3, 2018 00:00

Extensive bypassing is good practice but won't necessarily improve performance (maybe a bit on the analog power side). It more prevents glitches and things going wrong. It's not unusual to bypass power pins with 10nF, 100nF, and 1uF, then with 10uF elsewhere, to be really safe. A couple of extra small capacitors is trivial cost and board space.

nneu Reply
Aug 5, 2018 00:00

I've finished a preliminary layout; i would appreciate any feedback or suggestions for improvements.

Thanks !

ed640ad2b18c4b682753774d9635d36e.png
ed640ad2b18c4b682753774d9635d36e.png
ed640ad2b18c4b682753774d9635d36e.png-1600x1564.png
ed640ad2b18c4b682753774d9635d36e.png-1600x1564.png
bb0d8802b6a14a6d9c0353ea16eaff2d.png
bb0d8802b6a14a6d9c0353ea16eaff2d.png
bb0d8802b6a14a6d9c0353ea16eaff2d.png-1600x1564.png
bb0d8802b6a14a6d9c0353ea16eaff2d.png-1600x1564.png
8b0bcce449c000c64d9a857ea48c83c1.png
8b0bcce449c000c64d9a857ea48c83c1.png
8b0bcce449c000c64d9a857ea48c83c1.png-1600x1564.png
8b0bcce449c000c64d9a857ea48c83c1.png-1600x1564.png
6c202a175a774914faaaa6911acfb899.png
6c202a175a774914faaaa6911acfb899.png
6c202a175a774914faaaa6911acfb899.png-1600x1564.png
6c202a175a774914faaaa6911acfb899.png-1600x1564.png
01df616ba835b1958c1bd746d6bc5612.png
01df616ba835b1958c1bd746d6bc5612.png
01df616ba835b1958c1bd746d6bc5612.png-1600x1564.png
01df616ba835b1958c1bd746d6bc5612.png-1600x1564.png
0f57e3675ef51441971c883baef09fd8.png
0f57e3675ef51441971c883baef09fd8.png
0f57e3675ef51441971c883baef09fd8.png-1600x1564.png
0f57e3675ef51441971c883baef09fd8.png-1600x1564.png
joe42 Reply
Aug 6, 2018 00:00

I didn't review it thoroughly but it looks OK from what I can see. I'd move your GND vias very close to the board though, rather than after the caps. I think some of the datasheets show layout suggestions.

nneu Reply
Aug 8, 2018 00:00

Hi Joe,

Would you recommend a ground fill on the top and bottom layers ?

If yes, would one via per unconnected piece be sufficient of should i spread vias evenly on the planes ?

Best regards !

joe42 Reply
Aug 8, 2018 00:00

Ground fills are probably a good idea. Most designers scatter vias throughout to connect the planes but I'm not sure it matters all that much. There should be multiple connections though.