I am working with the ADE7880 ADC and am attempting to initialize it and use it to read and write registers via SPI in C on a Linux system. My goal is to capture ADC data through SPI, but I am encountering difficulties.
Here are the specifics of my issue:
-
I have written to 4 registers to initialize the ADC.
-
I am trying to read data from a specific register, but I am not receiving the expected default data or the data I wrote.
I am unsure if the ADC is being initialized correctly or if the data is being read properly.
I referred to this link for guidance, but I am still experiencing issues.
Could someone please provide assistance or suggest what might be going wrong? Any help would be greatly appreciated!
Thank you!
prial joshi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.