Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 3 1 2 3 >
Topic Options
#321772 - 27/04/2009 19:16 Wireless SPDIF Anyone?
maczrool
pooh-bah

Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
Since things have slowed down quite a bit with Empeg related tasks, I've turned to developing some related audio bits. One such device is an SPDIF wireless transmitter. It has TOSLINK on both receiver and transmitter and is about 1 inch square including chip antenna. It's only a prototype so far but at least it works. I need to work on improving the range (about 5-10 meters through floors and walls) and make it auto select sample rates, but otherwise it seems to be great.

The nice thing about it is that it does not depend on any particular application like the Airport Express and also is lossless with error correction.

Stu
_________________________
If you want it to break, buy Sony!

Top
#321775 - 27/04/2009 19:25 Re: Wireless SPDIF Anyone? [Re: maczrool]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Dude.
_________________________
Tony Fabris

Top
#321778 - 27/04/2009 19:35 Re: Wireless SPDIF Anyone? [Re: tfabris]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Originally Posted By: tfabris
Dude.

Where's my wireless S/PDIF?

Top
#321796 - 28/04/2009 07:21 Re: Wireless SPDIF Anyone? [Re: maczrool]
pedrohoon
enthusiast

Registered: 06/08/2002
Posts: 333
Loc: The Pilbara, Western Australia
That sounds interesting, please keep us informed of progress!

How is it powered?

Also, when you feel the product is mature enough, the folks here may be interested.
_________________________
Peter.

"I spent 90% of my money on women, drink and fast cars. The rest I wasted." - George Best

Top
#321827 - 29/04/2009 15:36 Re: Wireless SPDIF Anyone? [Re: pedrohoon]
maczrool
pooh-bah

Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
Originally Posted By: pedrohoon
That sounds interesting, please keep us informed of progress!

How is it powered?

Also, when you feel the product is mature enough, the folks here may be interested.


Thanks. Currently it's powered by a wall-wart type supply. See attached picture.

Stu


Attachments
IMGP1439.jpg




Edited by maczrool (29/04/2009 15:36)
_________________________
If you want it to break, buy Sony!

Top
#321828 - 29/04/2009 15:45 Re: Wireless SPDIF Anyone? [Re: maczrool]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
That is so a better idea than Bluetooth A2DP SBC for wireless headphones. (Or is it too power-hungry for battery applications?)

Peter

Top
#321829 - 29/04/2009 16:21 Re: Wireless SPDIF Anyone? [Re: peter]
maczrool
pooh-bah

Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
The power level is adjustable in firmware and is purported to be better in terms of power usage than Bluetooth with better audio peroformance to boot. I have it set to maximum power for my application though. It uses about 17 mA at this setting for transmitting and 23 mA for receiving. At the lowest setting, this drops to 15 mA for TX with a 20 dB drop in signal.

It would be cool to see something like this in headphones for sure.

Stu
_________________________
If you want it to break, buy Sony!

Top
#321833 - 29/04/2009 17:19 Re: Wireless SPDIF Anyone? [Re: peter]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Also the difference in processing an A2DP stream vs. versus the variety of audio streams that SPDIF can encapsulate.
_________________________
Bitt Faulk

Top
#321852 - 30/04/2009 12:15 Re: Wireless SPDIF Anyone? [Re: wfaulk]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: wfaulk
Also the difference in processing an A2DP stream vs. versus the variety of audio streams that SPDIF can encapsulate.

Well, I wouldn't expect it to do forms of SPDIF other than stereo PCM, and stereo PCM is surely easier to deal with than SBC. (Of course even SBC is trivial when compared to the radio modulation, but the chip used presumably internalises all that complexity.) I'm sure 95% of users would be happy with just 44.1KHz/16bit stereo PCM, and adding 48/16 would clean up most of the other 5% (i.e. the DAB/DVB listeners). People who want 96/24 can be accommodated at an alternative price point wink

Peter

