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.
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
Appriciate your help. Thanks in advance.