Upon popular request, I have created a simple driver/library for the MCP3464 ADC.
This driver is ready to go if you are running Arduino with Arm chip(i.e. Nano 33 BLE, Nano RP2040 Connect) or ESP32.
I have not made it portable for any microcontroller, however feel free to fork this repository and make it portable between chips.
If you have arduino or ESP32, ensure the pins (ChipSelect, dataReady, MISO, MOSI, SCK are correct for your hardware configuration) then simply upload the .ino file.
If not, the .ino file still gives you a starting guide on how to implement the driver.
To maximise the resolution to 16 bit, the reference voltage must be 1.65V!
Click here to see pin configuration
N.B. The driver is currently configured to run on the ESP32 with pins:
- dataReady = 17
- SDO = 19
- SDI = 23
- SCK = 18
- CS = 5
The library supports configuring and reading from the ADC using fast commands(Table 6-1, page 87 of ADC documentation).