SPI interface with bhi260ap and ATSAMD51 MCU

Hi,

I am using bhi260ap IMU for my project from command line as well as low level interface i can able to communicate with imu via I2C, but if i try to do the same with SPI i couldn't able to do it with either way.please help me with this issue.

Steps followed:

1.Directly connected IMU sensor with MCU which is having 1.8V as supply and communication voltage(Not working).
2.Using a level shifter, connected 3.3V supply MCU to IMU. connected MISO,MOSI,SCK,SS and VDD,VDDIO(1.8V given) and ground connected(Not working).

NOTE: Above two steps are working fine with I2C interface with their respective connections.

We have gone through the entire Datasheet and still this issue persisit. Is there any other connection required for SPI?

Best reply by BSTRobin

Hi rajesh_s,

Prevous example code run on STM32F401, has no dependency library from coines.
We confirmed previous example can run on STM32, you can check your host software code even you can't run example code on STM32.

For SPI/I2C communictaion timing with host, you can refer chapter 19.5 Timing Characteristics in BHI260AP  data sheet.

View original
14 replies
Resolved