Top
#321853 - 30/04/2009 12:46 Re: Wireless SPDIF Anyone? [Re: peter]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I'm not sure if there is any handshaking on an SPDIF connection — I suspect there's not — or, if there is, how it might work. What would happen if a different stream was sent? If the headphones assumed PCM, it would be noise. If it doesn't assume, then we're back to processing it at least enough to recognize whether it's PCM or not.

All of that may be cheap, but I don't know.
_________________________
Bitt Faulk

Top
#321854 - 30/04/2009 13:05 Re: Wireless SPDIF Anyone? [Re: wfaulk]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: wfaulk
I'm not sure if there is any handshaking on an SPDIF connection — I suspect there's not — or, if there is, how it might work.

It's not handshaking as such -- the receiver doesn't get to tell the sender what it's capable of -- but the stream is self-describing. Unless either the sender or the receiver is Doing It Wrong, non-PCM streams can't be misinterpreted as PCM.

Peter

Top
#321855 - 30/04/2009 14:14 Re: Wireless SPDIF Anyone? [Re: peter]
maczrool
pooh-bah

Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
If anyone is interested in reading more about this, the chip I'm using is the Nordic nRF24Z1 . It supports up to 24-bit (with compression) or 16-bit uncompressed 48 kHz and S/PDIF or I2S and also wireless SPI and I2C for control.

Currently I am dealing with a frustrating problem of the device not working with anything but 44.1 kHz sampling rates no matter how it's programmed. It may be that it only does 44.1 kHz over S/PDIF and I have to resort to using I2S via S/PDIF receiver and transmitter ICs to get the other supported rates.

Stu
_________________________
If you want it to break, buy Sony!

Top
#321932 - 03/05/2009 11:50 Re: Wireless SPDIF Anyone? [Re: maczrool]
pedrohoon
enthusiast

Registered: 06/08/2002
Posts: 333
Loc: The Pilbara, Western Australia
Any chance of an option to power the transmitter via USB?

I can see this as being a good way to play music stored on a laptop for example.
_________________________
Peter.

"I spent 90% of my money on women, drink and fast cars. The rest I wasted." - George Best

Top
#321936 - 04/05/2009 01:25 Re: Wireless SPDIF Anyone? [Re: pedrohoon]
maczrool
pooh-bah

Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
Originally Posted By: pedrohoon
Any chance of an option to power the transmitter via USB?

I can see this as being a good way to play music stored on a laptop for example.


Funny you should ask wink . The first design was mainly a proof of concept; it works! Yes, the next design which I started yesterday actually will feature USB and TOSlink connectivity on the transmitter end as well as some enhancements to the layout to both ends.

Now I have to decide whether it's worth it to buy a $2000 license for a USB vendor ID!

Stu
_________________________
If you want it to break, buy Sony!

Top
#321944 - 04/05/2009 18:51 Re: Wireless SPDIF Anyone? [Re: maczrool]
altman
carpal tunnel

Registered: 19/05/1999
Posts: 3457
Loc: Palo Alto, CA
Heh, you could always borrow the empeg one. Pretty sure that isn't going to get re-used, so you could use invent a new PID and use the empeg VID smile

After all, each empeg owner obviously paid a little less than $0.50 toward the VID fund!

Hugo

Top
#321949 - 04/05/2009 19:58 Re: Wireless SPDIF Anyone? [Re: altman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Cool.. Perhaps I'll do that for my Frankenswitch controllers, too!

I want dibs on DIDs 32->48 !

Top
#321997 - 06/05/2009 14:32 Re: Wireless SPDIF Anyone? [Re: maczrool]
sn00p
addict

Registered: 24/07/2002
Posts: 618
Loc: South London
Originally Posted By: maczrool

Now I have to decide whether it's worth it to buy a $2000 license for a USB vendor ID!


Something that has particularly annoyed me, we have our own VID but spending $2k on a number is just a tad outrageous, now if somebody at the USB organisation went and looked at the the mechanism that the IEEE use for MAC addresses then it would be a far more pleasant purchasing experience.

