Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Login


Options
View
Go to last post Go to first unread
usmat  
#1 Posted : Tuesday, May 10, 2011 5:54:39 AM(UTC)
usmat

Rank: Advanced Member

Groups: Member
Joined: 5/4/2011(UTC)
Posts: 34
Location: Southbury, CT, USA

1) Is it OK to connect both I2s and consumer SPDIF simultaneously using the following connections :

SPDIF RCA Plug In ---> SPDIF in B2

I2s Bit Clock ---> DCK in B2
I2s Word Clock ---> D1 in B2
I2s Data ---> D2 in B2

and use a relay to switch in I2s ground and SPDIF ground to GND in B2.


OR


2) Do I have to select one set of inputs using relays or a mux.


Selection between I2s and SPDIF done using SPDIF switch or I2C control.

Thanks
Simmonds
glt  
#2 Posted : Tuesday, May 10, 2011 11:21:00 AM(UTC)
glt

Rank: Member

Groups: Member
Joined: 11/9/2007(UTC)
Posts: 453
Location: usa

#1 will not work for many reasons, but the main one being that with the comparator switch engaged, you will be pulling low when there is no spdif signal and that pin is shared with the I2S input.

#2- I will do some experiments and report back...
usmat  
#3 Posted : Tuesday, May 10, 2011 11:35:27 AM(UTC)
usmat

Rank: Advanced Member

Groups: Member
Joined: 5/4/2011(UTC)
Posts: 34
Location: Southbury, CT, USA

Quote:
#1 will not work for many reasons, but the main one being that with the comparator switch engaged, you will be pulling low when there is no spdif signal and that pin is shared with the I2S input.


Other than ground is the consumer level SPDIF pin on the B2 shared with an I2S input pin?

Simmonds
glt  
#4 Posted : Tuesday, May 10, 2011 12:28:48 PM(UTC)
glt

Rank: Member

Groups: Member
Joined: 11/9/2007(UTC)
Posts: 453
Location: usa

The consumer level spdif pin feeds a comparator, the comparator (through the switch) feeds D1 (or D2 one of those pins)

This is the experiment I have in mind (all I need is some "desire" to go and do it :-)):

Since I use TTL spdif, I don't need to use the comparator. If you need to use the comparator, you can tap the output of the comparator at the input side of the switch.

