| 数据搜索系统,热门电子元器件搜索 |
|
ADE7169ASTF16 数据表(PDF) 70 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE7169ASTF16 数据表(HTML) 70 Page - Analog Devices |
|
70 / 140 page ![]() ADE7169F16 Preliminary Technical Data Rev. PrD | Page 70 of 140 - Background Supply Voltage Measurements Single Supply voltage Measurement Set the VSW_ADC_GO bit in the Start ADC Measurement SFR (ADCGO, 0xD8) to get a supply voltage measurement. An interrupt will be generated when the conversion is done and the supply voltage measurement is available in the Table 49. VSW ADC value SFR (VSWADC, 0xEF). Background Supply Voltage Measurements Background supply voltage measurements are disabled by default. To configure the background supply voltage measurement mode, set a supply voltage measurement interval in the Peripheral ADC Strobe Period SFR (STRBPER, 0xF9). Then supply voltage measurements will be performed periodically in the background – see Table 45. When a supply voltage conversion completes, the new supply voltage ADC value is compared to the last supply voltage ADC value that created an interrupt. If the absolute difference between the two values is greater than the setting in the VSW_DIFF bits in the Temperature and Supply Delta SFR (DIFFPROG, 0xF3), a VSW ADC flag is set. This VSW ADC flag is the VSWFLAG in the Power Management Interrupt Flag SFR (IPSMF, 0xF8), used for power supply monitoring. This VSW ADC flag can be enabled to generate a PSM interrupt by setting the EVSW bit in the Power Management Interrupt Enable SFR (IPSME, 0xEC). This method allows supply voltage measurements to take place completely in the background, only requiring MCU activity if the supply voltage has changed more than a configurable delta. To set up background supply voltage measurements: 1. Initiate a single supply voltage measurement by setting the VSW_ADC_GO bit in the Start ADC Measurement SFR (ADCGO, 0xD8). 2. Upon completion of this measurement, configure the VSW_DIFF[2:0] bits to establish the change in temperature that will set the VSWFLAG in the Power Management Interrupt Flag SFR (IPSMF, 0xF8). 3. Set up the interval for background supply voltage measurements by configuring the VSW_PERIOD[1:0] bits. Supply voltage ADC in PSM1 and PSM2 Depending on the operating mode of the ADE7169F16, a supply voltage conversion is initiated only by certain actions: PSM0: In this operating mode, the 8052 is active. Supply voltage measurements are available in the background measurement mode and by initiating a single measurement. PSM1: In this operating mode, the 8052 is active and the part is powered from battery. Single supply voltage measurements can be initiated by setting the TEMP_ADC_GO bit in the Start ADC Measurement SFR (ADCGO, 0xD8). Background supply voltage measurements are not available. PSM2: In this operating mode, the 8052 is not active. Supply voltage conversions are available through the background measurement mode only. The supply voltage Table 49. VSW ADC value SFR (VSWADC, 0xEF) is updated with a new value only when a supply voltage ADC interrupt occurs. Supply voltage ADC interrupt The supply voltage ADC can generate an ADC interrupt when at least one of the following conditions occurs: - The difference between the new supply voltage ADC value and the last supply voltage ADC value generating an ADC interrupt is larger than the value set in the VSW_DIFF bits. - The Supply voltage ADC conversion, initiated by setting TEMP_ADC_GO, is finished. When the ADC interrupt occurs, a new value is available in the VSW ADC value SFR (VSWADC, 0xEF). Note that there is no flag associated with this interrupt. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |