Question about DIR1703

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hi,
I have built a DAC with DIR1703 and AD1864 to play 44.1kHz 16bit CDs
My plan was to use the Current output mode for AD1864 into a I-V tube converter.
The problem: At Iout from AD1864, both channels looks very saturated.

Below, the scheme.
- load for Iout = 100 ohms
- all inverters 74HC04 at 3.3V
- R feedback for first SPDIF inverter = 22K ohms

Could someone point where is the error?
Could some of my ICs be damaged?
 

Attachments

  • esquema (medium).jpg
    esquema (medium).jpg
    47.9 KB · Views: 332
Thanks a lot!!!!!
Yes. Shure it is the problem!

Is the delay circuit that one used in Audionote DAC 1.1 ? If not, do you suggest some scheme for delay circuit?

What pins in DIR1703 are equivalent to CS8412 FSYNC, SDATA and SCLK ?

I have IC 74AC02 on hand. Can I use it at 3.3V to make the delay circuit or do I have to use the 74HC02 ? Should I use 3.3V or 5.0V ?

Thanks again
 

Attachments

  • dacschem2.jpg
    dacschem2.jpg
    57.3 KB · Views: 308
hum...
looking at DIR1703 and AD1864 datasheets, I'm in doubt if "delay LRCK by 2 BCK cycles" will work.

From AD1864 datasheet:
- The last 18 bits sent to DAC will be converted to output when LL or LR goes to "0".

From DIR1703 datasheet:
- From graphs at pag. 13 and 15, it looks each LRCKO cycle (L+R data) has a fixed 64 BCKO. So, in theory, each channel has a "space" for 32 bit data.

So, AD1864 receive last 18 bit when LL/LR goes to "0".
If I have configured DIR1703 for 16-bit MSB first, right justified, AD1864 is receiving an undefined value for 1st and 2nd MSB for his 18-bit internal register.

I dont know if playing only 16bit Cds, I can put DIR1703 to output 24-bit MSB first, right justified.
Nor, if it works, I dont know if DIR1703 would convert 16bit data to 24bit correctly
ex: 1111111111111111 (16-bit) to
00000000111111111111111111 (24-bit)
or if the 8 MSB from 24bit word would still be undefined
ex: xxxxxxxx1111111111111111

Help!
 
Because of this, I think it will work if you delay LRCLK by 2 BCK cycle provided that dir1703 is in 16 bit right justified mode. The two smallest bits would be unknown, may be zero as they would be taken from the next data frame.

SandroN said:
So, AD1864 receive last 18 bit when LL/LR goes to "0".
If I have configured DIR1703 for 16-bit MSB first, right justified, AD1864 is receiving an undefined value for 1st and 2nd MSB for his 18-bit internal register.
 
rossl said:
Since the AD1864 expects exactly 18 bits, it is neither right or left justified. It is 18-bit only justified. :D

I don't think so. Have you looked at figure 10 in the ad1864 datasheet? The timing of the rising edge of LL and LR is not important at all.

"falling edges of LL and LR cause the last 18 bits clocked into the Serial Registers to be shifted into the DACs"

This works based on a 18 bit FIFO register, I believe.

You may also note that the data format of AD1864 is exactly the same as that of AD1865. If what you said was true then AD1865 would never work with CS8412 in mode 6 (64 BCK per FSYNC and data is right justified with FSYNC edge). In fact, many commercial and DIY DACs were based on this design and they work perfectly.

Of course stop BCK is another solution to make it work.
 
quantran said:


I don't think so. Have you looked at figure 10 in the ad1864 datasheet? The timing of the rising edge of LL and LR is not important at all.

?? I didn't say it was. That is why is said left or right justified 24 bit would be usable.


quantran said:



This works based on a 18 bit FIFO register, I believe.


OK. So how do you want to make it work?

Clocking in two random bits from another data frame is not a good solution, in my opinion. That is not music.
 
I only wanted to point out that AD1864 needs 18 bit right justified format.

I believe that the first 2 bits of the next frame have fixed value. Though there is no documentation about this my best guess is that they are zero.

As such delay LRCLK by 2 BCK should work fine. Also if the DAC can get 16 larger bits right it would be quite good already.

Cheers

rossl said:


?? I didn't say it was. That is why is said left or right justified 24 bit would be usable.

OK. So how do you want to make it work?

Clocking in two random bits from another data frame is not a good solution, in my opinion. That is not music.
 
quantran said:

I only wanted to point out that AD1864 needs 18 bit right justified format.

A good solution does not need the DIR1703 to be configured in right justified.

"Right" or "Left" justified is only meanignful if there are extra bits.


quantran said:
I believe that the first 2 bits of the next frame have fixed value. Though there is no documentation about this my best guess is that they are zero.

As such delay LRCLK by 2 BCK should work fine. Also if the DAC can get 16 larger bits right it would be quite good already.

Cheers

[/B]

It would be OK only if 16 bit CD data is connected to the DIR1703.

If the user ever wants to connect DVD with a 20 or 24 bit data stream to the DAC, your solution will not give 18 bit resolution. It will give 16 bit with noise.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.