|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| 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 |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: May 2006
|
Hi!
I'm trying to use I2S to interface an ARM micro to a PCM3060 codec using I2S. I'm just feeding it a ramp function using my code. The trouble is that nothing comes out of the codec! I don't have a logic analyser, so the best I can do is measure the clocks using my analog scope. There seems to be data on the SD line. I'm using 2 x 16bit channels at 44100 with the MCU as master. Here are my measured clocks: MCK: 11.63 MHz CK: 2.86 MHz (BCK) WS: 45.45 kHz So CK/WS = 62.9 and MCK/WS = 255.9 Do these clocks seem ok enough for the format? I'm trying to figure out if my codec's broken. It'll take me a few days to get my hands on a new one...I'd like to make sure it's not just me being dumb first!
Last edited by wildswan; 21st July 2010 at 12:15 PM. Reason: Mistakes!!! |
|
|
|
#2 |
|
diyAudio Member
|
That looks like it has been set up for 32-bit data.
2x32x44100 = 2.8224 MHz Perhaps your BCK divider is wrong and needs to be x2. |
|
|
|
#3 |
|
diyAudio Member
Join Date: May 2006
|
Hi sjalloq, indeed it was! Thanks for that. I fixed that value, so now the clocks are running at:
MCK: 11.63 MHz CK: 1.46 MHz (BCK) WS: 45.45 kHz Still nothing from the codec. Just noticed offset of 1v on the + output and 1.5v on the - output. I think it might be time to swap the codec after all.... |
|
|
|
#4 |
|
diyAudio Member
Join Date: May 2006
|
Ok I just swapped the codec, to no avail :-( Still nothing out.
|
|
|
|
#5 |
|
diyAudio Member
Join Date: May 2006
|
Doh! Fixed the problem. Set the codec to hardware control to eliminate config options, then discovered i was sending 16 bit frames.
Set up microcontroller to send 24 bits in 32 bit frames and all is working! Thanks sjalloq |
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I2S from Juli@ PCI sound card | wackyterbacky | Digital Line Level | 27 | 13th September 2010 05:28 PM |
| mod sound card for grab I2S signal | nicoch58 | Digital Source | 0 | 11th April 2007 02:54 PM |
| USB audio codec with SPDIF or I2S out | bocka | Digital Source | 9 | 15th June 2005 08:31 AM |
| What CODEC would you choose? | bimbla | Digital Source | 2 | 28th March 2005 06:39 PM |
| New To Site? | Need Help? |
| Page generated in 0.08113 seconds (70.89% PHP - 29.11% MySQL) with 10 queries |