WM8805 doesn't work with TDA1543 in hardware mode? - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, 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 28th September 2012, 02:45 AM   #1
diyAudio Member
 
Join Date: Aug 2012
Default WM8805 doesn't work with TDA1543 in hardware mode?

Hi, I've set the WM8805 to hardware mode, with 16bit master mode I2S output.
When 192k/16bit spdif data is feed in, I measured the I2S output rates of WM8805:
BCLK=12.28M
LRCLCK=192K
Since 12.28M=2*192K*32, meaning the output is 32bits?

I read from the datasheet that in hardware mode, WM8805 generates 128fs MCLK with 192K input. And BCLK is 1/2 of the MCLK.
However, 12.28M is far more than TDA1543 could handle(9.2M).

Any way to make WM8805 work with TDA1543 in hardware mode?
  Reply With Quote
Old 28th September 2012, 03:06 AM   #2
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 101
Send a message via MSN to abraxalito Send a message via Yahoo to abraxalito Send a message via Skype™ to abraxalito
If you read the datasheet you'll find that 192k only works in software mode.

<edit> At least that's the way I read the datasheet but reading again it says in hardware mode that all input rates are supported. Which is confusing to say the least...

PPS When I was working out how to use this chip, I recall reading that in hardware mode the BCLK is always 64X the sample rate - i.e. 32bits are clocked out per sample. The only way to get 16bits per sample (and hence 32X BCLK) was to use software mode.
__________________
No matter if we meanwhile surrender every value for which we stand, we must strive to cajole the majority into imagining itself on our side - Everett Dean Martin

Last edited by abraxalito; 28th September 2012 at 03:23 AM.
  Reply With Quote
Old 28th September 2012, 03:54 AM   #3
diyAudio Member
 
Join Date: Aug 2012
Quote:
Originally Posted by abraxalito View Post
If you read the datasheet you'll find that 192k only works in software mode.

<edit> At least that's the way I read the datasheet but reading again it says in hardware mode that all input rates are supported. Which is confusing to say the least...

PPS When I was working out how to use this chip, I recall reading that in hardware mode the BCLK is always 64X the sample rate - i.e. 32bits are clocked out per sample. The only way to get 16bits per sample (and hence 32X BCLK) was to use software mode.
Thanks abraxalito

Yes BCLK is 64X the sample rate.

I'm still confused by the I2S format - datasheet says - 'Word length of 16, 20 and 24 bits are supported'. So 32 bits per sample is not supported, but we do get such output...

If I feed 192k/24bit into WM8805, will it still output 32bits per sample? (guess it adds 8 zeros at the end of each sample)
  Reply With Quote
Old 28th September 2012, 04:14 AM   #4
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 101
Send a message via MSN to abraxalito Send a message via Yahoo to abraxalito Send a message via Skype™ to abraxalito
Quote:
Originally Posted by xiedidan View Post
I'm still confused by the I2S format - datasheet says - 'Word length of 16, 20 and 24 bits are supported'. So 32 bits per sample is not supported, but we do get such output...
I think that must be referring to the formats of the SPDIF input - it can support up to 24bits (unofficially, I think that's part of the AES/EBU standard). 32bits per sample is not possible over either of these formats - there's not enough space

Quote:
If I feed 192k/24bit into WM8805, will it still output 32bits per sample? (guess it adds 8 zeros at the end of each sample)
Yes, that's my understanding - the 32bit frame will get zero padded.
__________________
No matter if we meanwhile surrender every value for which we stand, we must strive to cajole the majority into imagining itself on our side - Everett Dean Martin
  Reply With Quote
Old 28th September 2012, 07:43 AM   #5
diyAudio Member
 
Join Date: Aug 2012
Quote:
Originally Posted by abraxalito View Post
I think that must be referring to the formats of the SPDIF input - it can support up to 24bits (unofficially, I think that's part of the AES/EBU standard). 32bits per sample is not possible over either of these formats - there's not enough space



Yes, that's my understanding - the 32bit frame will get zero padded.
Looks like I have to find an MCU for software mode then.
  Reply With Quote
Old 28th September 2012, 08:03 AM   #6
diyAudio Member
 
abraxalito's Avatar
 
Join Date: Sep 2007
Location: Hangzhou - Marco Polo's 'most beautiful city'. 700yrs is a long time though...
Blog Entries: 101
Send a message via MSN to abraxalito Send a message via Yahoo to abraxalito Send a message via Skype™ to abraxalito
I can recommend LPC1114 - it has hardware I2C and comes in a DIY-friendly DIL28 package. Or for a finished one on a PCB you can't go far wrong with this one for $8 : http://www.mouser.com/ProductDetail/...8XePqj%2fvE%3d
__________________
No matter if we meanwhile surrender every value for which we stand, we must strive to cajole the majority into imagining itself on our side - Everett Dean Martin

Last edited by abraxalito; 28th September 2012 at 08:06 AM.
  Reply With Quote
Old 29th September 2012, 07:50 AM   #7
diyAudio Member
 
Join Date: Aug 2012
Quote:
Originally Posted by abraxalito View Post
I can recommend LPC1114 - it has hardware I2C and comes in a DIY-friendly DIL28 package. Or for a finished one on a PCB you can't go far wrong with this one for $8 : STM32F0DISCOVERY STMicroelectronics | Mouser
That's nice.
  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
8x TDA1543 & WM8805 DAC on Taobao (on Ebay soon ? ) KlipschKid Digital Line Level 13 15th February 2013 12:50 PM
DIT4096 and CS8406 hardware mode audio formats emuman100 Digital Source 0 7th June 2012 12:16 AM
How to control SRC4192 in hardware mode? Do i need a pull up or pull down resisiter? benjaminre Digital Source 8 9th April 2012 03:49 AM
DIR9001 + DF1704 Input in Hardware Mode Salar Digital Source 0 22nd March 2010 06:35 PM
CS8405A Hardware mode connection KY Digital Source 0 8th March 2005 12:16 PM


New To Site? Need Help?

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