beautypg.com

Rainbow Electronics DS2781 User Manual

Page 19

background image

DS2781: Two-Cell Standalone Fuel Gauge IC

19 of 30

CONTROL REGISTER

All CONTROL register bits are read and write accessible. The CONTROL register is recalled from Parameter
EEPROM memory at power-up. Register bit values can be modified in shadow RAM after power-up. Shadow RAM
values can be saved as the power up default values by using the Copy Data command.

Figure 15. Control Register Format

Address 60h

Bit

Definition

Field

Bit

Format

Allowable Values

NBEN 7

Read/Write

Negative Blanking Enable
0: Allows negative current readings to always be accumulated
1: Enables blanking of negative current readings up to -25µV

UVEN

6 Read/Write

Under Voltage SLEEP Enable
0: Disables transition to SLEEP mode based on VIN voltage
1: Enables transition to SLEEP mode if,

VIN < V

SLEEP

AND DQ stable at either logic level for t

SLEEP

PMOD

5 Read/Write

Power Mode Enable
0: Disables transition to SLEEP mode based on DQ logic state
1: Enables transition to SLEEP mode if DQ at a logic low for t

SLEEP

RNAOP

4 Read/Write

Read Net Address Opcode
0: Read Net Address Command = 33h
1: Read Net Address Command = 39h

UVTH 3

Read/Write

Under Voltage Threshold Select
0: Selects an Under Voltage Sleep threshold of 2.45V
1: Selects an Under Voltage Sleep threshold of 4.9V

Reserved 0:2 Undefined

SPECIAL FEATURE REGISTER

All Special Feature Register bits are read and write accessible, with default values specified in each bit definition.


Figure 16. Special Feature Register Format

Address 15h

Bit

Definition

Field

Bit

Format

Allowable Values

Reserved

1:7 Undefined

PIOSC

0 Read/Write

PIO Sense and Control
Read values
0: PIO pin ≤ Vil
1: PIO pin ≥ Vih
Write values
0: Activates PIO pin open-drain output driver, forcing the PIO pin low
1: Disables the output driver, allowing the PIO pin to be pulled high or

used as an input

Power-up and SLEEP mode default: 1 (PIO pin is hi-Z)
Note: PIO pin has weak pulldown