1- Use a single pole double throw switch
2- Connect Spdif and corresponding I2S to the switch
3- Connect spdif gnd and i2s gnd to BII gnd (both my spdif and i2s are from the same board, so the GND are already shared
4- Connect remaining I2S lines to corresponding BII pins

5- Select SPDIF or I2S with switch, Select SPDIF or I2S in Arduino

Edited by user Tuesday, May 10, 2011 12:37:08 PM(UTC)  | Reason: Not specified

usmat  
#5 Posted : Tuesday, May 10, 2011 12:59:14 PM(UTC)
usmat

Rank: Advanced Member

Groups: Member
Joined: 5/4/2011(UTC)
Posts: 34
Location: Southbury, CT, USA

Thanks glt. Is the comparator in the ES9018? Trying to find the B2 schematic and ES9018 datasheet.

Simmonds
Brian Donegan  
#6 Posted : Tuesday, May 10, 2011 1:07:30 PM(UTC)
Brian Donegan

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 2,868
Location: Massachusetts, USA

Thanks: 2 times
Was thanked: 141 time(s) in 134 post(s)
the comparator is next to the SPDIF switch ion the BII board.
usmat  
#7 Posted : Tuesday, May 10, 2011 1:10:37 PM(UTC)
usmat

Rank: Advanced Member

Groups: Member
Joined: 5/4/2011(UTC)
Posts: 34
Location: Southbury, CT, USA

Thanks Brian.

Simmonds
glt  
#8 Posted : Tuesday, May 10, 2011 10:55:53 PM(UTC)
glt

Rank: Member

Groups: Member
Joined: 11/9/2007(UTC)
Posts: 453
Location: usa

I did the experiment for switching i2s <-> spdif with a 1 pole 2 throw switch and s/w switching.

It works as I expected. Both I2S and SPDIF signals are live at all times. However you must follow a switching sequence in order to avoid noise:

Case 1: switching to spdif (i2s is now playing): s/w switch first and then h/w switch
Case 2: switching to i2s (spdif is playing): h/w switch first and then s/w switch

For case 1 if you switch the h/w switch first, you will get noise, because the DAC doesn't know you switched to spdif and the other input lines have data
For case 2 if you switch the s/w switch first, then the DAC thinks all data lines are spdif when they are not.

Thus, even thought the solution works, it is not optimal as one cannot follow this sequencing every time. However, if one does everything in s/w (that is, using a relay), then you can automate the sequence.

But if you are going the s/w mode, might as well use a 4-pole relay and switch all the lines...

Hope this helps....
usmat  
#9 Posted : Wednesday, May 11, 2011 5:34:19 AM(UTC)
usmat

Rank: Advanced Member

Groups: Member
Joined: 5/4/2011(UTC)
Posts: 34
Location: Southbury, CT, USA


Thanks. This would work great to A/B between I2S and SPDIF.

But ....

If the commercial SPDIF is not active, and the I2S is not active i.e. no music being played through both interfaces.
Then the output of the SPDIF comparator is held low as you mentioned, so selecting I2S or SPDIF using the existing B2 switch is all that's needed to select one of the 2 interfaces for playback, correct?

BTW I haven't been successful in finding the B2 schematic, so what kind of switch is being used?

Simmonds
usmat  
#10 Posted : Wednesday, May 11, 2011 5:52:40 AM(UTC)
usmat

Rank: Advanced Member

Groups: Member
Joined: 5/4/2011(UTC)
Posts: 34
Location: Southbury, CT, USA


I found this DIYAUDIO LINK.

OK, if the B2 works this way, then I understand the further requirement for a mux or SPDT. I was under the impression that the existing switch was a DPDT switch, which would make my life easier.

Simmonds
glt  
#11 Posted : Wednesday, May 11, 2011 8:44:33 AM(UTC)
glt

Rank: Member

Groups: Member
Joined: 11/9/2007(UTC)
Posts: 453
Location: usa

Yes, in BII the switch is just an on-off switch. It also requires s/w control.
InfiniteGain  
#12 Posted : Saturday, May 14, 2011 5:48:46 AM(UTC)
InfiniteGain

Rank: Member

Groups: Member
Joined: 6/17/2010(UTC)
Posts: 18
Location: UK

Hi,

I've been looking round for a digital MUX that does both i2s and spdif.

This appears to have SPDIF passthrough, and i2s goes to an internal engine which can be programmed, which probably includes coding to allow passthrough to the i2s out:
http://www.tridentmicro....M-MSP-M-Brief-10037D.pdf

My concern would be the possible introduction of phase noise and the complexity in doing this digitally. The SPDIF input could be used to feed the digital engine, don't perform A/D in it, just take the conversion to i2s and send that through to the B2.

Looks an interesting chip, but I literally only just found it shortly after reading this thread, so I cannot confirm compatibility. I will need a good long hard look at it, possibly see if I can acquire one and then have a 'play'.
Russ White  
#13 Posted : Saturday, May 14, 2011 6:41:26 AM(UTC)
Russ White

Rank: Administration

Groups: Administration, Customer
Joined: 10/24/2006(UTC)
Posts: 3,979
Location: Nashville, TN

Thanks: 25 times
Was thanked: 89 time(s) in 83 post(s)
All you really need are a couple of relays like G6K. :)
InfiniteGain  
#14 Posted : Sunday, May 15, 2011 9:48:46 AM(UTC)
InfiniteGain

Rank: Member

Groups: Member
Joined: 6/17/2010(UTC)
Posts: 18
Location: UK

I need a few more 'features' that I cannot get with a relay.
Rss Feed  Atom Feed
Users browsing this topic
GuestUser (15)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.