I am confused about some information in the application notes for BMA456 (AN000, AN001, AN032). In the documents, the same offsets can stand for different features configuration, or the feature configuration procedures may differ for the same features. I do not know which document do I currently have to believe.
What is more, I am also confused about files bma456.c (.h) and bma456h.c (.h) in BOSCH drivers given here https://github.com/BoschSensortec/BMA456-Sensor-API
Which one is usable for new BMA456 applications? In bma456h.h, I am also confused about BMA456H_AUTO_LOW_POWER_OFFSET macro. Also, according to the mismatch of information between the application notes, shan't it be equal to 0x2C, or 0x58? Why 0x68 instead?
Sorry if all this sounds foolish, but I have already spent a week on understanding that:(
Solved! Go to Solution.
There are bma456.c(.h) and bma456h.c(.h) BMA456 driver code in github. bma456.c(.h) focus on wearable applicatoin, bma456h.c(.h) focus on hearable application. You could choose different driver code(bma456.x or bma456h.x) according your application.
First, what is your application?
Second, what functions does your application need?
Thanks for your reply. Got the difference between the files. Well, my application needs only the any- and no-motion features for now, but also an auto-low-power feature is necessary for it.
If you need auto-low-power feature, you should use the following driver code and example code:
Driver code: bma4.c, bma4.h, bma456h.c, bma456h.h, bma4_defs.h
Example code: https://github.com/BoschSensortec/BMA456-Sensor-API/tree/master/examples/bma456h/generic