ITG 3200 gyro on XC-1A

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
cicga
Active Member
Posts: 51
Joined: Tue Oct 11, 2011 4:48 pm

ITG 3200 gyro on XC-1A

Post by cicga »

Hi all,

does somebody has an experience how to use ITG3200 gyro with xmos?
the problem that i have is that in i2c you have to send address of device that you want to read/write,
but ITG3200 has his device ID address and internal registers addresses for xyz axes.

so how its possible to read from device ( one address) registers - other internal register address?

thanks
cicga


User avatar
waluigi
Member++
Posts: 22
Joined: Sun Nov 07, 2010 6:33 pm

Post by waluigi »

I've used the ITG3200 with an XMOS I2C master, but I don't remember anything wierd about the I2C command sequence - the ITG has it's I2C address and register addresses listed in the datasheet, as well as the command ordering (page 20).
cicga
Active Member
Posts: 51
Joined: Tue Oct 11, 2011 4:48 pm

Post by cicga »

hi waluigi,

I never used i2c before. i am trying to read gyro address by sending request WHO_AM_I - 0x00; and have nothing back. I check sda and scl line with logic analyzer and sequence look right like in docs but gyro did not sending back it's address = 0x69.

pls help
cicga
Post Reply