Page 1 of 1

ITG 3200 gyro on XC-1A

Posted: Thu Nov 17, 2011 9:46 pm
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

Re: ITG 3200 gyro on XC-1A

Posted: Mon Nov 21, 2011 5:26 pm
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).

Re: ITG 3200 gyro on XC-1A

Posted: Mon Nov 21, 2011 8:45 pm
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