You are here

PSOC 4 Die Temperature Measurement | Cypress Semiconductor

PSOC 4 Die Temperature Measurement

Summary: 4 Replies, Latest post by glenn-edgar_1523231 on 14 Nov 2016 02:54 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
glenn-edgar_1523231's picture
User
22 posts

I am not getting good die temperature measurements.

I have the voltage reference set to vda/2 and as a negative reference.  This gives me a 12 bit voltage range from vda of ground.  The values being 2048 to -2048. 

Can the die temperature measurement be used in such a configuration?

If so, then is the following equation to correct for voltage references that are not 1024 is to multiply the a/d counts by vref/1.024v?

Also what is vref.  Is it vda or vda/2.

Thanks

Glenn

 

user_242978793's picture
User
1030 posts

What kit are you using? Vref is 1.024.

glenn-edgar_1523231's picture
User
22 posts

I am using the CY8KIT-043.  The VREF I am referring to is the VREF for the ADC_SAR_Seq component.  The correction from the data sheet is ADCCountsCorrected = (Refact /1.024) * ADCCounts .

user_242978793's picture
User
1030 posts

Here is your program I don't have the 043 module but I have tested it on Pioneer Ble and it works.  Also there is a .pdf file that explains the settings for the ADC.

glenn-edgar_1523231's picture
User
22 posts

Thanks for your help.

However a 12 bit a/d reading for single ended measurements is more important than reading the die temperature.  Also, I need and A/D range of 0-Vdd.  That is why I used Vdd/2 as the negative reference on the A/D.  It appears that the 1.024 voltage reference cannot do this.  I can give up the temperature Die measurement.

Log in to post new comments.