I2S to S/PDIF - Page 2 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 25th November 2012, 03:39 AM   #11
diyAudio Member
 
linuxworks's Avatar
 
Join Date: Jul 2008
Location: Santa Clara, CA
I have not used the TP board but I have built my own from perf and I used a 12mhz xtal, as exactly per the spec sheet (12 is the only choice you have in HW mode). I have not used sw mode yet but anything below and including 96k 'just automatically works' in hw mode.

maybe I got lucky with all the right i2s lines. I had to do zero work other than connect 3 clocks and 1 data to the chip, set it up as an spdif transmitter and whatever rate I put in from the audio widget, the wolfson obliged and I was able to see all the samplerates come out.

the chip is great for spdif tx.

its spdif-rx that it has limited success in, for hw mode and 176/192k.

but when you send it i2s, I have not found a SR that did not work, including 44.1
__________________
My Photostream:http://www.flickr.com/photos/linux-works/
  Reply With Quote
Old 26th November 2012, 05:18 AM   #12
diyAudio Member
 
Join Date: Aug 2010
Quote:
Originally Posted by leres View Post
I was able to get a CS8406 working but I needed to find OMCK and feed that to the CS8406 in addition to SCLK, LRCLK and SDIN. I had a lot of dropouts but I think it was because I had wires everywhere and nothing was shielded. I'm going to wire up a permanent version this weekend and see if I can make it work better.
I finally had a few minutes to play around and now that I know all 4 signals needed (serial data, serial clock, L/R clock and master clock) I was able to get both the cirrus CS8406 and the wolfson WM8804 to produce S/PDIF.
  Reply With Quote
Old 11th July 2016, 04:22 AM   #13
diyAudio Member
 
Join Date: Aug 2010
I've done some more work with my WM8804 circuit and have learned a couple of interesting things.

A new I2S source did not have master clock accessible but I was able generate it with a Cirrus CS2300-03 PLL clock multiplier. I multiplied the bit clock by 4 the WM8804 was happy to output S/PDIF.

One thing interesting about the first version of this circuit was that it did not include the 12 MHz crystal. This makes me wonder if S/PDIF re-clocking occurs when the input source is I2S.

Something I had a difficult time getting working was a "lock" LED. My read of the data sheet makes me believe the 4 status lines you have access to when operating in hardware mode (TRANS_ERR, GEN_FLAG, NON_AUDIO and UNLOCK) all apply to the S/PDIF input signal.

Today I got the idea to feed the generated S/PDIF output back to the the S/PDIF input. That worked! Well, it worked with my Twisted Pear S/PDIF transceiver module anyway. Figuring that the S/PDIF input logic needs the crystal, I added one and that allowed me to see all good status lines.

I've also been puzzled why NON_AUDIO is always indicated. I believe this is because PCM_N means non-PCM such as compressed, surround sound, Dolby, etc. is not detected when the chip is fed with PCM (and obviously no non-PCM formats are detected when there is no input).

Anyway, fun little chip!
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I2S to S/PDIF converter krassyg Digital Line Level 2 13th October 2011 01:31 PM
Multichannel I2S to S/PDIF converter lacipeti Parts 0 5th October 2011 12:15 PM
I2S-S/PDIF 2:1 Mux Receiver merlin el mago Twisted Pear 7 2nd April 2011 06:04 PM
Capture 3x (6 ch) I2S or S/PDIF macboy Digital Line Level 10 28th April 2010 06:34 PM
distribute S/PDIF or I2S, passive? tschrama Digital Source 14 23rd May 2003 12:22 AM


New To Site? Need Help?

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


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Copyright 1999-2016 diyAudio

Content Relevant URLs by vBSEO 3.3.2
Wiki