Page 1 of 1

ADC reference

Posted: Mon Jun 07, 2021 9:20 pm
by Derrihj
Hi Flowcoders, hope u are all fine and all is well with you, I have 3 questions (1) Is it ok to use 1.1v VRef+ pin reference on more than a single ADC on the same device? (2) Is it ok if i use 1.1v VRef+ pin reference on one ADC and then i use default 5v on other two or more ADC on the same device? (3) If i measure say 4.969v as reference voltage as my project is running instead of 5v then i set that 4.969v in my code. Question is, do i even need to set 4.969v in the component properties for example, VRef voltage to 496.9v also?

Re: ADC reference

Posted: Mon Jun 07, 2021 11:01 pm
by medelec35
Hi. Derrihj.
All good thank you, except for hurting my back lifting.
All on the mend though.
How are you doing?
Derrihj wrote:
Mon Jun 07, 2021 9:20 pm
(1) Is it ok to use 1.1v VRef+ pin reference on more than a single ADC on the same device?
Yes, you can set Vref on one or more ADC's
Derrihj wrote:
Mon Jun 07, 2021 9:20 pm
(2) Is it ok if i use 1.1v VRef+ pin reference on one ADC and then i use default 5v on other two or more ADC on the same device?
Also, Yes as you can select the Vref or VCC on any of the ADC pins.
Derrihj wrote:
Mon Jun 07, 2021 9:20 pm
If i measure say 4.969v as reference voltage as my project is running instead of 5v then i set that 4.969v in my code. Question is, do i even need to set 4.969v in the component properties, for example, VRef voltage to 496.9v also?
The actual x10 mV Vref set within properties is for simulation only. It will not affect hardware.
Therefore if the actual hardware is 4.969V, you will not have to adjust the 500 within properties to 497.