Top
#322006 - 06/05/2009 15:57 Re: Wireless SPDIF Anyone? [Re: sn00p]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Originally Posted By: sn00p
Something that has particularly annoyed me, we have our own VID but spending $2k on a number is just a tad outrageous, now if somebody at the USB organisation went and looked at the the mechanism that the IEEE use for MAC addresses then it would be a far more pleasant purchasing experience.

You still have to pay the IEEE for an OUI or IAB. It is just cheaper if you're not going to be making many devices as an IAB is 1/3 the price of an OUI.

Top
#322010 - 06/05/2009 16:49 Re: Wireless SPDIF Anyone? [Re: tman]
sn00p
addict

Registered: 24/07/2002
Posts: 618
Loc: South London
Originally Posted By: tman
Originally Posted By: sn00p
Something that has particularly annoyed me, we have our own VID but spending $2k on a number is just a tad outrageous, now if somebody at the USB organisation went and looked at the the mechanism that the IEEE use for MAC addresses then it would be a far more pleasant purchasing experience.

You still have to pay the IEEE for an OUI or IAB. It is just cheaper if you're not going to be making many devices as an IAB is 1/3 the price of an OUI.


Yes, I'm aware of that, but you can purchase MAC addresses in much smaller blocks for a much smaller fee, what a brilliant idea.

How many companies who purchase a VID actually use all 65535 PID's available to them? How many just use a handful, say up to 32?

Sub licensing blocks of PID's would be a good thing for everybody.

Top
#322013 - 06/05/2009 17:24 Re: Wireless SPDIF Anyone? [Re: sn00p]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Originally Posted By: sn00p
Yes, I'm aware of that, but you can purchase MAC addresses in much smaller blocks for a much smaller fee, what a brilliant idea.

How many companies who purchase a VID actually use all 65535 PID's available to them? How many just use a handful, say up to 32?

Sub licensing blocks of PID's would be a good thing for everybody.

It isn't quite the same however. If you have an IAB then you're limited to 4096 devices in total. If you have a VID with a tiny PID block you can reuse that as many times as you want.

Sub licensing PIDs would make sense though but there would have to be some incentive not to just buy lots of little blocks if you're a big manufacturer.

Top
#322017 - 06/05/2009 17:59 Re: Wireless SPDIF Anyone? [Re: sn00p]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Originally Posted By: sn00p
Sub licensing blocks of PID's would be a good thing for everybody.

FTDI apparently offers that concept to users of their chips: unique DIDs under FTDI's VID.

Sensible.

Top
#322019 - 06/05/2009 18:06 Re: Wireless SPDIF Anyone? [Re: mlord]
sn00p
addict

Registered: 24/07/2002
Posts: 618
Loc: South London
Originally Posted By: mlord
Originally Posted By: sn00p
Sub licensing blocks of PID's would be a good thing for everybody.

FTDI apparently offers that concept to users of their chips: unique DIDs under FTDI's VID.

Sensible.


They do indeed, we have in the past used FTDI chips in products where we've used microcontrollers that do not have USB built in.

Microchip also provide PIDs (for free) for products if you are using a PIC with USB, you just fax over a form and in return you get some PIDs allocated to you.

Just a shame that the people at the top (the USB-IF) want to charge $2k for a huge block that for most people is way over the top. (And it's also delightfully described as an "admin fee")

Top
#322046 - 07/05/2009 02:16 Re: Wireless SPDIF Anyone? [Re: sn00p]
maczrool
pooh-bah

Registered: 13/01/2002
Posts: 1649
Loc: Louisiana, USA
So is it permissible to sell a product that spits out a default PID from the manufacturer of a USB IC or is it mandated that all commercial USB based products have a unique PID? From what I've read it depends on the marketing of the prpduct and its use of the USB logo.

Stu
_________________________
If you want it to break, buy Sony!

Top
#322047 - 07/05/2009 04:12 Re: Wireless SPDIF Anyone? [Re: maczrool]
sn00p
addict

Registered: 24/07/2002
Posts: 618
Loc: South London
Originally Posted By: maczrool
So is it permissible to sell a product that spits out a default PID from the manufacturer of a USB IC or is it mandated that all commercial USB based products have a unique PID? From what I've read it depends on the marketing of the prpduct and its use of the USB logo.

Stu


No, some of the "big boys" have agreements with the USB-IF that allows them to sub-license their VID to customers, in every single instance I've seen this done it's been for free and there is no charge. However, it always involves requesting your PID's (or block) from the manufacturer, it's a painless process and much less painless than handing over $2K.

You can pay your straight $2K and forego the signing of the agreement that allows you to use the "USB Logo" after your product has passed compliance testing, we went down this avenue, couldn't give a monkey if we can use the fancy USB logo on the product or not, the license agreement runs for 1 or 2 years (can't remember which) after which time you need to pay the "admin" fee again to be able to continue using the USB logo - although your VID is yours forever.

