Since we do not know how you set up your PSoC1 it will be very difficult to give you advices. Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
and attach the resulting file.
Sounds like your ADC range is not sufficient to handle a wide enough range
of the V being measured.
http://www.cypress.com/forum/psoc-community-components/psoc-today-usb-psoc-3-pulse-generator-project-and-source-code AN2017 - PSoC® 1 Temperature Measurement with Thermistor
http://www.cypress.com/documentation/application-notes-obsolete/an2395-psoc-1-thermistor-lookup-table-generation-tool AN2395 - PSoC® 1 Thermistor Lookup Table Generation Tool
http://www.cypress.com/documentation/application-notes/an78920-psoc-1-temperature-measurement-using-diode AN78920 - PSoC® 1 Temperature Measurement Using Diode
Kindly find the attached archive project.
Output of the temperature is taken from the ADCModule in the code.
But in the main design characteristics I have not done any changes,like in the different
modules attached in the project.
Temperature testing.zip 982.2 K
Yes i'm not getting how to handle the ADC range.
Thanks for the links i'll go through it.
Can the reason be that only P0_0 and P0_1 are defined as analog input, but your further requested pins P0_2,4 and 6 are defined as digital?
I noticed a couple of things -
1) SAR input is not set in SAR properties window.
2) You have many pins that you did not functionally name, makes life easy
to troubleshoot, prototype when functional names are given to all the pins.
In the pinout view just double click pin and give it a functional name.
3) You have mixed I/O in at least one port, which means you are probably doing
read modify writes to the port. You need to use shadow register(s) on any port
where you are doing this.
https://www.youtube.com/watch?v=tei6q5M3C0g Shadow Registers
http://www.cypress.com/?rID=39497 Shadow Registers
Thank you for the observation made.
But before, I had tested connecting the SAR input to P0.4 pin of ADC for temperature measurement,
but didn't find any changes after connecting it.
Meanwhile I have not used shadow registers will try doing it.
I still suggest to adjust the required drive mode of the pins to Analog input!