I am using BMA423 for testing & evaluation purpose.I have to use activity/motion detection which comes under wearable features.To enable wearable features, i have downloded configuration file from bosch sensortech. Please see Attachment_1
I am trying to initialize BMA423 by loading configuration file to enable wearable features, for which i am following sequential steps as mentioned in bma423 application note.Please see Attachment_2
I am trying to write config file to 0x5E(feature_In) register in several steps of 2-2 Bytes.
I am taking care of necessary register settings before loading config file.Loading does not complete and it produces error after writing few Bytes of config file. Further as the configuration is not completed, 0x2A register does not Read 0b1.
Please tell me the correct steps/procedure to load configuration file to enable wearable features.
I know it is a long long time ago, but I am struggling with the same problems as you and the Bosch support is not existing. The stereotype answer is: have a look at the example code... but as you mentioned they used registers 0x5B and 0x5C which are not explained in the datasheets. I got the feeling that even at Bosch nobody really understands this sensor. But my question and hope are: do you get this part working now? I'm working my way through the sample code line by line, but all this is of no use if the registers used there are apparently unknown. I don't have much hope that you will receive my message at all because even this community system doesn't seem to work. You don't even get a notification when someone has replied to a post.
The sensor API is general drivers provided by us, which can be easily ported to different MCU platforms. So let's refer to the example code, we confirm that the sensor API and the example can work normally. It seems that you do not directly use the sensor API, but use the code you wrote to access the sensor.
I had the same, the datasheet does not explain registers 0x5B or 0x5C and does not explain how you read/write the FEATURES_IN at all.
I eventually got it working with my own code - does this help? https://www.revk.uk/2023/07/bma423.html
By using the config file, the sensor will support some algorithms without the need for the host to develop them. Otherwise, the sensor will only support outputting raw data.
Hi RevK, Aishwarya,
In fact, you don't need to concern about how the config file is loaded. We don't disclose the details of how the config file is loaded. The code for loading config files has been implemented in the sensor API, and you only need to run this code.