Measuring Temperature with the
[11-20 17:33:01] 来源:http://www.88dzw.com 模拟电子技术 阅读:8176次
文章摘要:BE1 voltage. To start the ADC conversion, set the STRT bit in the ADC register. The ADC will do a conversion and the result will be in the DATA register. Read the DATA register value and save as a 16-bit integer named VBE1 for later calculation.Step 7. Set the ADC Input for VR1Set the ADC positive i
Measuring Temperature with the,标签:模拟电子技术基础,模拟电子电路,http://www.88dzw.comBE1 voltage. To start the ADC conversion, set the STRT bit in the ADC register. The ADC will do a conversion and the result will be in the DATA register. Read the DATA register value and save as a 16-bit integer named VBE1 for later calculation.
Step 7. Set the ADC Input for VR1
Set the ADC positive input multiplexer for AGND by setting MUXP[3:0] to 0x09 the MUX register. Set the ADC negative multiplexer for AIN2 by setting MUXN[3:0] to 0x07 the MUX register. To measure the AIN2 input relative to AGND, the polarity flipper bit is used. Set the POL bit in the ADC register. The ADC is now setup with AIN2 as its positive input and AGND as its negative input.
Step 8. Measure VR1 using the ADC
To start the ADC conversion, set the STRT bit in the ADC register. The ADC will do a conversion and the result will be in the DATA register. Read the DATA register value and save as a 16-bit integer named VR1 for later calculation.
Step 9. Set the Current Source for I2 (60µA)
Set the current source for I2 by setting the IVAL[1:0] bits to 0x01 in the TEMP_CTRL register.
Step 10. Set the ADC Input for AIN1 to AIN2
Set the polarity flipper back to normal by clearing the POL bit in the ADC register. Set the ADC positive input multiplexer for AIN1 by setting MUXP[3:0] to 0x00 the MUX register. Set the ADC negative multiplexer for AIN2 by setting MUXN[3:0] to 0x07 the MUX register.
Step 11. Measure VBE2 using the ADC
The VBE2 voltage is measured from the AIN1 to the AIN2 inputs to the ADC. The ADC is already configured and only needs to convert to get the resulting VBE2 voltage. To start the ADC conversion, set the STRT bit in the ADC register. The ADC will do a conversion and the result will be in the DATA register. Read the DATA register value and save as a 16-bit integer named VBE2 for later calculation.
Step 12. Set the ADC Input for VR2
Set the ADC positive input multiplexer for AGND by setting MUXP[3:0] to 0x09 the MUX register. Set the ADC negative multiplexer for AIN2 by setting MUXN[3:0] to 0x07 the MUX register. To measure the AIN2 input relative to AGND, the polarity flipper bit is used. Set the POL bit in the ADC register. The ADC is now setup with AIN2 as its positive input and AGND as its negative input.
Step 13. Measure VR2 Using the ADC
To start the ADC conversion, set the STRT bit in the ADC register. The ADC will do a conversion and the result will be in the DATA register. Read the DATA register value and save as a 16-bit integer named VR2 for later calculation.
Step 14. Set the Current Source for I3 (64µA)
Set the current source for I3 by setting the IVAL[1:0] bits to 0x10 in the TEMP_CTRL register.
Step 15. Set the ADC Input for AIN1 to AIN2
Set the polarity flipper back to normal by clearing the POL bit in the ADC register. Set the ADC positive input multiplexer for AIN1 by setting MUXP[3:0] to 0x00 the MUX register. Set the ADC negative multiplexer for AIN2 by setting MUXN[3:0] to 0x07 the MUX register.
Step 16. Measure VBE3 using the ADC
The VBE3
上一页 [1] [2] [3] [4] [5] [6] [7] [8] 下一页
《Measuring Temperature with the》相关文章
- › Measuring Temperature with the
- 在百度中搜索相关文章:Measuring Temperature with the
- 在谷歌中搜索相关文章:Measuring Temperature with the
- 在soso中搜索相关文章:Measuring Temperature with the
- 在搜狗中搜索相关文章:Measuring Temperature with the