English
Language : 

PAC1921 Datasheet, PDF (37/56 Pages) Microchip Technology – High-Side Current/Power Sensor
Software Description
The power calculation using the VPOWER Result registers value from Figure 4-15 is
shown in Equation 4-2.
EQUATION 4-2:
POWER CALCULATION
-1------0------.---1------V-1------0-1----2---3----3-----2--1------V----  42 = 0.13138W
Where:
0.1V = Maximum VSENSE voltage
1 = Value of RSENSE resistor
1 = Digital current gain
32V/1 = Maximum voltage
1023 = 10-bit FSR
42 = Decimal value of VPOWER Result Registers 1Dh and 1Eh
4.3.3.1 CONFIGURATION SAVE AND LOAD
The Calculations/File IO tab contains controls, as shown in Figure 4-16, which save the
settings currently configured in the PAC1921 to allow quick reconfiguration at any time.
FIGURE 4-16:
Save/Load Section.
To save configuration settings, configure the PAC1921 as desired, then display the
Calculations/File IO tab. The “FF Reg File Path” box defaults to where the GUI soft-
ware is installed. To change the location, type in a path, or click the folder icon to use
a Windows® system-based navigation aid to select the folder where the configuration
file will be saved. The file should be named with the.txt extension or similar text file
format. Once a file name and location have been chosen, click the Save switch, and
the file is saved.
Note: If a file with the same name already exists, the file will be overwritten
without warning and old data will be lost.
The data is saved in two columns, separated by tabs. The first column is the register
address and the second column is the register data.
Once a file is saved, it can be recalled at any time by selecting the file in the “FF Reg
File Path” box and clicking the Load switch.
Click the Chip Defaults switch or press the <F6> function key on the keyboard to
reload register defaults on the PAC1921.
 2015 Microchip Technology Inc.
DS50002376A-page 37