pmic
This is an old revision of the document!
PMIC
The gamepad's power management IC is a Texas Instruments SN1010007. So far no datasheet has been found.
It is connected to the UIC's I2C bus, where its device ID is 0x48.
I2C communications
Communications to the PMIC always start by writing one byte, which is likely a register ID/address. Then further bytes are written or read in order to access the registers themselves.
The UIC firmware has code for accessing the following registers:
Register | Description |
---|---|
0x01 | Charge status – bit6=AC, bit7=USB (1=connected) |
0x02 | ?? |
0x03 | ?? |
0x04 | ?? |
0x06 | ?? |
0x07 | ?? |
0x08 | ?? – seemingly accessed after 0x07 |
0x09 | Battery level LSB (format/bounds unknown) |
0x0A | Battery level MSB |
0x0D | ?? |
0x0F | ?? |
0x18 | Backlight related – 0x90=on 0x10=off |
0x19 | Backlight related – maybe timeout/delay? |
Which battery level is read out of registers 0x09/0x0A seems to depend on settings in register 0x07.
pmic.1734961495.txt.gz · Last modified: 2024/12/23 13:44 by arisotura