Today I needed to use the DAC Analog Output feature on my STM32F4. This code didn’t work for me…
https://www.ghielectronics.com/docs/10/analog-outputs
When I used 3.3 for the Scale and wrote 0.5 and did not see 1.65, or even anything close.
I changed the scale to 1 and tried again, this time I got 1.6625 (I have a cheap meter, so close enough).
Further testing revealed a Scale of 2 and a Write value of 0.5 has the same effect as a Scale of 1 and a Write value of 1.
Does this seem normal? Are the instructions out of date?