STM32L432KC DAC wrong pin
Nevermind, I just looked at the pinout - for some reason, PA_4 is connected to A3 not A4 - problem solved I guess. It's weird though because for example PA_1 is connected to A1 etc.