Difference between revisions of "I2C Registers"
Jump to navigation
Jump to search
Line 69: | Line 69: | ||
== I2C Devices == | == I2C Devices == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
− | ! Device | + | ! Device id |
+ | ! Device bus id | ||
! Device address | ! Device address | ||
! Device description | ! Device description | ||
|- | |- | ||
+ | | 0 | ||
| 1 | | 1 | ||
| 0x4a | | 0x4a | ||
| Power management?(same device addr as the DSi power-management) | | Power management?(same device addr as the DSi power-management) | ||
|- | |- | ||
+ | | 1 | ||
| 1 | | 1 | ||
| 0x7a | | 0x7a | ||
| Camera0?(same dev-addr as DSi cam0) | | Camera0?(same dev-addr as DSi cam0) | ||
|- | |- | ||
+ | | 2 | ||
| 1 | | 1 | ||
| 0x78 | | 0x78 | ||
| Camera1?(same dev-addr as DSi cam1) | | Camera1?(same dev-addr as DSi cam1) | ||
|- | |- | ||
+ | | 3 | ||
| 2 | | 2 | ||
| 0x4a | | 0x4a | ||
| ? | | ? | ||
|- | |- | ||
+ | | 4 | ||
| 2 | | 2 | ||
| 0x78 | | 0x78 | ||
| ? | | ? | ||
|- | |- | ||
+ | | 5 | ||
| 2 | | 2 | ||
| 0x2c | | 0x2c | ||
| ? | | ? | ||
|- | |- | ||
+ | | 6 | ||
| 2 | | 2 | ||
| 0x2e | | 0x2e | ||
| ? | | ? | ||
|- | |- | ||
+ | | 7 | ||
| 2 | | 2 | ||
| 0x40 | | 0x40 | ||
| ? | | ? | ||
|- | |- | ||
+ | | 8 | ||
| 2 | | 2 | ||
| 0x44 | | 0x44 | ||
| ? | | ? | ||
|- | |- | ||
+ | | 9 | ||
| 3 | | 3 | ||
| 0xa6 | | 0xa6 | ||
| ? | | ? | ||
|- | |- | ||
+ | | 10 | ||
| 3 | | 3 | ||
| 0xd0 | | 0xd0 | ||
| ? | | ? | ||
|- | |- | ||
+ | | 11 | ||
| 3 | | 3 | ||
| 0xd2 | | 0xd2 | ||
| ? | | ? | ||
|- | |- | ||
+ | | 12 | ||
| 3 | | 3 | ||
| 0xa4 | | 0xa4 | ||
| ? | | ? | ||
|- | |- | ||
+ | | 13 | ||
| 3 | | 3 | ||
| 0x9a | | 0x9a | ||
| ? | | ? | ||
|- | |- | ||
+ | | 14 | ||
| 3 | | 3 | ||
| 0xa0 | | 0xa0 |
Revision as of 13:18, 6 January 2013
Registers
NAME | PHYSICAL ADDRESS | PROCESS ADDRESS | WIDTH |
---|---|---|---|
REG_I2C1DATA | 0x10116100 | 0x1EC16100 | 1 |
REG_I2C1CNT | 0x10116101 | 0x1EC16101 | 1 |
REG_I2C1CNTEX | 0x10116102 | 0x1EC16102 | 2 |
REG_I2C1SCL | 0x10116104 | 0x1EC16104 | 2 |
REG_I2C2DATA | 0x10114400 | 0x1EC14400 | 1 |
REG_I2C2CNT | 0x10114401 | 0x1EC14401 | 1 |
REG_I2C2CNTEX | 0x10114402 | 0x1EC14402 | 2 |
REG_I2C2SCL | 0x10114404 | 0x1EC14404 | 2 |
REG_I2C3DATA | 0x10114800 | 0x1EC14800 | 1 |
REG_I2C3CNT | 0x10114801 | 0x1EC14801 | 1 |
REG_I2C3CNTEX | 0x10114802 | 0x1EC14802 | 2 |
REG_I2C3SCL | 0x10114804 | 0x1EC14804 | 2 |
I2C Devices
Device id | Device bus id | Device address | Device description |
---|---|---|---|
0 | 1 | 0x4a | Power management?(same device addr as the DSi power-management) |
1 | 1 | 0x7a | Camera0?(same dev-addr as DSi cam0) |
2 | 1 | 0x78 | Camera1?(same dev-addr as DSi cam1) |
3 | 2 | 0x4a | ? |
4 | 2 | 0x78 | ? |
5 | 2 | 0x2c | ? |
6 | 2 | 0x2e | ? |
7 | 2 | 0x40 | ? |
8 | 2 | 0x44 | ? |
9 | 3 | 0xa6 | ? |
10 | 3 | 0xd0 | ? |
11 | 3 | 0xd2 | ? |
12 | 3 | 0xa4 | ? |
13 | 3 | 0x9a | ? |
14 | 3 | 0xa0 | ? |
I2CCNT
BIT | DESCRIPTION |
---|---|
0 | HOLD (0=Last byte of transaction, 1=More bytes coming) |
2 | Error flag/ack? |
4 | Read mode related? |
5 | Read mode? |
6 | IRQ enable? |
7 | Enable? |