MPU9250 spi problem

Hi,

I have this imu: drotek.fr/shop/en/home/466-i … s5611.html
I’m trying to use it over SPI and so far I’ve only been able to use the MS5611.
The MPU9250 refuses to respond - all I get is zeros at all registers.
I’m using a raspberry pi as the master and I already did the following:

  • swap the CS lines between the baro and mpu. Baro still works, mpu doesn’t
  • tried several initialization procedures from the invensense website. Reset first and disable i2c next and the reverse, etc
  • all jumpers are disconnected except the spi/i2c which is connected to spi.

I looked at the diagram and I see that the cs_mpu pin is pulled up. The 9250 product specs mention that for SPI the CS line has to be pulled down to activate spi over i2c. Did you test spi with this imu? Can you shed some light on this pls?

Thanks,
Catalin

Hi,
I have also same problem.
According to MS5611 data sheet, it looks like PS pin should be low for SPI, so i set that jumper to 0.
Rest of jumpers are disconnected except SPI select.

Would be nice to know if someone managed to get SPI working
/Torbjörn

Hi again,
I just want to mention that I ordered another device to double check. New device works with both I2C and SPI, i now get data from MPU9250 & MS5611. Not sure why my first device did not work.

/Torbjörn

Very strange. Have you tested all voltage level on each pin of the boards?
Maybe there are differences between them.

[quote=“torbjorn”]Hi again,
I just want to mention that I ordered another device to double check. New device works with both I2C and SPI, i now get data from MPU9250 & MS5611. Not sure why my first device did not work.

/Torbjörn[/quote]

Can you detail how you made the connections and the jumper configuration pls?
Also, how do you initialize the 9250 registers for SPI?

Thanks a lot