N900 Hardware Bus I2c: Difference between revisions
From Maemo Wiki
Jump to navigationJump to search
imported>speedevil |
imported>amigadave m wikify slightly |
||
| Line 1: | Line 1: | ||
[ | [[:wikipedia:I2C|I2C]] is a simple serial bus, used in many devices. | ||
=Hardware= | ==Hardware== | ||
==Bus 1== | ===Bus 1=== | ||
* 0x48 0x49 0x4a 0x4b [[N900 Hardware Chipset|Gaia/chipset]] | * 0x48 0x49 0x4a 0x4b [[N900 Hardware Chipset|Gaia/chipset]] | ||
==Bus 2== | ===Bus 2=== | ||
* 0x18 0x19 [[N900 Hardware Audio Codec|Audio codec]] | * 0x18 0x19 [[N900 Hardware Audio Codec|Audio codec]] | ||
* 0x29 [[N900 Hardware Light Meter]] | * 0x29 [[N900 Hardware Light Meter]] | ||
| Line 18: | Line 18: | ||
* 0x10 [[N900 Hardware VGA Camera|VGA Camera (control)]] | * 0x10 [[N900 Hardware VGA Camera|VGA Camera (control)]] | ||
==Bus 3== | ===Bus 3=== | ||
* 0x0c [[N900 Hardware Autofocus|Lens focus ]] | * 0x0c [[N900 Hardware Autofocus|Lens focus ]] | ||
* 0x1d [[N900 Hardware Accelerometer|Accelerometer]] | * 0x1d [[N900 Hardware Accelerometer|Accelerometer]] | ||
* 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]] | * 0x3e [[N900 Hardware Camera Sensor|Front Camera (control)]] | ||
=Software= | ==Software== | ||
The | |||
The [[Nokia N900|N900]] software driving I2C comes in three flavours. | |||
Firstly, there are a large number of kernel drivers. | Firstly, there are a large number of kernel drivers. | ||
| Line 30: | Line 31: | ||
Then, there are a small number of devices 'bit banged' through I2C ioctls - BME for example does this. | Then, there are a small number of devices 'bit banged' through I2C ioctls - BME for example does this. | ||
Finally, there are probably some I2C components in the Rapuyama and assorted cellphone/GPS hardware. These are not visible to the casual developer. | 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). | ||
(you have to open the | |||
[[Category:N900 Hardware]] | [[Category:N900 Hardware]] | ||
Revision as of 12:27, 9 June 2010
I2C is a simple serial bus, used in many devices.
Hardware
Bus 1
- 0x48 0x49 0x4a 0x4b Gaia/chipset
Bus 2
- 0x18 0x19 Audio codec
- 0x29 N900 Hardware Light Meter
- 0x30 N900 Hardware Flash Torch
- 0x32 N900 Hardware LED
- 0x60 N900 Headphone Amplifier
- 0x63 FM receiver
- 0x55 N900 Hardware Charge Meter
- 0x6B N900 Hardware Battery Charger
- 0x10 VGA Camera (control)
Bus 3
- 0x0c Lens focus
- 0x1d Accelerometer
- 0x3e Front Camera (control)
Software
The N900 software driving I2C comes in three flavours.
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.
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).