HCS08: How is VTEMP25 affected by VREFH?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HCS08: How is VTEMP25 affected by VREFH?

跳至解决方案
663 次查看
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.

标记 (2)
0 项奖励
1 解答
577 次查看
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

在原帖中查看解决方案

1 回复
578 次查看
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