I have been using the AD4020 eval board for a few months now. I am very satisfied with what the ADC has to offer. However for my future needs I have to integrate it into my existing PCB. The hardware for this is pretty much open source and I was able to decide on a minimalistic version of the eval board. However, the SPI interface isn't available for this. Has anyone tried to write SPI driver to read and get the data out of the ADC in either C or python? I am in a bit of a time crunch, so I can't afford to write it from scratch as of now. Any base code or pointers would really help.
The SBC I am using currently is the beaglebone black. So any C code or python code would help me get a quick start.
Thank you for your question.
We do have a Linux driver developed for the AD4000 family (AD4020 included) which is linked here: https://wiki.analog.com/resources/tools-software/linux-drivers/iio-adc/ad400x
I'll admit I haven't played around with these drivers yet myself, so I'm not sure what's required to get them up and running. I recommend referencing the following URL. Let me know if you have any issues and I'll get in touch with one of our software folks who helped develop this driver. https://wiki.analog.com/resources/tools-software/linux-drivers-all#linux_drivers
This is awesome! Thanks a lot. Will definitely try this out and let you know how it goes. Really appreciate the help :)