IMU SPI works with Arduino Uno but not on RPi 3

I have successfully tested ADIS16477 (3.3V IMU) with PX4 autopilot code on Raspberry Pi 3 B+ by modifying the driver for 8-bit SPI mode. But when I tried to test ADIS16362 (5V IMU) on RPi 3 by modifying the driver for 8-bit SPI and sensor specific parameters it failed and there is no data on MISO line.

To cross check I have tested ADIS16362 on Arduino Uno with a simple code similar to the one used for the driver and it works fine in 8-bit SPI mode. The datasheet of ADIS16362 says SPI I/O lines are compatible with 3.3V or 5V logic levels and for that reason I am directly connecting the IMU with RPi SPI.

I have also verified the MOSI, SCLK and CS signals on a scope and they seems to be fine, but no data on MISO.

Any thoughts?

Consider posting Raspberry Pi problems on the Raspberry Pi forum.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.