- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I am trying to grab incoming ADC data and also sending out data to DAC on WM8731. Now the datasheet says the max clk for bclk is 20Mhz , and the toggle btw L and R channel should be 1/fs , if i am configuring the Codec for 384 fs , what should be my ADCLRC signal toggling at and what should be BCLK frequency ??? Thanks in advanceLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just wanted to add that i have set the sampling rate for the ADC and DAC to be 48Khz , actually i am following the neuron_audio_codec example . But what i dont understand that the datasheet mentions that the max BCLK can go up to 20MHz but it does not mention the min range , what if i want to run BCLK at 40khz will it still spit out data at 40Khz serially? :(
well technically it is not possible since WM8731 dosent have a any memory storage or buffering resurces ,:confused: And yes the question of ADCLRC signal time period is dependent on what BCLK is since ADCLRC signal has to be high for 16 clock pulses of BCLK .- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nobody wants to shed some light on this issue ????????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- I just wanted to add that i have set the sampling rate for the ADC and DAC to be 48Khz , actually i am following the neuron_audio_codec example . But what i dont understand that the datasheet mentions that the max BCLK can go up to 20MHz but it does not mention the min range , what if i want to run BCLK at 40khz will it still spit out data at 40Khz serially? :( well technically it is not possible since WM8731 dosent have a any memory storage or buffering resurces ,:confused: And yes the question of ADCLRC signal time period is dependent on what BCLK is since ADCLRC signal has to be high for 16 clock pulses of BCLK . --- Quote End --- Hi, if you check figure 26 of the WM8731 datasheet, you'll see that what needs to be fixed is only ADCLRC signal (should be 1/fs). The bit clock (BCLK) though can run faster and you obviously should read only during the first 16 cycles of BCLK after each transition of ADCLRC. Or at least that's how I understand this, since I haven't tested anything yet. cheers g
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it seems I was wrong above. I copy from the datasheet:
"in slave mode, DACLRC and ADCLRC inputs are not required to have a 50:50 mark-spaace ratio. BCLK input need not be continuous. It is however required that there are sufficient BCLK cycles for each DACLRC/ADCLRC transition to clock the chosen data word length..." So, ADCLRC doesn't need to be fixed... cheers g
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page