User manual
www.ti.com
AUX – Sensor Controller Registers
17.8.4.10 RECHARGECFG Register (Offset = 30h) [reset = X]
RECHARGECFG is shown in Figure 17-45 and described in Table 17-66.
Recharge Controller Configuration This register sets all relevant patameters for controlling the recharge
algorithm.
Figure 17-45. RECHARGECFG Register
31 30 29 28 27 26 25 24
ADAPTIVE_EN RESERVED
R/W-X R-X
23 22 21 20 19 18 17 16
C2 C1
R/W-X R/W-X
15 14 13 12 11 10 9 8
MAX_PER_M MAX_PER_E
R/W-X R/W-X
7 6 5 4 3 2 1 0
PER_M PER_E
R/W-X R/W-X
Table 17-66. RECHARGECFG Register Field Descriptions
Bit Field Type Reset Description
31 ADAPTIVE_EN R/W X
Enable adaptive recharge Note: Recharge can be turned completely
of by setting MAX_PER_E=7 and MAX_PER_M=31 and this bitfield
to 0
30-24 RESERVED R X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
23-20 C2 R/W X
Gain factor for adaptive recharge algorithm period_new=period * (
1+/-(2^-C1+2^-C2) ) Valid values for C2 is 2 to 10 Note: Rounding
may cause adaptive recharge not to start for very small values of
both Gain and Initial period. Criteria for algorithm to start is
MAX(PERIOD*2^-C1,PERIOD*2^-C2) >= 1
19-16 C1 R/W X
Gain factor for adaptive recharge algorithm period_new=period * (
1+/-(2^-C1+2^-C2) ) Valid values for C1 is 1 to 10 Note: Rounding
may cause adaptive recharge not to start for very small values of
both Gain and Initial period. Criteria for algorithm to start is
MAX(PERIOD*2^-C1,PERIOD*2^-C2) >= 1
15-11 MAX_PER_M R/W X
This register defines the maximum period that the recharge
algorithm can take, i.e. it defines the maximum number of cycles
between 2 recharges. The maximum number of cycles is specified
with a 5 bit mantissa and 3 bit exponent:
MAXCYCLES=(MAX_PER_M*16+15)*2^MAX_PER_E This field sets
the mantissa of MAXCYCLES
10-8 MAX_PER_E R/W X
This register defines the maximum period that the recharge
algorithm can take, i.e. it defines the maximum number of cycles
between 2 recharges. The maximum number of cycles is specified
with a 5 bit mantissa and 3 bit exponent:
MAXCYCLES=(MAX_PER_M*16+15)*2^MAX_PER_E This field sets
the exponent MAXCYCLES
7-3 PER_M R/W X
Number of 32 KHz clocks between activation of recharge controller
For recharge algorithm, PERIOD is the initial period when entering
powerdown mode. The adaptive recharge algorithm will not change
this register PERIOD will effectively be a 16 bit value coded in a 5 bit
mantissa and 3 bit exponent: This field sets the Mantissa of the
Period. PERIOD=(PER_M*16+15)*2^PER_E
1267
SWCU117A–February 2015–Revised March 2015 AUX – Sensor Controller with Digital and Analog Peripherals
Submit Documentation Feedback
Copyright © 2015, Texas Instruments Incorporated