My failed attempt at an S/PDIF output board

Posted by: maczrool

My failed attempt at an S/PDIF output board - 19/05/2002 22:23

I installed the thing in the RIoCar this afternoon, but the board refuses to work. Voltages seem fine throughout the board, the oscillator is oscillating at 11.2896 MHz like it should, the critical jumpers are set to the proper positions, and the inputs are wired to the RioCar accodring to an earlier post by Hugo. It's being fed +5 volts from the RioCar board off of one of the jumpers. I can't find any shorts or improperly connected components. I only have a six inch lead off of the IIS pads. That shouldn't necessitate a buffer circuit should it? Other than that, the only thing left is to try and concoct some sort of reset circuit, as that pin is currently floating, but I have my doubts that is going to work. I'm not beat yet, but I am feeling very frustrated. On the plus side, the Rio still works.

Anyway, here are some pics so you can at least see what I've been working on.

Pic 1
Pic 2
Pic 3

Stu
Posted by: Speedy

Re: My failed attempt at an S/PDIF output board - 19/05/2002 23:08

I imagine that the reset is probably needed. As a quick test jumper that pin low before power on and high after power on. The eval board has a RC network through a CMOS buffer.

A quick look at the datasheet shows that Cirrus Logic offers a free design review service. Maybe they would be so kind as to help you out and have a look at it. Never hurts to ask I think...

Ryan
Posted by: Shonky

Re: My failed attempt at an S/PDIF output board - 20/05/2002 00:28

I haven't been following closely, but I remember you mentioned something about floating the reset line - I assumed the datasheet had said this was OK. This would definitely not be recommended unless the datasheet says the device has an internal pullup or internal reset circuitry of it's own. At the very least you should have a resistor pulling up or down dependant on whether reset is active low or high respectively. Even then a simple RC network should probably work OK.

From a fair bit of embedded EMC work, reset lines are also some of the worst culprits when it comes resets induced by external EMC. I would never ever leave one floating.

How different is the design from the eval board? In most cases (definitely not all though) eval boards are fairly well designed and if you copy them you almost always get at least something working.

6 inches isn't real short and I wouldn't want that in practice but for mucking around with a first go board, it should work.

Edit: If you don't mind send me the schematic and I'll have a look for you. Do you have a DSO?
Posted by: andym

Re: My failed attempt at an S/PDIF output board - 20/05/2002 09:07

Is there something wrong with the server hosting your pics, or has it succumbed to the slash-dot effect? I've tried half-a-dozen times to view them without getting anywhere...
Posted by: tonyc

Re: My failed attempt at an S/PDIF output board - 20/05/2002 09:14

Works for me ...
Posted by: maczrool

Re: My failed attempt at an S/PDIF output board - 20/05/2002 11:08

I don't know what the deal is. Maybe a DNS issue. Not sure. If it helps, it's my own personal server in the house. All I can say is, it works from this end. I'll post the pictures on the BBS.

Stu
Posted by: maczrool

Re: My failed attempt at an S/PDIF output board - 20/05/2002 11:09

Pic 2
Posted by: maczrool

Re: My failed attempt at an S/PDIF output board - 20/05/2002 11:11

Pic 3
Posted by: maczrool

Re: My failed attempt at an S/PDIF output board - 20/05/2002 12:37

I am going to try a jumper as you suggest. I also thought about turning to the design review service. If nothing else works, I'll try that.

Thanks,
Stu
Posted by: andym

Re: My failed attempt at an S/PDIF output board - 20/05/2002 13:18

Just got home and found it works on my cable modem. Damn and blast the BBC and their shoddy internet connection! Thanks for taking the time to resend the piccies!
Posted by: maczrool

Re: My failed attempt at an S/PDIF output board - 21/05/2002 19:50

I tried the circuit with a a single pole, double throw switch to both ground and +5 volts with a 47k resistor in line with the +5 volts (as is done in all other cases on the eval board) to the RST pin. It still doesn't want to work, but the interesting thing is that when the RST pin is high, I now get a low level, high pitched digital buzzing noise from my DAC. That may mean I'm getting closer. Any other suggestions? I'll try posting the exact schematic as best I can later. I am going to continue to make adjustments to the jumpers and see if that helps.


Stu
Posted by: altman

Re: My failed attempt at an S/PDIF output board - 22/05/2002 05:27

If you send me your cct diagram (in some form I can read: I can read ranger 2 or orcad... or pdf!) then I can check it against the Rio Central cct diagram, which also uses a CS8405 - albeit in software mode. Might be able to help...

Hugo
Posted by: snowwhite

Re: My failed attempt at an S/PDIF output board - 22/05/2002 08:43

I'm pretty sure the clk for this chip must be in phase with the audio clk and it looks like you are using a separate xtal for the job, which won't work. I mentioned this in one of the other chains and Hugo suggested that the 11.2896Mhz could be picked up on the main PCB but he had brought the signal out to a pad.

I also remember that this chip is a bugger to configure as many of the options have interdependencies. If you post your config pin state I'll try and verify against the datasheet. Also what are you 'talking' to, is it an amp, minidisc or PC with digital in. Do you have another device with digital out to make sure those devices are working ok? Have you put a scope on the coax out to see if a carrier signal is present (I'm pretty sure it should be even with no input to the chip)?

Does the receiving device display any messages, it's not complaining about the serial copy protection bit?


Posted by: maczrool

Re: My failed attempt at an S/PDIF output board - 22/05/2002 10:26

Good point on the oscillator. I just assumed since the onboard (on my board that is) oscillator is 256x the sampling rate that it would work. I was beginning to think along those lines myself. I read the post on the mainboard crystal, but will reread it. I will also try tapping into the Empeg's Xtal.

I will post the pin config later today and also a schematic cludged up from the Crystal PDF. Unfortunately, I don't have a scope that works properly. I have been connecting the output on the board to a "Flying Cow" D/A/D converter. It has a valid data indicator, which never illuminates when the output board is connected to it. It's beginning to sound as if I have bitten off more than I can chew. But I'll keep trying.

Stu
Posted by: maczrool

Re: My failed attempt at an S/PDIF output board - 24/05/2002 10:52

Here is a schematic of the S/PDIF board. This is the best I could come up with given the tools I have to work with, but it is an accurate representation of the board as it is currently setup. I was unsure about a lot of the settings on the chip, so if any stick out as incorrect for the consumer S/PDIF format let me know. All jumper settings are indicated by the red elipses.

Thanks for everyone's help.

Stu

Please disregard the schematic attached to this message. It has a minor error on the Pin 1 label which should read "COPY/C" not "CDOUT". Here is a link to the proper schematic.