Line 161:
Line 161:
The proprietary and by now ancient DS-mode WiFi is colored yellow, pins are unknown.
The proprietary and by now ancient DS-mode WiFi is colored yellow, pins are unknown.
−
I2C eeprom is colored blue:
+
I²C eeprom is colored blue:
* SCL
* SCL
* SDA
* SDA
Line 177:
Line 177:
Monitors HOME button, WiFi switch, 3D slider, volume control slider.
Monitors HOME button, WiFi switch, 3D slider, volume control slider.
−
Controls LEDs, various power supplies.
+
Controls LEDs, various power supplies via an I²C connection to the PMIC.
−
Devices attached to I2C bus:
+
Two I²C buses are attached to the MCU. For one, the SoC is the master; for the other, the MCU is the master.
−
* UC (master?)
+
+
Devices attached to MCU master I²C bus:
+
* MCU (master)
+
* Fuel Gauge
* Accelerometer (slave address 0x18)
* Accelerometer (slave address 0x18)
−
* SoC (master? slave?)
+
* PMIC
+
* maybe more?
+
+
Devices attached the the SoC master I²C bus:
+
* SoC (master)
+
* MCU
+
* LCD
+
* Camera
+
* QTM (New3DS-only)
The MCU uses the [http://mcs.uwsuper.edu/sb/327/Resources/RL78.pdf RL78 ISA].
The MCU uses the [http://mcs.uwsuper.edu/sb/327/Resources/RL78.pdf RL78 ISA].
The MCU uses some custom Special Function Registers, but documentation for much of the hardware protocol/general SFRs can be found [http://courses.ee.sun.ac.za/Computer_Systems_245/Dokumentasie/RL78%20hardware%20manual%20(registers).pdf here].
The MCU uses some custom Special Function Registers, but documentation for much of the hardware protocol/general SFRs can be found [http://courses.ee.sun.ac.za/Computer_Systems_245/Dokumentasie/RL78%20hardware%20manual%20(registers).pdf here].