01-15-2024 10:56 AM
Hi everyone,
For an asset tracker application, we use the BMA400 to wake-up the device on activity.
Now for some reason the BMA400 sometimes goes into sleep mode, not low-power mode. Which, as I understand it, prevents the wake-up trigger to be fired and will never wake-up our device on movement.
I verified this by checking the BMA400 power mode - using bma400_get_power_mode - when waking up by a heartbeat trigger.
I also verified that after configuring the BMA400 that the power mode is BMA400_NORMAL_MODE.
Any thoughts/ideas are highly appreceated.
01-15-2024 03:44 PM
Hi Boondocks9918,
You can refer to the knowledge base in community https://community.bosch-sensortec.com/t5/Knowledge-base/Introduction-about-BMA400-Auto-Wakeup-and-Au...
01-15-2024 03:59 PM
Hi BSTRobin,
Thank you for your reply.
I've consulted the knowledge base, and the interrupts are working well. There are just some cases where the BMA400 goes into sleep mode without the firmware telling it so (this functionality is nowhere in our codebase), at which point the interrupts ofc stop working.
So I wonder what it could be that would put the BMA400 into sleep mode, any idea?
PS: Out application corresponds to Auto wakeup and auto low power by activity, but I left out the configuration of GEN2 as it is not used (also not in the example) and just set it to BMA400_INACTIVE (as in the example).
Thanks!
01-17-2024 05:11 PM
Any more ideas @BSTRobin ?
Thanks!
03-11-2024 10:11 AM
Hi Boondocks9918,
BMA400 power mode only supports automatic switching between normal mode and low power mode.
If the power mode is switched from other modes to sleep mode, it may be because the sensor has received a command to enter sleep mode.