09-20-2020 08:47 PM
Hello there:
I want to enable anymotion feature on BMI270 but not map to any physical interrupt pins. MCU checks the status by reading INT_STATUS0 every 1 second through SPI. I am expecting bit 6 of INT_STATUS set flag as I move the sensor, but the output is alwasy 0. Below is how I do it.
Procedure:
I am pasting the code screeshot of each steps
Step 1: Initialization
Step 6 see the last line of code in the step 1 picture.
Step 7 read and display INT_STATUS
Couple note:
Appriciate your help. Thanks in advance.
09-20-2020 08:48 PM
Here is the print out of note 2 metioned in the post, as only 3 pictures are allowed in one post
09-25-2020 11:07 AM
Hi,
Please review the reference code in github, bmi270, any_motion_interrupt.c .
05-23-2022 12:39 PM
Hi, I am facing a similar issue with BMI270.
I am able to configure sensors and get acc and gyro data. after that, I configure the 0x2F with the value of 1. And then read to see the default value at 0x3C and 0x3E. and I get the value 0x0000. on checking all the addresses from 0x30-0x3F all show 0x00.
06-14-2022 07:44 AM
Hi trailbee47,
Suggest you directly use BMI270 sensor API and example code on github.
https://github.com/BoschSensortec/BMI270-Sensor-API