DAC output differs between Channel 1 & 2 on Nucleo-F446RE
Hi :)
I found something quite strange, it seems that:
1) On DAC Channel 1 - the output buffer does not work (a 10kOhm load brings the voltage down), but it's output is inverted (as expected)
2) On DAC Channel 2 - the output buffer does work (maintains voltage with a 10kOhm load), but it's output is not inverted
My test setup:
- NucleoF446RE -> PA4/A2 pin -> oscilloscope + 10k resistor (in parallel)
- NucleoF446RE -> PA5/D13 pin -> oscilloscope + 10k resistor (in parallel)
- The code runs a simple one-time 500Hz sine wave with samples @32kHz with DMA. I also tested without DMA with a simple HAL_DAC_SetValue() and the result was exactly the same (but not as "visual" as with a sine wave).
The results:
With Output buffer OFF on both channels, the sine wave is not inverted, and the voltage is sinked to max 1.5V - this is as expected.

With the output buffer ON on both channels, you can see that Channel 1 (yellow) is inverted but its output is still sinked, and that Channel 2 (blue) is not inverted but its output is maintained with the load.

Note 1: I desoldered the SB21 to disconnect the LED 2 from the output of the Channel 2 - but even before I did the results were almost the same (it just added a load and a small cut at the top of the waveform).
Note 2: I also double checked the value of the DAC->CR register with the debugger, it shows:
- Binary:110000000001010011000000000101 with buffer ON (bit 1 and 17 not set)
- Binary:110000000001110011000000000111 with buffer OFF (bit 1 and 17 set)
I went through the datasheet but it does not say anything about differences between the DAC's. I guess I am doing something wrong somewhere?
Thank you!! :D