N900 Hardware Bus I2c

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

Revision as of 14:52, 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).