VREF+ drops when DAC is used (STM32G0)
I use a LM4040 voltage reference IC to generate a 3.00V reference voltage for the STM32G0 VREF+ pin. The resistor is 750 ohms, so 4mA can be sourced to the VREF+ pin (the datasheet specifies a minimum of 500 uA).
I use the STM32G0 DAC (channel 1 only), which is connected to a TLV172IDBVR op amp. The op amp data sheet indicates that its input bias current is only 10 pA, so I have to suppose that the DAC can easily drive it.
When I set the DAC to a high value, say 3500 (out of 4095), the VREF+ pin reads very close to 3.00V, as expected. But when I set the DAC value to a lower value such as 0, the VREF+ pin drops to 2.875V. Since the VREF+ is no longer stable, all ADC computations that I do afterwards are off.
Does anyone know what could cause the VREF+ pin to drop its voltage?
Thank you !