7 Replies Latest reply on Jun 26, 2017 6:26 AM by user_242978793

    ADC_SAR config

    halaszgabora_2504476


      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