Overview

Driver for InvenSense ITG-3200 gyroscope.

Resources

All correct at time of writing, but as always, manufacturers love to move things around on their website.

Web page

http://invensense.com/mems/gyro/itg3200.html

Datasheet

http://invensense.com/mems/gyro/documents/RM-ITG-3200A.pdf

Test hardware

This code has been tested using a SolderCore CoreGyro module:

http://soldercore.com/products/sensecore/coregyro/

This was wired to a CoreProto and plugged into a SenseCore:

http://soldercore.com/products/sensecore/

And finally installed on a SolderCore:

http://soldercore.com/products/soldercore/

Specification
Parameter Supported settings
Bandwidth (Hz) 8 kHz to 31.25 Hz in 256 division steps.
Range (dps) 2000 (fixed)
Communication up to 400 kHz (I2C)

API Summary

Macros
ITG3200_I2C_ADDR ITG-3200 8-bit I2C address selected with AD0 signal
Functions
itg3200_initialize_i2c Initialize sensor on I2C bus
itg3200_read_die_temperature Read die temperature