N900 Hardware Bus I2c

(Software)
m (Bus 3: link fix)
Line 20: Line 20:
===Bus 3===
===Bus 3===
* 0x0c [[N900 Hardware Autofocus|Lens focus ]]
* 0x0c [[N900 Hardware Autofocus|Lens focus ]]
-
* 0x1d [[N900 Hardware Accelerometer|Accelerometer]]
+
* 0x1d [[N900 accelerometer|Accelerometer]]
* 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]]
* 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]]

Revision as of 14:14, 16 June 2010

I2C is a simple serial bus, used in many devices.

Contents

Hardware

Bus 1

Bus 2

Bus 3

Software

The N900 software driving I2C comes in three flavors.

Firstly, there are a large number of kernel drivers.

Then, there are a small number of devices 'bit banged' through I2C ioctls - BME for example does this with the charge meter and battery charger.

Finally, there are probably some I2C components in the Rapuyama and assorted cellphone/GPS hardware. These are not visible to the casual developer. (you have to open the N900 and probe stuff, or hack the phone firmware).