we are developing a werable and have the need for orientation detection.
Checking the datasheet we choose the bmi090l as it has the so called acc enhanced feature set, which provides such abilities like "Orientation detection".
Using some parts needed from the provided API on GitHub and along the datasheet we tried enabeling this "orientation detection" feature set.
Still we can´t get it running.
Reading the corresponding registries for enabling the feature set gives gives us the result, that it should be activated correctly.
How to properly enable this feature set?
Is the provided sub address in the api correct: #define BMI090L_ORIENT_START_ADR UINT8_C(0x09)
As the datasheet says: ORIENT_1 is in 0x5E:0x12
Used routine for enabeling the feature set:
1. Enable ACC power control
2. activate ACC power conf
3. Set acc range
4. Set acc conf (output data rate)
5. write feature set at 0x5E with "BMI090L_ORIENT_START_ADR = UINT8_C 0x09" offset. (mode,blocking,theta,hysteresis,enable,ud_en)
6. Enable ACC init ctrl
Did we miss anything or is there anything to to special when enabeling this feature set?
Solved! Go to Solution.