The Arduino Due board is unique among the Arduinos in that it comes with 2 DAC ( Digital to Analog Converter ) on the board with DAC0 & DAC1.
The Due is a 3.3V board which makes it compatible with a Raspberry Pi, but the DAC output is limited.
1) The true voltage output is 0.54 VDC to 2.74 VDC
2) The resolution is defaulted to 8 bit (0-255), but can be changed to 12 bit (0-4095).
Here is a quick simple example to show.