AnsweredAssumed Answered

why iio_device_reg_read() doesn't work?

Question asked by on Jan 12, 2015
Latest reply on Jan 12, 2015 by


     Why I can't read and write the adc register? I do it like this: reg_ret = iio_device_reg_read(iio_context_find_device(ctx, "cf-ad9361-lpc"), 0x0c, &reg_value); The return id right, but the reg_value is wrong. And if I change the device(via ad9361-phy), it can read the spi register successfully. who can tell me why?