PIC32 I2C to ADAU1761

pic

So I'm working with this part the ADAU1761 it's a little dsp codec from Analog. I'm trying to get I2C communication up between it and my PIC32. I spent a good part of today trying to get this to work, thinking I would verify it by reading a register. I was getting ACKs but no data returned. Finally I tried manually programming the ADAU1761 and then reading registers worked fine. I'm suspicious that maybe I need to write some clock values to it first, but so far it's not too clear from the datasheet.

I am reading the datasheet and I did read their document on how to program the whole device. I was trying to take baby steps by verifying my i2c first before trying something more advanced though.

Anyone have an experience with these parts, who might know what I need to do?

Best Answer

For future folks, it turns out that you do have to program the ADAU1761 completely first before you can read registers. I got it working after talking to some people at Analog and borrowing a Logic Analyzer.