I am planning to use the BMA2x2_driver for my BMA253. I guess the BMA2x2_driver doesn't have that issue. So it is OK, thank you for the reply anyways. The reason I was posting a question was that: I am planning to use the BMA2x2_driver bma2x2.c for BMA253, and I want to set the low-g interrupt (freefall detection). But BMA2x2_driver bma2x2_support.c didn't have an example to set the low-g interrupt. So I was referencing the BMA2-Sensor-API example/low-g.c for setting up the BMA253 low-g interrupt. While I was looking at BMA2-Sensor-API, I came across the code above (BMA2-Sensor-API bma2.c v0.3.0) and it didn't look right for BMA253. I thought BMA2-Sensor-API supported BMA253 because it had an if statements for BMA2_BMA253_CHIP_ID in bma2_init() function.
... View more