Datasheet: PMIC Optimized For Multi-Core High-Performance System
Datasheet: PMIC Optimized For Multi-Core High-Performance System
AXP228
Datasheet
Revision 1.1
2013.01.06
Version history
X-Powers cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in an
X-Powers product. No circuit patent licenses, copyrights, or other intellectual property rights are implied.
X-Powers reserves the right to make changes to the specifications and products at any time without notice.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 2/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Catalog
1 Overview .........................................................................................................................................................4
2 Feature ............................................................................................................................................................5
4 PIN...................................................................................................................................................................3
6 Block Diagram................................................................................................................................................6
9.8 Timer.............................................................................................................................................................22
10 REGISTER ...................................................................................................................................................25
11 PACKAGE ....................................................................................................................................................48
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 3/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
1 Overview
Description
AXP228 is a highly integrated PMIC targeting at single cell Li-battery(Li-ion or
Li-polymer)applications that require multi-channel power conversion outputs. It provides an easy
and flexible power management solution for multi-core processors to meet the increasingly
complex and accurate requirements on power control.
AXP228 comes with an adaptive USB3.0-compatible Flash Charger that supports up to 94%
efficiency and 2.2A charge current. It also supports 21 channels power outputs (including 5-CH
DCDC, with efficiency up to 95%). To ensure the security and stability of the power system,
AXP228 provides multiple channels 12-bit ADC for voltage/current/temperature monitor and
integrates protection circuits such as OVP,UVP,OTP,OCP. Moreover, AXP228s features a unique
E-Gauge™ system, making power gauge easy and exact.
In addition, AXP228 embraces a fast interface for the system to dynaically adjust output voltage
and enable work mode switch so that the battery life can be extended to the largest extent.
Besides, AXP228 features an IPS™ (Intelligent Power Select) circuit to transparently select power
path among USB, external adaptor, Li-battery, and system load, making it possible for the system
to work normally when only external input power but no battery is available.
Applications
• Tablet, Smartphone, DVR
• UMPC-like, Student Computer
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 4/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
2 Feature
Features
• IPS™
- Input voltage range: 2.9V~6.3V (AMR: • LDOs (14-CH)
0.3V~11V) - RTC_VCC: 30mA, always alive
- Configurable IPS™ system - ALDO1/2: low noise LDO,0.7V~3.3V adjustable,
- Adaptive USB/AC adaptor voltage/current 100mV/step, load current up to 300mA
limit (4.4V/900mA/500mA) - ALDO3: low noise LDO,0.7V~3.3V
• Flash Charger adjustable,100mV/step, load current up to 200mA
- Integrated MOSFET charge current up to 2.2A - LDOIO0/LDOIO1: low noise LDO, 0.7V~3.3V
- Battery temperature monitor adjustable, 100mV/step, load current up to100mA
- Fully support USB charge - DLDO1/ ELDO1:0.7~3.3V djustable,100mV/step,
- High charge accuracy, ±0.5% accuracy load current up to 400mA
- Support 4.1V/4.2V/4.22V/4.24V battery - DLDO2/ DLDO3/ ELDO2/ ELDO3: 0.7~3.3V
- Automatic charge control adjustable,100mV/step,load current up to 200mA
- Support LED to indicate charge status - DLDO4: 0.7V~3.3V adjustable,100mV/step,load
- Automatic charge current adjustment based current up to 100mA
on system load - DC5LDO: 0.7V~1.4V adjustable,100mV/step,load
• Buck DC-DC Converters (5-CH) current up to 200mA
- DC-DC1: 1.6V~3.4V adjustable,100mV/step, • Switch(2-CH)
load current up to 1.4A - DC1SW: internal resistance 100mOhm, power
- DC-DC2: 0.6V~1.54V adjustable,20mV/step, sourced from DCDC1
load current up to 2.5A, support VRC (Voltage - CHGLED:100mA sink strength, can be used to
Ramp Control) drive the motor and charging LED
- DC-DC3: 0.6V-1.86V adjustable, 20mV/step, • Host Interface
load current up to 2.5A - P2WI(Push-Pull Two Wire Interface) for host
- DC-DC4: 0.6V-1.54V adjustable, 20mV/step, communication
load current up to 0.6A - Configurable interrupt management
- DC-DC5: 1.0V-2.55V adjustable, 50mV/step, load - Flexible pin function configuration: 2 GPIOs can
current up to 2A be set as IO or LDO, etc
- Integrated timer
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 5/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
3 Typical Application
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 2/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
4 PIN
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 3/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
5 Pin List
Num Name Type Condition Description
1 ELDOIN PI ELDO Input source
2 ELDO2 O Output Pin of ELDO2
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 4/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 5/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
6 Block Diagram
VBUS IPSOUT
ACIN
N_VBUSEN
BATSENSE
LOADSENSE
Adaptive ALDOIN
CHSENSEN PWM ALDO2
charger ALDO
CHSENSEP ALDO2
ALDO3
CHGLED
LX_CHG DC1SW
DCDC1
LX_CHG DC-DC1 LX1
VIN1
VIN_CHG PGND1
VIN_CHG
DCDC2
LX2
PWRON LX2
DC-DC2
VIN2
N_OE PGND2
PGND2
DCDC3
LX3
IRQ LX3
SCK Serial Interface DC-DC3
VIN3
SDA PGND3
Control Logic
Bat DCDC4
TS Temperature LX4
DC-DC4
Monitor VIN4
PGND4
DLDOIN
DLDO2
GPIO0 DLDO DLDO2
GPIO
GPIO1 DLDO3
DLDO4
Register
ELDOIN
ELDO2
ELDO
12 bit ADC ELDO2
Current Monitor ELDO3
Voltage Monitor
Temperature Monitor
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 6/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 7/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
8 Electrical Characteristics
VIN =5V, BAT=3.8V, TA= 25℃
SYMBOL DESCRIPTION CONDITIONS MIN TYP MAX UNITS
ACIN
VIN ACIN Input Voltage 3.8 6.3 V
IOUT VOUT Current Available Before 500mV Voltage Drop 3500 mA
Loading BAT
VUVLO ACIN Under Voltage Lockout 3.8 V
VOUT IPS Output Voltage 2.9 5.0 V
RACIN Internal Ideal Resistance PIN to PIN, ACIN to 120 mΩ
IPSOUT
VBUS
VIN VBUS Input Voltage 3.8 6.3 V
IOUT VOUT Current Available Before 1500 900 mA
Loading BAT
VUVLO VBUS Under Voltage Lockout 3.8 V
VOUT IPS Output Voltage 2.9 5.0 V
RVBUS Internal Ideal Resistance PIN to PIN, VBUS to 160 mΩ
IPSOUT
Battery Charger
VTRGT BAT Charge Target Voltage -0.5% 4.2 +0.5% V
ICHRG Charge Current 1200 2200 mA
ITRKL Trickle Charge Current 10% ICHRG
mA
VTRKL Trickle Charge Threshold 3.0 V
Voltage
ΔVRECHG Recharge Battery Threshold Threshold Voltage -100 mV
Voltage Relative to VTARGET
TTIMER1 Charger Safety Timer Trickle Mode 50 Min
Termination Time
TTIMER2 Charger Safety Timer CC Mode 480 Min
Termination Time
IEND End of Charge Indication CV Mode 10% 15% ICHRG
Current Ratio mA
NTC
VTL Cold Temperature Fault Charge 2.112 V
0 3.264
Threshold Voltage Discharge 3.226
VTH Hot Temperature Fault Charge 0.397 V
0 3.264
Threshold Voltage Discharge 0.282
VTE NTC Disable Threshold Falling Threshold 0.2 V
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 8/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Voltage Hysteresis
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 9/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 10/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 11/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
LDOio1
V LDOio1 Output Voltage I LDOio1=1mA -1% 3.3 1% V
I LDOio1 Output Current 100 mA
IQ Quiescent Current 40 μA
PSRR Power Supply Rejection Ratio I LDOio1=10mA,1KHz TBD dB
eN Output Noise,20-80KHz Vo=3.3V, Io=20mA 40 μVRMS
DC1SW
RDC1SW Internal Ideal Resistance PIN to PIN,DCDC1 156 mΩ
同 DC1SW
IQ Quiescent Current 40 μA
CHGLED
RDC1SW Internal Ideal Resistance Vin =0.3V 2000 mΩ
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 12/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Power on Source
1. ACIN、VBUS Insert
2. PEK
Power On
System power-on is initiated whenever the following conditions occur:
1. If a valid power source has plugged in (ACIN or VBUS>3.8V), AXP228 will be turned on or not by the default
the configure module configuration.
After power on, DC-DC and LDO will be soft booted in preset timing sequence, and then either Host or PWREN
pin can enable/disable corresponding power.
Power Off
When you push-and-hold PEK longer than IRQLEVEL, HOST can write “1” into“REG32H [7]” to inform AXP228
to shutdown, which can disable all power output except LDO1.
Remarks: With the automatic protection mechanism, AXP228 can protect whole system by preventing
components from damage due to system abnormality.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 13/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Wakeup
sources
When application system works normally, AXP228 will be always monitoring the voltage and load status. If
overload or under-voltage occurs, the PWROK will instantly output low level to reset the system and prevent
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 14/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
The input sources of AXP228 include Li- Battery, external power ACIN (such as AC adapter or USB VBUS
input). IPS can select proper power allotting method according to external power and Li- Battery status.
o If only Li- Battery is available, and no external power input, Li- Battery is used for power input;
o If external power is available (VBUS or ACIN), it is preferred in power supply
o If Li- Battery is available, it will “Seamlessly” switch to Li- Battery once external power is removed
o When both VBUS and ACIN are available, ACIN will be applied to supply power in priority, and Li-
Battery will be charged.
o If the current of ACIN path is not enough, VBUS will be enabled to achieve ACIN/VBUS common power
supply
o If the current is still insufficient, charge current will be reduced to zero, and Battery is used for one of
power sources
Therefore, compatibility of the system with external powers of different drive ability can be dramatically
improved, and no special customized adapters are required to be provided on the part of manufacturers.
Please refer to the following diagram.
As shown above, when ACIN provides insufficient load ability, IPSOUT voltage will fall, and BAT will
change from charge status to discharge to supply load current together with ACIN.
Host can set IPS parameters and read the feedback by visiting internal registers in AXP228 via TWSI.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 15/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
default. In this mode, AXP228 ensures that VBUS voltage remains above a configurable reference voltage VHOLD
which can meet the USB specification. The default VHOLD is 4.4V, adjustable in Reg30H [5:3] register.
If the system need to limit the current obtained from USB VBUS, a current-limit mode is provided (See REG30H
[1] register), with 900mA/500mA (Reg30H [1:0]) selectable.
If the system just utilizes the USB for power supply rather than communication, or the USB power adapter is
utilized, AXP228 can be Set to “VBUS Direct Mode” by modifying register REG30H[6], and then AXP228 will
give priority to the application power demand. When the drive ability of USB Host is insufficient or system power
consumption is large so that the VBUS voltage is lower than VHOLD, AXP228 will release IRQ to indicate the
weak power supply ability of Host VBUS, which may affect USB communication, and then Host software will
follow up.
The following table has listed the status bits and meanings of external power registers.
The status bit of “indicating whether the VBUS voltage is above VHOLD or not when used” enables the Host to judge
when it receives IRQ7 (indicating weak supply ability) whether VBUS is pulled low by system load input or the
external power itself is below VHOLD, which may facilitate Host software to decide either to keep on working in
Voltage-Limit mode or switch to Direct mode.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 16/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
The two VWARNING, namely, LEVEL 1 and LEVEL 2, which can be defined differently in applications. For example,
use LEVEL1 to indicate insufficient power while LEVEL 2 can be used to indicate the oncoming shutdown.
Over-Voltage Protection
If the external power voltage exceeds 6.3V, AXP228 will release IRQ1/4 for indication. If the external power
voltage exceeds 7V, AXP228 will automatically shutdown the system.
AXP228 integrates a constant current/voltage PWM charger to automatically control the charge cycle, with a
built-in safety clock capable of automatic charge termination without processor intervention. This charger features
automatic charge current scaling in accordance with the system power consumption, as well as Battery detection,
trickle charge and activation. In addition, the built-in temperature detection circuit can automatically stop the
charge current when the temperature is too high or too low.
Charge Voltage/Current
VTRGT
ICHRG
VTRKL
ITRKL
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 17/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Charge Current
The charge current is 450mA or 1200mA by default, which can be Set by REG33H [3:0].
Charge Process
If the Battery voltage is lower than 3.0V, the charger will automatically enter the pre-charge mode, with charge
current be 1/10 of the preset value. If the Battery voltage is still below 3.0V 40 minutes later (adjustable, see
“REG34H”), charger will automatically enter the Battery activate mode. Refer to “ Battery Activate Mode” section
for details.
Once the Battery voltage exceeds 3.0V, the charger enters constant current mode. If the charge current is below
65% of the preset value, the system will release IRQ17 to indicate that “drive ability of external power is
insufficient, as a result, the charge current is lower than the pre-set value, which may lead to longer charge time, so
stronger power is preferred, or the power-consuming functions should be disabled to shorten the charge time.”
When the Battery voltage reaches the VTRGT, the charger will switch from the constant current mode to constant
voltage mode, and the charge current will fall.
When the charge current is lower than 10% or 15% (adjustable, see register “REG33H”) of the preset value, a
charge cycle ends, and AXP228 will release IRQ18 while the CHGLED pin will stop indicating the charging state.
When the Battery voltage is below VRCH again, the automatic charge will restart, and IRQ17 will be released.
In non-precharge mode, if the charge cycle is not ending after 480 minutes (adjustable, refer to register “REG34H”),
the charger will automatically enter the Battery activate mode.
In Battery activate mode, the charger always inputs relatively low current to batteries. AXP228 will exit activate
mode and release IRQ11 only if the Battery voltage has reached VRCH.
AXP228 will indicate whether the charger is in Battery activate mode or not in register REG01H.
CHGLED
CHGLED pin is used to indicate charge state and warning. There are four states, namely, charging, not charging,
Battery abnormal warning, and external power over-voltage warning. CHGLED is NMOS Open Drain output, so a
LED can be directly driven by a current-limit resistor to show the four states. The following table has displayed its
two operation modes.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 18/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
类型 A
Status 表现 注释
正在 Charge 低电平
不在 Charge 高阻
Battery 异常 25% duty 1Hz 跳变 Charge 器进入 Battery 激活模式,
或者 Battery 温度过高、
过低
过压 25% duty 4Hz 跳变 外部 Power 输入 Voltage 过高
类型 B
Status 表现 注释
正在 Charge 25% duty 1Hz 跳变
不在 Charge 高阻
Battery 异 常 及 25% duty 1Hz 跳变 Charge 器进入 Battery 激活模式,或者 Battery 温度过高、
输入过压 过低以及 Output Voltage 过高
无 Battery 低电平 无 Battery 接入
REG39/3DH
Li BAT VTH
BAT
10uF
C2
TS
NTC If be low, suspend
REG38/3CH Charger or
VTL Warning with IRQ
GND
VTE
In the diagram above, VTH/VTL refer to the high temperature threshold and low temperature threshold, which is
programmable via registers REG38H/39H/3CH/3DH respectively. VTE=0.2V. The temperature-sensitive resistor is
suggested to choose the NTC temperature-sensitive resistor, which is 10Kohm and 1% accuracy at 25℃. AXP228
will send constant current via TS pin, and the current can be Set as 20uA、40uA、60uA、and 80uA (See
registerREG84H) to adapt to different NTC resistors. When the current goes through the temperature-sensitive
resistor, a test voltage is generated, which will be measured by ADC, and compared with regulated value to release
corresponding IRQ or suspend the charge.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 19/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
If the resistance value of temperature-sensitive resistor is too high or too low, extra resistors can be serial or parallel
connected to expand the detect extent.
If the Battery is free from temperature-sensitive resistor, TS pin can be linked to the ground, and in that case,
AXP228 will automatically disable the Battery temperature monitoring function.
Battery Detection
AXP228 will automatically detect the Battery presence, record the result in registers (refer to REG01H) and release
IRQ8, IRQ9.
The Battery detection can be enabled and disabled by Host. (Refer to register REG32H.)
The following table has listed the multi-power outputs and their functions of AXP228.
Output Path 类型 默认 Voltage 启动步骤 应用举例 最大驱动能力
DCDC1 BUCK 3.3V 1 3.3V I/O 1400 mA
DCDC2 BUCK 1.1V 1 1.1V CPU 2500 mA
DCDC3 BUCK 1.1V 1 1.1VGPU 2500 mA
DCDC4 BUCK 1.1V 1 1.1V Core 600mA
DCDC5 BUCK 1.5/DC5SET 设定 1 1.5V DDR 2000mA
RTC-LDO LDO 3.0V 1 RTC 30 mA
ALDO1 LDO OFF OFF N/A 300 mA
ALDO2 LDO 1.8V 1 N/A 300 mA
ALDO3 LDO 3.0V 1 N/A 200mA
LDOIO0 LDO OFF OFF N/A 100 mA
LDOIO1 LDO OFF OFF N/A 100 mA
DLDO1 LDO OFF OFF N/A 400 mA
DLDO2 LDO OFF OFF N/A 200 mA
DLDO3 LDO OFF OFF N/A 200mA
DLDO4 LDO OFF OFF N/A 200 mA
ELDO1 LDO OFF OFF N/A 400 mA
ELDO2 LDO OFF OFF N/A 200 mA
ELDO3 LDO OFF OFF N/A 200mA
DC5LDO LDO 1.1V 1 N/A 200mA
DC1SW Switch OFF OFF N/A 400mA
AXP228 includes five synchronous step-down DC-DCs, fourteen LDOs, two switches, as well as multiple timing
and controlling configuration. The work frequency of DC-DC is 3MHz by default, which is adjustable via registers.
External small inductors and capacitors can be connected as well. In addition, both DC-DCs can be Set in fixed
PWM mode or auto mode (automatically switchable according to the load). See register REG80H.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 20/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
DC-DC1/2/3/4/5
DCDC3 output voltage ranges from0.6 V to 1.86V,and output voltage of DCDC2 is ranged from 0.6-1.54V,which
can be programmed via registers.( refer to “ register REG23H 27H”).
The output capacitor is recommended to use small ESR ceramic capacitors, for example 10uF X7R.The saturation
current of inductors used must 50% higher than the output current.
LDO 1
LDO1 is always on and can be used to supply continuous power for application RTC with 30mA drive ability
30mA.
ALDO1/2/3
Low noise LDO, output current is 300mA/300mA/200mA
LDOio0/LDOio1
Low noise LDO, output current is 100mA
Soft Start
All DC-DCs and LDOs support soft start which can avoid the impact of dramatic current change on the input path
in system boot stage.
All DC-DCs do not require external Schottky diodes and resister divider feedback circuits. If a certain DC-DC is
unnecessary in application, just float the corresponding LX pins.
The default voltage and power on/off sequence of each power can be Set by AXP228.
Power on Timing includes eight levels, and the interval between each level can be Set as 1、2、4、16 and 32mS.
Default voltage Set ting: each DC-DC/LDO Set ting ranges from the lowest voltage to the highest voltage.
Ordinary Battery monitor is to estimate the Battery energy by measuring the Battery voltage. However, the multiple
12-bit ADCs in AXP228 can measure Battery voltage, as well as Battery current. It also integrates the gauge
algorithm. According to these data, Host can get the remaining percentage Battery energy and other Battery data,
such as the system real-time consumption, remaining Battery energy, Battery charge progress, remaining Battery
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 21/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
The Enable state controlling and sampling rate of each ADC can be Set via register 84H. The sampling results will
be saved in corresponding registers, register REG00H[2] is used to indicate the Battery charge/discharge current
directions.
Channel 000H STEP FFFH
Battery Voltage 0mV 1.1mV 4.5045V
Bat discharge current 0mA 1mA 4.095A
Bat charge current 0mA 1mA 4.095A
Internal temperature -267.7℃ 0.1℃ 165.8℃
TS pin input 0mV 0.8mV 3.276V
GPIO[1:0]
Can be defined as GPIO[1:0], or LDO, etc. Please refer to REG90H-92H Instruction for details
CHGLED
Features charge state indication, over-temperature/over-voltage warning, and GPO. Please refer to REG32H
Instruction section for details.
9.8 Timer
AXP228 features a 7-bit internal timer, whose values can be programmed via register REG8AH[6:0]. The
minimum time step of timer is one minute, and the timing range is 1~127 minutes.
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 22/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
SCK … … … …
0 0 0 1 0 1
Register Slave
Start Slave Adress Slave Adress Master Drives
pA Adress pA S pA Drives
hA0 hA1 ACK and Stop
hCMD the Data
hNA P
SCK … … …
0 0 0 0
Register Host Sends
Start Slave Adress
pA Adress pA Data pA P
hA0
hCMD hDATA
Write
SCK … … … … …
R/ R/
SDA A6 … A0 W
ACK R7 … R0 ACK A6 … A0 W
ACK D7 … D0 ACK D7 … D0 ACK
0 0 0 1 0 0 1
Register Slave Slave P
Start Slave Adress Slave Adress Master
pA Adress pA S pA Drives Drives
hA0 hA1 ACK hNA
hCMD the Data the Data
hA
SCK … … … … …
A
SDA A5 … A0 R/ AC R
R6 … R0 AC D
D6
AC
… D0 K
R
R6 … R0 AC D
D6
AC
… D0 K
6 W K 7 K 7 7 K 7
0 0 0 0 0 0
Register Host Sends Register Host Sends P
Start Slave Adress
pA Adress pA Data pA Adress pA Data pA
hA0
hCMD hDATA hCMD hDATA
Write
Host can communication with AXP228 registers via the TWSI interface, and the operation timing is listed above.
Standard 100KHz or 400KHz frequency is supported, and the highest rate can reach 1.2MHz. In addition, multi
read and write operation is supported, and the device addresses are 69H (READ) and 68H (WRITE).
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 23/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
When certain events occur, AXP228 will inform Host by pulling down to the IRQ interrupt mechanism, and the
interrupt state will be reserved in interrupt state registers (See registers REG48H, REG49H, REG4AH, REG4BH
and REG4CH). The interrupt can be cleared by writing 1 to corresponding state register bit. When there is no
interrupt, IRQ output will be pulled high (51K resistance higher through the external). Each interrupt can be
masked via interrupt control registers (Refer to registers REG40H, REG41H, REG42H, REG43H, and REG44H).
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 24/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
10 REGISTER
Control Register List
Address Description R/W Default
00 Status REG R
01 Mode and charge status REG R
04-0F Data bugger REG R/W 00H
10 DCDC1/2/3/4/5&ALDO1/2&DC5LDO Control REG R/W BFH
12 ELDO1/2/3&DLDO1/2/3/4&DC1SW Control REG R/W 00H
13 ADLDO1/2/3 woke mode REG R/W 81H
15 DLDO1 Voltage Set REG R/W 00H
16 DLDO2 Voltage Set REG R/W 00H
17 DLDO3 Voltage Set REG R/W 00H
18 DLDO4 Voltage Set REG R/W 00H
19 ELDO1 Voltage Set REG R/W 00H
1A ELDO2 Voltage Set REG R/W 00H
1B ELDO3 Voltage Set REG R/W 00H
1C DC5LDO Voltage Set REG R/W 04H
21 DC-DC1 Voltage Set REG R/W 11H
22 DC-DC2 Voltage Set REG R/W 19H
23 DC-DC3 Voltage Set REG R/W 19H
24 DC-DC4 Voltage Set REG R/W 19H
25 DC-DC5 Voltage Set REG R/W 0AH
27 DC-DC2/3 Ramp control REG R/W 00H
28 ALDO1 Voltage Set REG R/W 00H
29 ALDO2 Voltage Set REG R/W 0BH
2A ALDO3 Voltage Set REG R/W 17H
30 VBUS-IPSOUT Path control REG R/W 60H
31 Sleep/wakeup and power off control REG R/W 03H
32 Power off and Battery detection REG R/W 43H
33 Charge control REG1 R/W C6H
34 Charge control REG2 R/W 45H
35 Charge control REG3 R/W 0EH
36 PEK parameter Set REG R/W 5DH
37 DCDC converter work frequency REG R/W 08H
38 Battery under temperature Set REG when charging R/W A5H
39 Battery over temperature Set REG when charging R/W 1FH
3C Battery under temperature Set REG when R/W FCH
discharging
3D Battery over temperature Set REG when R/W 16H
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 25/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 26/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Register Description
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 27/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Note: As long as one of the external powers, batteries or backup batteries exists, this data will be
reserved and free from the startup and shutdown influence.
Default: XXH
Bit Description R/W Default
7 ALDO2 Enable Set 0:Off; 1:On RW X
6 ALDO1 Enable Set RW X
5 DC-DC5 Enable Set RW X
4 DC-DC4 Enable Set RW X
3 DC-DC3 Enable Set RW X
2 DC-DC2 Enable Set RW X
1 DC-DC1 Enable Set RW X
0 DC5LDO Enable Set RW X
Note:X means that decided by the internal memory Set
Default: XXH
Bit Description R/W Default
7 DC1SW Enable Set 0:Off; 1:On RW 0
6 DLDO4 Enable Set RW 0
5 DLDO3 Enable Set RW 0
4 DLDO2 Enable Set RW 0
3 DLDO1 Enable Set RW X
2 ELDO3 Enable Set RW 0
1 ELDO2 Enable Set RW 0
0 ELDO1 Enable Set RW X
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 28/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:01H
Bit Description R/W Default
7 ALDO3 Enable Set 0:Off; 1:On RW 0
6-0 Reserved and unchangeable RW 0
Default: 00H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 DLDO1 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 DLDO1 Output Voltage Set Bit3 RW 0
2 DLDO1 Output Voltage Set Bit2 RW 0
1 DLDO1 Output Voltage Set Bit1 RW 0
0 DLDO1 Output Voltage Set Bit0 RW 0
Default: 00H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 DLDO2 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 DLDO2 Output Voltage Set Bit3 RW 0
2 DLDO2 Output Voltage Set Bit2 RW 0
1 DLDO2 Output Voltage Set Bit1 RW 0
0 DLDO2 Output Voltage Set Bit0 RW 0
Default: 00H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 DLDO3 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 DLDO3 Output Voltage Set Bit3 RW 0
2 DLDO3 Output Voltage Set Bit2 RW 0
1 DLDO3 Output Voltage Set Bit1 RW 0
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 29/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: 00H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 DLDO4 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 DLDO4 Output Voltage Set Bit3 RW 0
2 DLDO4 Output Voltage Set Bit2 RW 0
1 DLDO4 Output Voltage Set Bit1 RW 0
0 DLDO4 Output Voltage Set Bit0 RW 0
Default: 00H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 ELDO1 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 ELDO1 Output Voltage Set Bit3 RW 0
2 ELDO1 Output Voltage Set Bit2 RW 0
1 ELDO1 Output Voltage Set Bit1 RW 0
0 ELDO1 Output Voltage Set Bit0 RW 0
Default: 00H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 ELDO2 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 ELDO2 Output Voltage Set Bit3 RW 0
2 ELDO2 Output Voltage Set Bit2 RW 0
1 ELDO2 Output Voltage Set Bit1 RW 0
0 ELDO2 Output Voltage Set Bit0 RW 0
Default: 00H
Bit Description R/W Default
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 30/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: 04H
Bit Description R/W Default
7-3 Reserved and unchangeable
2 DC5LDO Output Voltage Set Bit2 0.7-1.4V,100mV/step RW 1
1 DC5LDO Output Voltage Set Bit1 RW 0
0 DC5LDO Output Voltage Set Bit0 RW 0
Default: 11H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 DC-DC1 Output Voltage Set Bit4 1.6-3.4V,100mV/step RW 1
3 DC-DC1 Output Voltage Set Bit3 RW 0
2 DC-DC2 Output Voltage Set Bit2 RW 0
1 DC-DC2 Output Voltage Set Bit1 RW 0
0 DC-DC2 Output Voltage Set Bit0 RW 1
Default:19H
Bit Description R/W Default
7-6 Reserved and unchangeable
5 DC-DC2 Output Voltage Set Bit5 0.6-1.54V,20mV/step RW 0
4 DC-DC2 Output Voltage Set Bit4 RW 1
3 DC-DC2 Output Voltage Set Bit3 RW 1
2 DC-DC2 Output Voltage Set Bit2 RW 0
1 DC-DC2 Output Voltage Set Bit1 RW 0
0 DC-DC2 Output Voltage Set Bit0 RW 1
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 31/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: 19H
Bit Description R/W Default
7-6 Reserved and unchangeable
5 DC-DC3 Output Voltage Set Bit5 0.6-1.86V,20mV/step RW 0
4 DC-DC3 Output Voltage Set Bit4 RW 1
3 DC-DC3 Output Voltage Set Bit3 RW 1
2 DC-DC3 Output Voltage Set Bit2 RW 0
1 DC-DC3 Output Voltage Set Bit1 RW 0
0 DC-DC3 Output Voltage Set Bit0 RW 1
Default: 19H
Bit Description R/W Default
7-6 Reserved and unchangeable
5 DC-DC4 Output Voltage Set Bit5 0.6-1.54V,20mV/step RW 0
4 DC-DC4 Output Voltage Set Bit4 RW 1
3 DC-DC4 Output Voltage Set Bit3 RW 1
2 DC-DC4 Output Voltage Set Bit2 RW 0
1 DC-DC4 Output Voltage Set Bit1 RW 0
0 DC-DC4 Output Voltage Set Bit0 RW 1
Default:0AH
Bit Description R/W Default
7-5 Reserved and unchangeable
4 DC-DC5 Output Voltage Set Bit4 1.0-2.55V,50mV/step RW 0
3 DC-DC5 Output Voltage Set Bit3 RW 1
2 DC-DC5 Output Voltage Set Bit2 RW 0
1 DC-DC5 Output Voltage Set Bit1 RW 1
0 DC-DC5 Output Voltage Set Bit0 RW 0
Default: 00H
Bit Description R/W Default
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 32/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: 00H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 ALDO1 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 ALDO1 Output Voltage Set Bit3 RW 0
2 ALDO1 Output Voltage Set Bit2 RW 0
1 ALDO1 Output Voltage Set Bit1 RW 0
0 ALDO1 Output Voltage Set Bit0 RW 0
Default: 0BH
Bit Description R/W Default
7-5 Reserved and unchangeable
4 ALDO2 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 0
3 ALDO2 Output Voltage Set Bit3 RW 1
2 ALDO2 Output Voltage Set Bit2 RW 0
1 ALDO2 Output Voltage Set Bit1 RW 1
0 ALDO2 Output Voltage Set Bit0 RW 1
Default: 17H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 ALDO3 Output Voltage Set Bit4 0.7-3.3V,100mV/step RW 1
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 33/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: 6XH
Bit Description R/W Default
7 VBUS-IPSOUT Path select Control when VBUS valid RW 0
0:decided by N_VBUSEN pin, N_VBUSEN=0,the path is on
1:VBUS-IPSOUT Path is On
6 VBUS VHOLD voltage limit set RW 1
0:not limited; 1:limited
5 VHOLD Set Bit 2 000: 4.0V; 001: 4.1V; 010: 4.2V RW 1
4 VHOLD Set Bit 1 011: 4.3V; 100: 4.4V; 101: 4.5V RW 0
3 VHOLD Set Bit 0 110: 4.6V; 111: 4.7V RW 0
2 DRIVEVBUS as GPO, Output Control RW 0
0: Output Low 1: Output High(IPSOUT)
1:0 VBUS current limit Control Set RW X
00 -900mA;01-500mA;1x-no current limit
Default:X3H
Bit Description R/W Default
7 PWROK status when Wakeup RW 0
0:do not output low 1:output low
6 Soft re-startup Control, write 1 to re-startup, then it self-clear RW 0
5 Software Wakeup Control, write 1 to restore the output voltage, then it RW 0
self-clear
4 When Wakeup function Enabled, IRQ triggered PMU Wakeup and IRQ
masked or not when Wakeup
0: IRQ triggered Wakeup,When Wakeup,all IRQ masked
1:IRQ work normal, but not triggered Wakeup
3 Wakeup Function Enable Set when Sleep
0: Wakeup function Off
1: Wakeup function On
It self-clear after write 1
2 VOFF Set Bit2 000-2.6V; 001-2.7V; 010-2.8V; RW 0
1 VOFF Set Bit1 011-2.9V; 100-3.0V; 101-3.1V; RW 1
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 34/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
REG 32H: Power off Set 、 Battery detection and CHGLED Control
Default:43H
Bit Description R/W Default
7 Power off Control RW 0
Write 1 to power off all output except LDO1
6 Battery detection Set : 0:Off; 1:On RW 1
5-4 CHGLED PIN Set 00: High-Z RW 00
01: 25% 0.5Hz toggle
10: 25% 2Hz toggle
11: Output Low
3 CHGLED PIN Control Set 0: REGREG 32HBit[5:4] Control RW 0
1: Controlled by charge module
2 Sequence when Power Output Off RW 0
0:All Power Output Off at the same time
1:Reverse to the power on sequence
1-0 PWROK delay after Power 00: 8ms; 01: 16ms; RW 10
Output ready 10: 32ms; 11:64ms
Default: CXH
Bit Description R/W Default
7 Charge Enable Control RW 1
0:Off, 1:On
6:5 Charge Voltage Set RW 10
00:4.1V; 01:4.22V; 10:4.2V; 11:4.24V
4 Charge end current Set RW 0
0: 10%
1: 15%
3-0 Charge current Set RW X
0000:300mA; 0001:450mA; 0010:600mA; 0011:750mA;
0100:900mA; 0101:1050mA; 0110:1200mA; 0111:1350mA;
1000:1500mA; 1001:1650mA; 1010:1800mA; 1011:1950mA;
1100:2100mA; 1101:2250mA; 1110:2400mA; 1111:2550mA
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 35/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: 45H
Bit Description R/W Default
7 Pre-Charge timeout Set Bit1 00: 40 min; 01: 50min; RW 0
6 Pre-Charge timeout Set Bit0 10: 60min; 11: 70min RW 1
5 Charge Output Off or On when charge finished RW 000
0:Off; 1:On
4 CHGLED function type 0
0:A 1:B
3 Reserved and unchangeable 0
2 Charge target voltage follow with the charge current or not 0
0:On 1:Off
2 Charge external Path Enable Set RW 0
0:Off; 1:On
1 Constant Current timeout set Bit1 00: 6Hours; 01: 8Hours; RW 0
0 Constant Current timeout set Bit0 10: 10Hours; 11: 12Hours RW 1
Default: 22H
Bit Description R/W Default
7:4 Reserved and unchangeable
3:0 Charge loop current limit Set RW 1110
0000:300mA; 0001:450mA; 0010:600mA; 0011:750mA;
0100:900mA; 0101:1050mA; 0110:1200mA; 0111:1350mA;
1000:1500mA; 1001:1650mA; 1010:1800mA; 1011:1950mA;
1100:2100mA; 1101:2250mA; 1110:2400mA; 1111:2550mA
Default:5DH
Bit Description R/W Default
7 Power on Time Set Bit1 00: 128mS; 01: 1S; RW 0
6 Power on Time Set Bit0 10: 2S; 11: 3S. RW 1
5 Long key Time Set Bit1 00: 1S; 01: 1.5S; RW 0
4 Long key Time Set Bit0 10: 2S; 11: 2.5S. RW 1
3 Hardwar Power off function Set when key down time longer than Power RW 1
off Time
0:Off; 1:On
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 36/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: 08H
Bit Description R/W Default
7 DC-DC and charger frequency-spread Set 0
0:Off 1:On
6 DC-DC and charger spread frequency Set 0
0:50KHz 1:100KHz
5 Reserved and unchangeable
4 DC-DC 2&3 Poly-phase Function Set X
0:Off 1:On
3 DC-DCSwitch frequency Set Bit 3 5%/step,Default 3MHz RW 1
2 DC-DCSwitch frequency Set Bit 2 RW 0
1 DC-DCSwitch frequency Set Bit 1 RW 0
0 DC-DCSwitch frequency Set Bit 0 RW 0
Default:A5H
Bit Description R/W Default
7-0 Battery under temperature Set M*10H RW A5H
when charge,M M=A5H:2.112V
Range:0V~3.264V
VLTF-charge = M *10H * 0.0008V
Default:1FH
Bit Description R/W Default
7-0 Battery over temperature Set N*10H RW 1FH
when charge,N N=1FH:0.397V
range:0V~3.264V
VHTF-charge = N *10H * 0.0008V
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 37/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default: FCH
Bit Description R/W Default
7-0 Battery under temperature Set M*10H RW FCH
when discharge,M M=FCH:3.226V
Range:0V~3.264V
VLTF-discharge = M *10H* 0.0008V
Default:16H
Bit Description R/W Default
7-0 Battery over temperature Set N*10H RW 16H
when discharge,N N=16H:0.282V
Range:0V~3.264V
VLTF-discharge = N *10H* 0.0008V
Default:80H
Bit Description R/W Default
7-5 Reserved and unchangeable
4 DC-DC5 Work mode Control 0:PFM/PWM auto switch RW 0
3 DC-DC4 Work mode Control 1:fixed PWM RW 0
2 DC-DC3 Work mode Control RW 0
1 DC-DC2 Work mode Control RW 0
0 DC-DC1 Work mode Control RW 0
Default:83H
Bit Description R/W Default
7 Battery Voltage ADC Enable 0:Off, 1:On RW 1
6 Battery Current ADC Enable RW 0
5 Internal temperature ADC Enable RW 0
4-1 Reserved and unchangeable
0 TS Pin ADC Enable 0:Off, 1:On RW 1
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 38/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:32H
Bit Description R/W Default
n
7 ADC Sample rate Set Bit 1 10× 2 RW 0
6 ADC Sample rate Set Bit 0 Sample rate: RW 0
100, 200, 400, 800Hz
5-4 TS Pin Output Current Set : RW 11
00:20uA; 01:40uA; 10:60uA; 11:80uA
3 Reserved and unchangeable
2 TS Pin function RW 0
0: Battery temperature detection,1:ADC Input
TS Pin Current Output Set 00:Off RW 1
1-0 01: Output Current when charging RW 0
10:Output Current when ADC sample
11: always On
Default:X0H
Bit Description R/W Default
n
7 TS ADC Sample rate Set 1 10× 2 RW 0
6 TS ADC Sample rate Set 0 Sample rate 分别为 100,200,400, RW 0
800Hz
5-0 Reserved and unchangeable
Default:00H
Bit Description R/W Default
7 Timer Timeout status: RW 0
1:timeout
Write 1 to clear this bit
6-0 Timer set,1min/step RW 0000000
Write 0 to disable the timer
Default:00H
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 39/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:00H
Bit Description R/W Default
7 DLDO1 controlled by PWREN 0:yes 1:no RW 0
6 DLDO2 controlled by PWREN RW 0
5 DLDO3 controlled by PWREN RW 0
4 DLDO4 controlled by PWREN RW 0
3 ELDO1 controlled by PWREN RW 0
2 ELDO2 controlled by PWREN RW 0
1 ELDO3 controlled by PWREN RW 0
0 DC5LDO controlled by PWREN RW 0
Default:01H
Bit Description R/W Default
7 IRQ PIN triggered Power on or Wakeup function Set RW 0
0:Off 1:On
6 ACIN/VBUS In-short function Set RW 0
0:auto detection 1:set by REG8F_[5]
5 ACIN/VBUS In-short status and Set RW 0
0:not In-short 1:In-short
4 N_VBUSEN PIN function Control RW X
0: Output Pin ,as DRIVEVBUS function(Output to enable the OTG 5V
Boost module)
1:Input Pin , Control VBUS Path
3 Reserved and unchangeable
2 AXP228 internal over temperature Power off function Set RW 0
0:do not Power off ; 1: Power off
1-0 Reserved and unchangeable RW 01
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 40/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:07H
Bit Description R/W Default
7 GPIO0 posedge triggered IRQ/wakeup or not when as input RW 0
0:no 1: yes
6 GPIO0 negedge triggered IRQ/wakeup or not when as input RW 0
0:no 1: yes
5-3 Reserved and unchangeable
2 GPIO0 Pin Function Set Bit 2 000: Output low RW 1
001: Output High
010:input Function
1 GPIO0 Pin Function Set Bit 1 011: low noise LDO Function On RW 1
100:low noise LDO Function Off
0 GPIO0 Pin Function Set Bit 0 101-111: floating RW 1
Default:1FH
Bit Description R/W Default
7-5 Reserved and unchangeable
4 GPIO0 LDO Output Voltage Set 0.7-3.3V,100mV/step RW 0
Bit4
3 GPIO0 LDO Output Voltage Set RW 0
Bit3
2 GPIO0 LDO Output Voltage Set RW 0
Bit2
1 GPIO0 LDO Output Voltage Set RW 0
Bit1
0 GPIO0 LDO Output Voltage Set RW 0
Bit0
Default:07H
Bit Description R/W Default
7 GPIO1 posedge triggered IRQ/wakeup or not when as input RW 0
0:no 1: yes
6 GPIO1 negedge triggered IRQ/wakeup or not when as input RW 0
0:no 1: yes
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 41/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:1FH
Bit Description R/W Default
7-5 Reserved and unchangeable
4 GPIO1 LDO Output Voltage Set 0.7-3.3V,100mV/step RW 0
Bit4
3 GPIO1 LDO Output Voltage Set RW 0
Bit3
2 GPIO1 LDO Output Voltage Set RW 0
Bit2
1 GPIO1 LDO Output Voltage Set RW 0
Bit1
0 GPIO1 LDO Output Voltage Set RW 0
Bit0
Default:00H
Bit Description R/W Default
7-2
1 GPIO1 input status 0:Low R
0 GPIO0input status 1:High R
Default:00H
Bit Description R/W Default
7-2 Reserved and unchangeable
1 GPIO1 pull down Control when 0:pull down resistor off RW 0
work as input 1:pull down resistor on
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 42/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:D8H
Bit Description R/W Default
7 ACIN over voltage IRQ Enable RW 1
6 ACIN insert IRQ Enable RW 1
5 ACIN remove IRQ Enable RW 0
4 VBUS over voltage IRQ Enable RW 1
3 VBUS insert IRQ Enable RW 1
2 VBUS remove IRQ Enable RW 0
1 VBUS valid but lower than VHOLDIRQ Enable RW 0
0 Reserved and unchangeable RW 0
Default:FFH
Bit Description R/W Default
7 Battery present IRQ Enable RW 1
6 Battery remove IRQ Enable RW 1
5 Battery enter active mode IRQ Enable RW 1
4 Exit Battery active mode IRQ Enable RW 1
3 Charging IRQ Enable RW 1
2 Charge finished IRQ Enable RW 1
1 Battery over temperature IRQ Enable RW 1
0 Battery under temperature IRQ Enable RW 1
Default:3BH
Bit Description R/W Default
7 AXP228 internal over temperature IRQ Enable RW 0
6-2 Reserved and unchangeable
1 Short key IRQ Enable RW 1
0 Long key IRQ Enable RW 1
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 43/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:C1H
Bit Description R/W Default
7-2 Reserved and unchangeable
1 Battery energy low warning level 1 IRQ Enable(information) RW 1
0 Battery energy low warning level 2 IRQ Enable(need to Power off) RW 1
Default:00H
Bit Description R/W Default
7 Timer Timeout IRQ Enable RW 0
6 PEK posedge IRQ Enable RW 0
5 PEK negedge IRQ Enable RW 0
4-2 Reserved and unchangeable
1 GPIO1 edge IRQ Enable RW 0
0 GPIO0 edge IRQ Enable RW 0
Default:00H
Bit Description R/W Default
7 ACIN over voltage IRQ RW 0
6 ACIN insert IRQ RW 0
5 ACIN remove IRQ RW 0
4 VBUS over voltage IRQ RW 0
3 VBUS insert IRQ RW 0
2 VBUS remove IRQ RW 0
1 VBUS valid but lower than VHOLDIRQ RW 0
0 Reserved and unchangeable RW 0
Default:00H
Bit Description R/W Default
7 Battery present IRQ RW 0
6 Battery remove IRQ RW 0
5 Battery enter active mode IRQ RW 0
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 44/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:00H
Bit Description R/W Default
7 AXP228 internal over temperature IRQ RW 0
6-2 Reserved and unchangeable
1 Short key IRQ RW 0
0 Long key IRQ RW 0
Default:00H
Bit Description R/W Default
7-2 Reserved and unchangeable
1 Battery energy low warning level 1 IRQ (information) RW 0
0 Battery energy low warning level 2 IRQ (need to Power off) RW 0
Default:00H
Bit Description R/W Default
7 Timer Timeout IRQ RW 0
6 PEK posedge IRQ RW 0
5 PEK negedge IRQ RW 0
4-2 Reserved and unchangeable
1 GPIO1 edge IRQ RW 0
0 GPIO0 edge IRQ RW 0
Note:Write 1 to these bit will clear the IRQ status
Default:C0H
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 45/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
Default:64H
Bit Description R/W Default
7 Battery result indication R 0
0:be calculated yet 1: calculating now
6-0 Battery gauge result 0%~100% R 64
Default:00H
Bit Description R/W Default
7 Battery full design capacity configured or not RW 0
0:not be configured 1:has been configured
6-0 Battery full design capacity bit[14:8] RW
Battery full design capacity = Value * 1.456mAh
Default:00H
Bit Description R/W Default
7-0 Battery full design capacity bit[7:0] RW
Default:A0H
Bit Description R/W Default
7:4 Battery low power warning level 1 Set RW 1010
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 46/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
0000-1111:5%-20%
6-0 Battery low power warning level 2 Set RW 0000
0000-1111:0%-15%
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 47/52
X-Powers AXP228
Enhanced Single Cell Li-Battery and Power System Management IC
11 PACKAGE
AXP228 Datasheet V1.1 Copyright © 2012 X-Powers Limited. All Rights Reserved PAGE 48/52