Hello - I am attempting to talk to the CODEC registers directly using a bus pirate connected to the SDA and SCL lines on the eval board. I am issuing the commands to read a register, however I always receive an 0xFF as the register data. Below is a sample command line I copied from the terminal program connected to the bus pirate:
I2C> [0x30 0x0F [0x30 r] ** Comment - this line can be interpreted as: start condition, device address, register address, repeat start condition, device address, read data, stop condition
I2C START BIT
WRITE: 0x30 ACK
WRITE: 0x0F ACK
I2C START BIT
WRITE: 0x30 ACK
READ: 0xFF
NACK
I2C STOP BIT
I2C>
Note that all data sent is being acknowledged by the CODEC, however the data returned is not what I expected.
Let me know if this should work as I expected or what changes may be needed. I would like to verify that I can read and write the CODEC registers via I2C before attempting these operation with a microcontroller.
Thank you,
Chris