This section details the error and reset related registers.
Registers
Instances
| Instance | Base address | Description |
|---|---|---|
| ERRLOG | 0x00000E00 |
Error Log registers ERRLOG register map |
Register overview
| Register | Offset | Description |
|---|---|---|
| TASKCLRERRLOG | 0x0 |
Task to clear the Errlog registers |
| SCRATCH0 | 0x1 |
Boot monitor control and scratch register 0 |
| SCRATCH1 | 0x2 |
Scratch register 1 |
| RSTCAUSE | 0x3 |
Reset reasons. Cleared with TASKCLRERRLOG |
| CHARGERERRREASON | 0x4 |
Error log for charger. Cleared with TASKCLRERRLOG |
| CHARGERERRSENSOR | 0x5 |
Error log for charger. Cleared with TASKCLRERRLOG |
TASKCLRERRLOG
Address offset: 0x0
Task to clear the Errlog registers
| Bit number | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | A | ||||||||||||||||||||||||||||||||||
| Reset 0x00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
W |
TASKCLRERRLOG |
Clear registers RSTCAUSE, CHARGERERRREASON and CHARGERERRSENSOR |
||||||||||||||||||||||||||||||||
SCRATCH0
Address offset: 0x1
Boot monitor control and scratch register 0
| Bit number | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | B | B | B | B | B | B | B | A | |||||||||||||||||||||||||||
| Reset 0x00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
RW |
BOOTTIMEREN |
Enable boot monitor timer, only cleared by POR |
||||||||||||||||||||||||||||||||
|
NOBOOTMON |
0 |
Boot monitor disable |
|||||||||||||||||||||||||||||||||
|
BOOTMON |
1 |
Boot monitor enable |
|||||||||||||||||||||||||||||||||
| B |
RW |
SCRATCH0 |
Scratch register, only cleared by POR |
||||||||||||||||||||||||||||||||
SCRATCH1
Address offset: 0x2
Scratch register 1
| Bit number | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | A | A | A | A | A | A | A | A | |||||||||||||||||||||||||||
| Reset 0x00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
RW |
SCRATCH1 |
Scratch register, only cleared by POR |
||||||||||||||||||||||||||||||||
RSTCAUSE
Address offset: 0x3
Reset reasons. Cleared with TASKCLRERRLOG
| Bit number | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | G | F | E | D | C | B | A | ||||||||||||||||||||||||||||
| Reset 0x00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
R |
SHIPMODEEXIT |
Reset caused by Ship mode exit |
||||||||||||||||||||||||||||||||
|
NORST |
0 |
No reset |
|||||||||||||||||||||||||||||||||
|
RST |
1 |
Reset activated by Ship mode exit |
|||||||||||||||||||||||||||||||||
| B |
R |
BOOTMONITORTIMEOUT |
Reset caused by boot monitor timeout |
||||||||||||||||||||||||||||||||
|
NORST |
0 |
No reset |
|||||||||||||||||||||||||||||||||
|
RST |
1 |
Reset activated by boot monitor |
|||||||||||||||||||||||||||||||||
| C |
R |
WATCHDOGTIMEOUT |
Reset caused by watchdog timeout |
||||||||||||||||||||||||||||||||
|
NORST |
0 |
No reset |
|||||||||||||||||||||||||||||||||
|
RST |
1 |
Reset activated by watchdog |
|||||||||||||||||||||||||||||||||
| D |
R |
LONGPRESSTIMEOUT |
Reset caused by long press reset |
||||||||||||||||||||||||||||||||
|
NORST |
0 |
No reset |
|||||||||||||||||||||||||||||||||
|
RST |
1 |
Long press reset |
|||||||||||||||||||||||||||||||||
| E |
R |
THERMALSHUTDOWN |
Reset caused by thermal shutdown (TSD) |
||||||||||||||||||||||||||||||||
|
NORST |
0 |
No reset |
|||||||||||||||||||||||||||||||||
|
RST |
1 |
Reset activated by TSD |
|||||||||||||||||||||||||||||||||
| F |
R |
VSYSLOW |
Reset caused by power failure (POF) |
||||||||||||||||||||||||||||||||
|
NORST |
0 |
No reset |
|||||||||||||||||||||||||||||||||
|
RST |
1 |
Reset activated by POF |
|||||||||||||||||||||||||||||||||
| G |
R |
SWRESET |
Reset caused by TASKSWRESET |
||||||||||||||||||||||||||||||||
|
NORST |
0 |
No reset |
|||||||||||||||||||||||||||||||||
|
RST |
1 |
Reset activated by TASKSWRESET |
|||||||||||||||||||||||||||||||||
CHARGERERRREASON
Address offset: 0x4
Error log for charger. Cleared with TASKCLRERRLOG
| Bit number | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | G | F | E | D | C | B | A | ||||||||||||||||||||||||||||
| Reset 0x00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
R |
NTCSENSORERR |
NTC thermistor sensor error |
||||||||||||||||||||||||||||||||
| B |
R |
VBATSENSORERR |
VBAT sensor error |
||||||||||||||||||||||||||||||||
| C |
R |
VBATLOW |
VBAT low error |
||||||||||||||||||||||||||||||||
| D |
R |
VTRICKLE |
Vtrickle error |
||||||||||||||||||||||||||||||||
| E |
R |
MEASTIMEOUT |
Measurement timeout error |
||||||||||||||||||||||||||||||||
| F |
R |
CHARGETIMEOUT |
Charge timeout error |
||||||||||||||||||||||||||||||||
| G |
R |
TRICKLETIMEOUT |
Trickle timeout error |
||||||||||||||||||||||||||||||||
CHARGERERRSENSOR
Address offset: 0x5
Error log for charger. Cleared with TASKCLRERRLOG
| Bit number | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ID | H | G | F | E | D | C | B | A | |||||||||||||||||||||||||||
| Reset 0x00 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |||||||||||||||||||||||||||
| ID | R/W | Field | Value ID | Value | Description | ||||||||||||||||||||||||||||||
| A |
R |
SENSORNTCCOLD |
NTC cold region active when error occurs |
||||||||||||||||||||||||||||||||
| B |
R |
SENSORNTCCOOL |
NTC cool region active when error occurs |
||||||||||||||||||||||||||||||||
| C |
R |
SENSORNTCWARM |
NTC warm region active when error occurs |
||||||||||||||||||||||||||||||||
| D |
R |
SENSORNTCHOT |
NTC hot region active when error occurs |
||||||||||||||||||||||||||||||||
| E |
R |
SENSORVTERM |
Vterm status when error occurs |
||||||||||||||||||||||||||||||||
| F |
R |
SENSORRECHARGE |
Recharge status when error occurs |
||||||||||||||||||||||||||||||||
| G |
R |
SENSORVTRICKLE |
Vtrickle status when error occurs |
||||||||||||||||||||||||||||||||
| H |
R |
SENSORVBATLOW |
Vbatlow status when error occurs |
||||||||||||||||||||||||||||||||