how can I get data from channel 2 of the AD7994

I am connecting to an AD7994 from an NXP LPC17xx processor. My code is written in C using the Keil compiler. I am able to read data from the AD7994, but it always only returns one 16 bit value. I believe this is from channel 1. I have sent the 0x30 to the address register, but when I read more than 2 bytes, I get the first two repeated, rather than that from channel 2.

I have read the data sheet, but am having difficulty translating it into actual I2C routines.

Does any one have a worked example of the protocol to get the AD7994 to return data from more than one channel?

Thanks

Parents Reply Children
No Data