ADC_SAR config

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable


Hi,
I'm new in developing embedded systems and just trying to built my own voltmeter based on PSoC 5LP using PSoC Creator 4.0/4.1. When I try to configure the ADC_SAR I cannot set the Vref value. I have learned  from the datasheet that this is normal because when using internal reference the Vref is read only (fixed 2.500volts).
Although I would like to have the input range from Vss (0V)  up to Vdda witch is set to 3,3volts. So the Vref should be set to 1.6500 volts. I have no external reference voltage so have to use the internal. Please help how to perform the measurement between 0-3,3V.
Many thanks!

   

Gabor
 

0 Likes
1 Solution

Most likely you did not set the new voltage in the project. In the workspace explorer, go to the "design-wide resources". On the "System" tab you can set the correct voltage.

View solution in original post

0 Likes
7 Replies