04-25-2023 11:56 AM
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?
Solved! Go to Solution.
04-25-2023 04:28 PM
04-26-2023 11:40 AM
04-26-2023 02:18 PM
Hi,
As per the datasheet(BHI260AP) of yours we have gone through a point
In page 25 of BHI260AP datasheet it detailed mention the Connection Diagram and In Notes(1) it written to connect the Hostboot to VDDIO.
1.Hostboot should be HIGH (it select the host interface) in page 26 Topic-(Physical Primary Host Interface).
But in our case the Hostboot is LOW does it impact in SPI communication As it shows in your page 2 of your schematic(BHI260AP).
Can you please suggest us what to do with this query.
05-02-2023 07:11 AM
Hi,
We are waiting for your reply.Please guide us through this issue.
Additional info: we configured our master (samd51) with spi mode 0 and connected all connections without any pullup or pulldown resistor (as per datasheet). we have tried frequency in a range starting from 1MHZ to 50 MHZ none of them are working.