Hi, i have a ITG3200, but i can't understand something.using "normal" i2c speed (TWI_FREQ = 100000L) i can read sample at about 1kHzusing "fast" i2c speed (TWI_FREQ = 400000L) i can read sample at about 2.8kHznow, this sensor can sampe at 8kHz, and only support i2c protocol.How am i supposed to read the sample at full speed?I'm using the standard (ide 1.0) wire.h , maybe it's the library that is too much slow?
you can set the I2C freq also to TWI_FREQ = 800000L for most sensors, just give it a try.I expect the effective data rate will go up to 3.8~4Khz.The fact that you do not get the maximum out of it is because the Arduino is "single threaded" so all overhead is done sequentially resulting in lower effective throughput.
what symptoms shall i get
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16