| Electronic Components Datasheet Search |
|
EVAL-ADM1272EBZ Datasheet(PDF) 34 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
EVAL-ADM1272EBZ Datasheet(HTML) 34 Page - Analog Devices |
|
34 / 57 page ![]() ADM1272 Data Sheet Rev. B | Page 34 of 57 ALERT1_CONFIG and ALERT2_CONFIG Commands Using combinations of bit masks, the ALERT1_CONFIG and ALERT2_CONFIG commands select the status bits that, when set, generate an SMBus alert signal to a processor, or control the digital comparator mode. Pin 14 and Pin 13 (GPO1/ALERT1/CONV and GPO2/ALERT2) must be configured in SMBus alert or digital comparator mode in the DEVICE_CONFIG register. When Pin 13 or Pin 14 is configured in GPO mode, the pin is under software control. If this mode is set, the SMBus alert masking bits are ignored. POWER MONITOR COMMANDS The ADM1272 provides a high accuracy, 12-bit current, voltage, and temperature power monitor. The power monitor can be configured in a number of different modes of operation and can run in either continuous mode or single-shot mode with different sample averaging options. The power monitor can measure the following quantities: Input voltage (VIN) Output voltage (VOUT) Output current (IOUT) External temperature The following quantities are then calculated: Input power (PIN) Input energy (EIN) PMON_CONFIG Command The power monitor can run in a variety of modes. The PMON_CONFIG command sets up the power monitor. The settings that can be configured are as follows: Single-shot or continuous sampling VIN/VOUT/temperature sampling enable/disable Current and voltage sample averaging Power sample averaging Simultaneous sampling enable/disable Temperature sensor filter enable/disable Modifying the power monitor settings while the power monitor is sampling is not recommended. To ensure correct operation of the device and to avoid any potential spurious data or the generation of status alerts, stop the power monitor before any of these settings are changed. PMON_CONTROL Command Power monitor sampling can be initiated via hardware or via software using the PMON_CONTROL command. This command can be used with single-shot or continuous mode. READ_VIN, READ_VOUT, and READ_IOUT Commands The ADM1272 power monitor always measures the voltage developed across the sense resistor to provide a current measure- ment. The input voltage measurement from the SENSE+ pin is also enabled by default. The output voltage present on the VOUT pin is available if enabled with the PMON_CONFIG command. READ_TEMPERATURE_1 Command Temperature measurement at an external transistor can also be enabled with the PMON_CONFIG command. If enabled, the temperature sensor takes over the ADC for 64 μs every 6 ms and returns a measurement every 12 ms. READ_PIN, READ_PIN_EXT, READ_EIN, and READ_EIN_EXT Commands The 12-bit input voltage (VIN) and 12-bit current (IOUT) measure- ment values are multiplied by the ADM1272 to obtain the input power value. This multiplication is accomplished by using fixed point arithmetic, and produces a 24-bit value. It is assumed that the numbers are in the 12.0 format, meaning that there is no fractional part. Note that only positive IOUT values are used to avoid returning a negative power. This 24-bit value can be read from the ADM1272 using the READ_PIN_EXT command, where the most significant bit (MSB) is always a zero because PIN_EXT is a twos complement binary value that is always positive. The 16 most significant bits of the 24-bit value are used as the value for PIN. The MSB of the 16-bit PIN word is always zero, because PIN is a twos complement binary value that is always positive. Each time a power calculation is completed, the 24-bit power value is added to a 24-bit energy accumulator register. This is a twos complement representation as well; therefore, the MSB is always zero. Each time this energy accumulator register rolls over from 0x7FFFFF to 0x000000, a 16-bit rollover counter is incremented. The rollover counter is straight binary, with a maximum value of 0xFFFF before it rolls over. A 24-bit straight binary power sample counter is also incremented by 1 each time a power value is calculated and added to the energy accumulator. These registers can be read back using one of two commands, depending on the level of accuracy required for the energy accumulator and the desire to limit the frequency of reads from the ADM1272. A bus host can read these values, and by calculating the delta in the energy accumulated, the delta in the number of samples, and the time delta since the last read, the host can calculate the average power since the last read, as well as the energy consumed since then. The time delta is calculated by the bus host based on when it sends its commands to read from the device, and is not provided by the ADM1272. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |