Wiring and the MAX 5322 DAC


The MAX5322 is an dual 12bit SPI digital to analog converter. One can use this DAC over the GPIO pins of the Raspberry Pi with Wiring. Wiring for the Raspberry Pi was written by Gordon Henderson.

Install Wiring

In the terminal:

 $ sudo apt-get install wiringpi

For the Raspberry Pi 4 one needs to update the WiringPi to version 2.52:

 $ cd /tmp
 $ wget https://project-downloads.drogon.net/wiringpi-latest.deb
 $ sudo dpkg -i wiringpi-latest.deb