Everybody can apparently sub licence PIDs, I've seen the request page to do so on the USB-IF site, but it's on a specific product by product basis and you have to give quite a lot of detail out about it and I think that you have to be the "developer" of the product for a third party.

If you can get away with using a PIC (shudder, I just got cold sweats) then provided it has a USB interface, you can get a PID for free. I'm sure there are many more microcontroller manufacturers with similar agreements in place, just none of the ones we just so happen to use.

Adrian


Edited by sn00p (07/05/2009 05:21)
Edit Reason: spelling

Top
#322048 - 07/05/2009 04:26 Re: Wireless SPDIF Anyone? [Re: sn00p]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Does anybody actually look for the USB logo when buying stuff?

The average user out there will look for the rectangular plug and whether it says USB on the box. They won't care whether it has the official USB logo on it. It isn't like the bad old days of first gen USB hardware with a million and one bugs.

Top
#322049 - 07/05/2009 05:19 Re: Wireless SPDIF Anyone? [Re: tman]
sn00p
addict

Registered: 24/07/2002
Posts: 618
Loc: South London
Originally Posted By: tman
Does anybody actually look for the USB logo when buying stuff?

The average user out there will look for the rectangular plug and whether it says USB on the box. They won't care whether it has the official USB logo on it. It isn't like the bad old days of first gen USB hardware with a million and one bugs.


Exactly, who cares about a tiny pretty logo? This is one of the reasons we decided not to trigger the logo license agreement. We just use the letters USB on documentation and stuff, the whole thing is a big con.

(Lets not also forget that the USB protocol was designed by sadists)



Edited by sn00p (07/05/2009 05:21)

Top
#322055 - 07/05/2009 11:03 Re: Wireless SPDIF Anyone? [Re: tman]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Originally Posted By: tman
Does anybody actually look for the USB logo when buying stuff?

I look rather specifically for the "Hi-Speed" logo.

Cheers

Top
#322056 - 07/05/2009 12:03 Re: Wireless SPDIF Anyone? [Re: mlord]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Originally Posted By: mlord
I look rather specifically for the "Hi-Speed" logo.


Is that the fast one? I get confused wink
_________________________
-- roger

Top
#322059 - 07/05/2009 12:24 Re: Wireless SPDIF Anyone? [Re: Roger]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
I got completely fished in by that when I got my first digital camera: something about how the spec was worded made me think it was USB2, so I went out and got a USB2 card for my laptop, but of course the camera was only USB1.

Mind you, I've never been totally pleased with USB support on cameras: the one I just got is USB2 at least, but it isn't mass-storage. (I thought, how could I have missed that on the spec sheets at dpreview.com?, but it turns out they don't even list whether cameras are mass-storage or not.) And while I'm not sure whether my first camera was designed before or after mini-USB was invented, the new one definitely doesn't have that excuse for its proprietary connector.

Peter

Top
#322060 - 07/05/2009 12:39 Re: Wireless SPDIF Anyone? [Re: peter]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Quote:
I've never been totally pleased with USB support on cameras

I've never had a problem with USB support. I leave the USB cable in the box and buy a card reader, like any(I thought) sane person.

Top
Page 1 of 3 1 2 3 >