6500: a little SPI help

By oraivola , 28 May 2014

Folks,

I'm developing a driver to read the Acc/Gyro data off a 6500 with using
the SPI bus. After a few ups and downs, I've got the who_am_I Register
to read correctly, and the Acc registers to read correctly too (I think the
data is good, hard to tell if the LSBs are right).

I have two questions/problems:

1) For the Gyros (I read the registers sequentially btw), I need to insert
a very small delay between reads or I get 0x00s. Is there a timing
spec they I've missed here with the Gyros? I don't have the same
issue when reading the Acc registers in the same manner. Bus is
running 1.0 Mhz.

2) I've seen mention of a block mode read using SPI on this forum. I'd
like to try this but don't know how. Can anyone shed some light on this
subject, or post a simple code example.

thanks,

-Paul

phpbb Topic ID
16188