2024-12-04 06:23 AM - edited 2024-12-04 06:24 AM
For the
i read that the VREF is either 2.048V 2.5V or 2.9V.
is this the maximum voltage the ADC can read in single ended and in differential mode?
so if i have a signal that is max 2.9V and min 0V. Will this work?
or is the VREF the middle voltage. so when my signal is 0V, the ADC voltage is 2.9V and when my signal is max, the max voltage is the VCC ot the STM32
2024-12-04 06:54 AM - edited 2024-12-04 06:54 AM
Hello @Erwin_N
The 3 values are just the 3 output voltages supported by the Internal voltage reference buffer VREFBUF. For the Conversation voltage range it should always be between 0 and Vref+ as mentionned on the Datasheet - STM32G474xB STM32G474xC STM32G474xE - Arm® Cortex®-M4 32-bit MCU+FPU, 170 MHz / 213 DMIPS, 128 KB SRAM, rich analog, math acc, 184 ps 12 chan Hi-res timer
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-12-04 06:57 AM
Hello,
thanks for the fast response
So, what value is VREF+ then? is it standard the supply voltage?
and for clarification, those 3 output voltages are just reference voltages who can be used for other purposes.
2024-12-04 07:02 AM
I read that VREF+ supports 2.048V 2.5V and 2.9. so i read that as if the VREF is one of those 3 voltages. so the conversion voltage range goes from 0 to one of those 3 voltages right?
2024-12-04 07:50 AM - edited 2024-12-04 07:56 AM
As you can see on the tab 66 of the same datasheet i've mentionned before Vref+ is equal to VDDA if VDDA < 2V and Vref+ is between 2 and VDDA if VDDA => 2V.:
PS: VREF+ can be provided either by an external reference lower than VDDA of by an internal buffered voltage
reference (VREFBUF).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.