02-19-2022 06:34 PM
Hi,
I migrated my application from BMI160 to BMI270 and I am having a few issues. Flat detect interrupt for example is not working as in BMI160. It used to trigger only when the gravity is on the z-axis. On BMI270, it's triggering in all orientation.
I tried to play with the settings but I can't get the behaviour I want.
Can you please help me understand how to configure this feature on the BMI270?
Thank you
02-22-2022 08:49 AM
Hi BSTRobin
Thank you for your reply.
I am already reading the interrupt status in interrupt mode. I can see the TAP interrupt status set correctly but nothing else.
Regards
02-23-2022 07:13 AM
Hello Katie2020,
Example code you run was polling mode to read int status.
I mean you could modify the code and use hardware pin to receive INT1 signal, then read int status at that time.
02-26-2022 09:17 AM
Hi BSTRobin
Thank you for your reply.
I am not sure I understand. I configured hardware pin for the interrupt.
Do you have an example? What apis do I need to use to get the correct behaviour?
Thank you
03-04-2022 02:40 AM
Hello Katie2020,
I will setup a code on MCU and give you feedback later.
03-05-2022 12:05 PM
Thank you very much.
Looking forward to your feedback.