diyAudio

diyAudio (http://www.diyaudio.com/forums/)
-   Digital Source (http://www.diyaudio.com/forums/digital-source/)
-   -   I2s Split Into Left And Right (http://www.diyaudio.com/forums/digital-source/5305-i2s-split-into-left-right.html)

guido 18th August 2002 04:12 PM

I2s Split Into Left And Right
 
Hi,

In one of the other posts, i announced i was working on splitting
the I2S signal for two DAC's. One for left channel and one for rightchannel. I am going to use this for a 2 times TDA1514 non-os
DAC, but it should work for other DACs aswell. Please no discussion here on DAC's, but only on the splitting of I2S.

I have a testcircuit working and made a small site for it.

Have a look: http://www.home.zonnet.nl/baltusg/I2S.html

The circuit contains a GAL, but without some 'features' it should be possible to use standard logic. It can 'split' the incoming I2S into two new I2S signals. One has two times left channel samples and the other right channel. So i now have a TDA1541 for left channel and one for the right channel. The outputs of one DAC can then be joined together.

One of the features is to invert one of the samples in the outgoing I2S, creating differential output at the DAC.
This inverting does not take the LSB in account, so it is one LSB off. But i think i can reprogram the GAL to fix that without much hassle. Will be in v2 soon...

Greetings,

Guido

guido 18th August 2002 05:50 PM

hi,

Had another look at differential mode. The dataline is inverted when wordselect AND the delayed wordselect are low. This means the ('left' frame is inverted, except the LSB.
Just like it should be when two's complement is to be inverted !!

BUT, my SAA7210 has a 32 bit frame, so not the LSB is 'not inverted', but the last 'dummy' bit. So i am one LSB off after all.

If i want to fix this, i would need to make something with a counter (counting to 16).

Too much hassle for now, everybody just inverts the whole dataline anyway. The DAC accuracy might be even les than 1 LSB...

But if your I2S signal does not have the 'fillers', it should be the exact inverse of a two's complement, going into the 'left' channel of both DAC's.

Greetings,

Guido

jazz 19th August 2002 12:52 PM

guido,

I don't know if it is of use to you but John westlake did something like that in the cambridge cd6. Though he used tda1305 dacs. These where used in a differential mode as well by feeding the left channel the inverted signal i think. I don't know how it works but i might have the schematic somwhere even though it will take me some time to find it (just moved). If you're interested let me know.

greetings Joris

capslock 19th August 2002 02:06 PM

Guido,

you refer to "other designs on the net". Could you provide the links?

Thanks,

Eric

rfbrw 19th August 2002 05:28 PM

Not on the net but Hifi News magazine in the UK had a design
in the September and October 1990 issues that used a pair of SAA7321 in a differential configuration.

ray

guido 19th August 2002 09:16 PM

Hi,

Eric, what are you looking for, designs with TDA1541 or designs in general with a dac in differential mode?

As for the last category, you can get a dac with differential out (most modern dacs i think) or take two mono DACs per channel and use some logic to invert the datasignal towards one DAC. The Pass D1 uses fore times PCM63 in this way.

As for the other replies. I am shure i did not invent the wheel and that there are other designs doing more or less the same. I just thought it would be an improvement to DACs with two times TDA1541.

But it could be usefull for others too.

Greetings,

Guido

rfbrw 20th August 2002 01:43 AM

A key part of not re-inventing the wheel is accepting the wheel has to be round. The fundamentals of getting from L/R to L/-L and R/-R remain the same whatever the dac or design.

ray.

capslock 20th August 2002 08:26 AM

Guido,

I am trying to do something similar to you, i.e. split up an I2S or right justified (I don't care) signal into L/-L and R/-R to feed into two AD1853s. AD suggests this can be done but fails to provide a schematic.

For the Pass D1, it was easier because the signal was inverted after the digital filter.

Eric

guido 20th August 2002 11:13 AM

Eric,

The pass uses a NPC digital filter (U5) which has separate data output for left and right. The left output is then fed to one DAC, the inverse of left to number two and the same for right channel.

So if you don't want to use such a dig filter, you need something like my circuit to split the I2S. Had a look at the CS8414. It also has 32 bit per frame. Seems to be standard.

Guess my circuit is ok to use, if we can find some bigger shift registers (hopefully 32 bit). One other possiblity is to put all of the logic into one big modern chip. I used the GAL because i had a programmer and some chips lying around. And it is easier for prototyping, modern stuff seems to be 84 pin SMD minimal..
And yes, the principal stays the same..

I am still looking into getting the inverse completely right, but it probably means more logic.

Greetings,


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


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