Hello,
I got an Arduino DUE board.
I was trying to use the analog output, using the Digital to Analog Converter.
I tried with both 10-bit resolution and 12-bit resolution (with function analogWriteResolution() ).
When I try to generate 0 V at pin DAC0, using the command:
analogWrite(DAC0,0)
with a multimeter I measure about 0.56 V between pins DAC0 and GND, .
This happens either with 10-bit and 12-bit resolutions.
When I try to generate 3 V at pin DAC0, using the command:
analogWrite(DAC0,4095) (I have set 12-bit resolution before)
or
analogWrite(DAC0,1023) (I have set 10-bit resolution before)
with a multimeter I measure about 2.7 V between pins DAC0 and GND, .
The same happens if I use DAC1 pin.
Then, I bought a second Arduino DUE board and the behaviour is the same.
Do I miss something?
Thanks a lot