ade7854 linux driver documentation

I have been able to get the Linux driver for the ADE7854 working, at least to the point of it creating a file structure under the /sys/bus/iio/ hierarchy. However, I seem to be getting lots of zeroes back when reading the various registers. I can see the SPI data going in and out of the part but have not connected an analyzer yet, so this could just be garbage. But I seem close here.

I have tried to write to the AIGAIN register as a test, but it still returns "0". I can see the data going out the SPI pins here as well. Can you please give me some idea as to how this driver is supposed to work so that I can start developing code to use it? This looks like a fairly well developed driver, it's a shame that there is no documentation for it available or even decent commenting in the code itself.

Thanks!

Dan

Parents
  • 0
    •  Analog Employees 
    on Aug 2, 2018 2:57 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin
Reply
  • 0
    •  Analog Employees 
    on Aug 2, 2018 2:57 PM
    This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin
Children
No Data