Table of Contents

Wiring and the MAX 5322 DAC

FIXME

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

http://wiringpi.com/wiringpi-updated-to-2-52-for-the-raspberry-pi-4b/


http://wiringpi.com/
https://github.com/WiringPi/WiringPi
https://github.com/WiringPi/WiringPi/blob/master/wiringPi/max5322.c