I2S codec...

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
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! :D
 
Last edited:
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....
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.