HCS08: How is VTEMP25 affected by VREFH?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HCS08: How is VTEMP25 affected by VREFH?

Jump to solution
635 Views
danas
Contributor I

TL;DR: If we have a VREFH other than the typical value VTEMP25 is calculated at, how do we find the new typical VTEMP25 without running calibration procedures?

I am a long-time user of the HCS08 processor line.  Specifically, our company uses the MC9S08DZ128 in many of its applications.  Recently, we were confused while reading AN3031 (HCS08 Temperature Sensor) and did some testing to determine whether the bandgap and temperature readings were generated from VDD, VDDA, or VREFH (the note continuously says VDD).  After determining that the note assumes all 3 are the same thing and finally figuring out that it is based off VREFH, it then brought into question how we are calculating the internal temperature.  

My question is: how is VTEMP25 affected by VREFH?  AN3031 keeps saying that VTEMP25 is based off of a VDD of 3V, but the MC9S08DZ128 data sheet says that the value given for VTEMP25 is based on VREFH = VDDA = VDD = 5V.  So how do we take the typical value for 5V and scale it for our own purposes?  We have different values for VREFH for different applications (5V, 3V, and 3.3V, specifically).  Further, the graphs in AN3031 show that constant changes in VREFH result in exponential changes in the resulting ADC values.

0 Kudos
1 Solution
549 Views
kef2
Senior Contributor IV

VTEMP25 is property of sensor (and its circuit) and +- doesn't depend on supply and reference voltages. Figure 1 in AN3031 isn't contrary to this. If you mean sentence under Fig. 1 saying that sensor output is dependant on Vdd, I'm sure they meant dependant on Vref, which perhaps was the same to Vdd in their case. Fig.1 shows ADC readings, not voltage readings. If you convert any reading from Fig.1 at any given temperature to voltage, you'll get the same voltage no matter what is Vref.

  • Further, the graphs in AN3031 show that constant changes in VREFH result in exponential changes in the resulting ADC values.

Hm, just inversely proportional to Vref. Let's take curve for 1.9V Vref, ADC(T=0) = 400. 400 * 1.9 / 3.6 = 211. Doesn't this match curve for 3.6V Vref?

Edward

View solution in original post

1 Reply
550 Views
kef2
Senior Contributor IV

VTEMP25 is property of sensor (and its circuit) and +- doesn't depend on supply and reference voltages. Figure 1 in AN3031 isn't contrary to this. If you mean sentence under Fig. 1 saying that sensor output is dependant on Vdd, I'm sure they meant dependant on Vref, which perhaps was the same to Vdd in their case. Fig.1 shows ADC readings, not voltage readings. If you convert any reading from Fig.1 at any given temperature to voltage, you'll get the same voltage no matter what is Vref.

  • Further, the graphs in AN3031 show that constant changes in VREFH result in exponential changes in the resulting ADC values.

Hm, just inversely proportional to Vref. Let's take curve for 1.9V Vref, ADC(T=0) = 400. 400 * 1.9 / 3.6 = 211. Doesn't this match curve for 3.6V Vref?

Edward