DS2438EVKIT+
4 of 10
END-OF-CHARGE AND DISCONNECT TIMESTAMPS
To demonstrate the DS2438’s end-of-charge timestamp, wire the evaluation board in the charging configuration
shown in Figure 1a, start the demonstration, and then disconnect one side of the load resistor (BAT– or PACK–).
As soon as this is done, the end-of-charge Timestamp Register updates to reflect the end-of-charge time. To
demonstrate the disconnect timestamp feature, simply unplug the RJ-11 cable from the evaluation board. During
the time the cable is unplugged, the displayed values of the Elapsed Time Meter and both Timestamp Registers
become invalid because the software is not able to communicate with the DS2438. When the RJ-11 cable is
plugged back in, the software updates the displayed values to reflect the contents of the DS2438, including the new
Disconnect Timestamp Register value.
CURRENT MEASUREMENT CALIBRATION
The Calibrate Current button on the Meters Screen opens the Calibrate Current Measurement window. This
window gives a real-time demonstration of how current measurements are acquired, corrected and reported using
the DS2438. First, the DS2438 takes an uncorrected measurement of the voltage drop across the current sense
resistor. The DS2438 then adds the contents of the Offset Register to the uncorrected current measurement and
writes the corrected result to the Current Register. The host system then divides the voltage value in the Current
Register by the value of the sense resistor to obtain the measured current.
To calibrate DS2438 current measurements for offset error, follow these steps:
1. Press the Calibrate Current button in the Meters Screen.
2. Reduce the actual current driven through the sense resistor to zero.
3. Set the Offset Register value to 0 and press the Apply button.
4. Set the Offset Register value to -1 times the observed Uncorrected Current value and press the Apply button.
This uncorrected current value is the DS2438’s offset error.
5. The Current Register line should now be reporting 0 LSb, 0mV.
To calibrate DS2438 current measurements for sense resistor variation and the effects of trace resistance, follow
these steps:
6. Force a known current through the sense resistor.
7. Enter a different sense resistor value and click the Apply button.
8. Repeat step 7 until the Current reading shown by the software equals the actual current being forced.
9. Click the OK button to leave the Calibrate Current Measurement window. The DS2438 should now be correctly
calibrated, and the Current Meter on the Meters Screen should now show the actual current flowing through
the sense resistor.
DS2438EVKIT+
5 of 10
SETTING THE CURRENT ACCUMULATORS
The Set Accumulators button on the Meters Screen opens the Set Accumulators window. This window allows the
user set the values of the ICA, CCA and DCA Registers and configure accumulator-related items. The value
entered in the Nominal Battery Capacity field becomes the full-scale reading of the Capacity Meter on the Meters
Screen. The Threshold Register setting configures the DS2438 to only accumulate currents above a particular
threshold.
To set the values of the ICA, CCA and DCA, enter the decimal value to be stored in the register and then press the
Apply button. The DS2438 EV kit software multiples the entered value by the value of an LSb in units of mAhrs
(calculated from the sense resistor value entered in the Calibrate Current Measurement window) to obtain the
value of the register in units of mAhrs. If any of the ICA, CCA or DCA Registers are disabled by Status Register
settings, their values cannot be set in the Set Accumulators window.
DS2438EVKIT+
6 of 10
STATUS/CONFIGURATION REGISTER
The DS2438 has four bits in its Status/Configuration Register that can affect the operation of the part. To change
the values of the bits, left-click on the Status/Configuration item of the Registers menu to open the
Status/Configuration Register window. When the Current A/D Control Bit (IAD) is set to “Disabled,” Current, ICA,
CCA and DCA functions are disabled in the DS2438 and on the Meters Screen. When the Current A/D Control Bit
is set to “Enabled” and the Current Accumulator Configuration Bit (CA) is set to “Disabled,” only the CCA and DCA
Registers are disabled in the DS2438 and on the Meters Screen. The Current Accumulator Shadow Selector Bit
(EE) controls whether or not the DS2438 copies changes in the CCA and DCA Registers to EEPROM memory or
not. The Voltage A/D Input Select Bit (AD) configures the DS2438 to use either the VDD pin or the VAD pin as
input for voltage A/D conversion. The currently selected input is indicated next to the Voltage Meter on the Meters
Screen.

DS2438K

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Power Management IC Development Tools
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet