| 数据搜索系统,热门电子元器件搜索 |
|
ADE7169 数据表(PDF) 72 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADE7169 数据表(HTML) 72 Page - Analog Devices |
|
72 / 148 page ![]() ADE75xx/ADE71xx Preliminary Technical Data Rev. PrE | Page 72 of 148 new value only when the Battery flag is set in the Power Management Interrupt Flag SFR (IPSMF, 0xF8). EXTERNAL VOLTAGE MEASUREMENT The ADE75XX/ADE71XX includes a dedicated ADC to provide a digital measurement of an external voltage, on the VDCIN pin. An 8-bit SFR (Table 50. VDCIN ADC value SFR (VDCINADC, 0xEF)) holds the results of the conversion. The resolution of the external voltage measurement is TBD V/LSB. There are two ways to initiate an external voltage conversion: - Single External Voltage Measurement - Background ExternalVoltage Measurements Single External voltage Measurement Set the VADC bit in the Start ADC Measurement SFR (ADCGO, 0xD8) to get an external voltage measurement. An interrupt will be generated when the conversion is done and the external voltage measurement is available in the Table 50. VDCIN ADC value SFR (VDCINADC, 0xEF). Background External Voltage Measurements Background external voltage measurements are disabled by default. To configure the background external voltage measurement mode, set an external voltage measurement interval in the Peripheral ADC Strobe Period SFR (STRBPER, 0xF9). Then external voltage measurements will be performed periodically in the background – see Table 46. When an external voltage conversion completes, the new external voltage ADC value is compared to the last external voltage ADC value that created an interrupt. If the absolute difference between the two values is greater than the setting in the VDCIN_DIFF bits in the Temperature and Voltage ADC Delta SFR (DIFFPROG, 0xF3), a VDCIN ADC flag is set. This VDCIN ADC flag is the FVADC in the Power Management Interrupt Flag SFR (IPSMF, 0xF8), used for power supply monitoring. This VDCIN ADC flag can be enabled to generate a PSM interrupt by setting the EVADC bit in the Power Management Interrupt Enable SFR (IPSME, 0xEC). This method allows external voltage measurements to take place completely in the background, only requiring MCU activity if the external voltage has changed more than a configurable delta. To set up background external voltage measurements: 1. Initiate a single external voltage measurement by setting the VADC bit in the Start ADC Measurement SFR (ADCGO, 0xD8). 2. Upon completion of this measurement, configure the VDCIN_DIFF[2:0] bits to establish the change in voltage that will set the FVADC in the Power Management Interrupt Flag SFR (IPSMF, 0xF8). 3. Set up the interval for background external voltage measurements by configuring the VDCIN_PERIOD[1:0] bits. External voltage ADC in PSM1 and PSM2 Depending on the operating mode of the ADE75XX/ADE71XX, an external voltage conversion is initiated only by certain actions: PSM0: In this operating mode, the 8052 is active. External 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 external voltage measurements can be initiated by setting the VADC bit in the Start ADC Measurement SFR (ADCGO, 0xD8). Background external voltage measurements are not available. PSM2: In this operating mode, the 8052 is not active. External voltage conversions are available through the background measurement mode only. The external voltage ADC, VDCIN ADC value SFR (VDCINADC, 0xEF), is updated with a new value only when an external voltage ADC interrupt occurs. External voltage ADC interrupt The external voltage ADC can generate an ADC interrupt when at least one of the following conditions occurs: - The difference between the new external voltage ADC value and the last external voltage ADC value generating an ADC interrupt is larger than the value set in the VDCIN_DIFF bits. - The External voltage ADC conversion, initiated by setting TEMP_ADC_GO, is finished. When the ADC interrupt occurs, a new value is available in the VDCIN ADC value SFR (VDCINADC, 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 |