Connecting SAA7310 to YM3434 - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

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 16th April 2006, 03:32 PM   #1
diyAudio Member
 
Join Date: Sep 2005
Location: Berlin
Default Connecting SAA7310 to YM3434

Hi,
i am just building my first own DAC, consisting of a Yamha YM3434 and two AD1860s, but it doesn't work yet.
I want to put in the I2S code from the receiver-chip, a SAA7310.
the first prolem i encountered was, that the YM3434 wants right-justified data (word-clock changes after data-word) , but the SAA7310 puts out left-justified data (word-clock changes at beginning of data-word) .
So i built a little circuit to delay the word-clock. Now it changes at the end of a data-word (seen on my scope), but i still hear mainly/only digital noise.
is this due to jitter?
any suggestions what to do?
thanks in advance!

regards, znarfomat
  Reply With Quote
Old 16th April 2006, 04:04 PM   #2
diyAudio Member
 
Join Date: Oct 2001
Location: .
I2S data is not quite left justified. The MSB is occupies the second bit cell after the transistion of WSAB/FSYNC/LRCLK. If you do not take that into account you will be one bit off.
  Reply With Quote
Old 16th April 2006, 04:36 PM   #3
diyAudio Member
 
Join Date: Sep 2005
Location: Berlin
thanks for your reply rfbrw!
the problem is, that according to the ym3434 datasheet, the word-clock (of input) changes after the LSB of a data-word.
i observe this on my scope too, but still i hear only noise.
however, sometimes when i change the duty-cycle and alignment of the word-clock, i can hear a bit of music.

unfortunately the datasheet is too big for an attachment.
i will try to post the timing diagram only.

regards, znarfomat
  Reply With Quote
Old 16th April 2006, 04:36 PM   #4
diyAudio Member
 
Join Date: Sep 2005
Location: Berlin
here is the YM3434 timing diagram.
Attached Images
File Type: gif ym3434_timing.gif (34.6 KB, 208 views)
  Reply With Quote
Old 16th April 2006, 04:58 PM   #5
diyAudio Member
 
Join Date: Oct 2001
Location: .
Are you sure the problem is at the SAA7310/YM3434 interface? Is the YM3434 set to output 16 or 18 bit data ?
  Reply With Quote
Old 16th April 2006, 05:39 PM   #6
diyAudio Member
 
Join Date: Sep 2005
Location: Berlin
no, i'm not sure if this connection (ym3434 - saa7310) is (still) the problem.
but i think i had to align the word clock and data as shown in the datasheet.
and while doing this i sometimes heard some (bad) sound come out of one of the dacs.
sound always came from one of the dacs, never from both at the same time.

the YM3434 is set to put out 18 bit.

what else could be the problem?
  Reply With Quote
Old 16th April 2006, 06:24 PM   #7
diyAudio Member
 
Join Date: Oct 2001
Location: .
What frequency is master clock?
  Reply With Quote
Old 16th April 2006, 06:44 PM   #8
diyAudio Member
 
Join Date: Sep 2005
Location: Berlin
i have kwak clock at 12.?? MHz. i used the crystal from my cdp, a Philips cd610.
the clock is fed to SAA7310 and YM3434.
  Reply With Quote
Old 16th April 2006, 07:08 PM   #9
diyAudio Member
 
Join Date: Oct 2001
Location: .
Quote:
Originally posted by znarfomat
i have kwak clock at 12.?? MHz. i used the crystal from my cdp, a Philips cd610.
the clock is fed to SAA7310 and YM3434.
MCLK is 256Fs for the SAA7310. The YM3434, OTOH, has a minimum MCLK requirement of 12.2 MHz and a typical one of 400Fs. When working with it's stablemate, the YM3623, it would operate at 384Fs.
If it is the case that the MCLK frequencies are mismatched you will have to derive the correct frequencies from a single source.
  Reply With Quote
Old 16th April 2006, 07:41 PM   #10
diyAudio Member
 
Join Date: Sep 2005
Location: Berlin
thank you rfbrw,
the clock seems to be the problem.
but i hope, as it is stated in the datasheet, that the ym3434 will work at any frequency between 400 Fs and 20MHz.
otherwise i will take my PMD100, as it operates at 256FS.

regards, znarfomat
  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
looking for Yamaha YM3434 filters... moray james Solid State 0 2nd November 2008 03:04 AM
looking for Yahama YM3434 filter... moray james Parts 0 2nd November 2008 03:03 AM
Add SPDIF on SAA7310/TDA1543 Combination Tubeee Digital Source 7 20th July 2004 03:57 PM
Help : Marantz CD52 HF signal to SAA7310 <1Vp-p tbklbl Digital Source 2 5th January 2004 09:12 AM
ym3434 datasheet..where can i find or does anyone have it?pls help. tone Digital Source 1 24th October 2002 05:59 AM


New To Site? Need Help?

All times are GMT. The time now is 04:18 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