Ravindrakant Jha
Junior Member level 2
hello All,
I am using BMA250e accelerometer in my project,but i am unable to get the interrupt generated when orientation changes for an e.g. Portrait to landscape mode.
the way i am proceeding is as follows.
1.Map the orientation interrupt to a particular Interrupt pin (INT1 and INT2) in code I mapped it to
INT2 ,(INT_MAPPING2 , 0x40) orientation interrupt.
2.Setting the orient mode ,that is value of hysteresis and mode of orientation interrupt .
for e.g.symmetrical,high asymmetrical or low asymmetrical
3.Enable the orientation interrupt using register INT_ENABLE0 setting it to 0x40.
4.Checking the status of register from INT_STATUS3 for any orientation
question -i don't understand the line that 1 LSB of hysteresis corresponds to 62.5 mg
secondly the way i am proceeding is correct.
I am using BMA250e accelerometer in my project,but i am unable to get the interrupt generated when orientation changes for an e.g. Portrait to landscape mode.
the way i am proceeding is as follows.
1.Map the orientation interrupt to a particular Interrupt pin (INT1 and INT2) in code I mapped it to
INT2 ,(INT_MAPPING2 , 0x40) orientation interrupt.
2.Setting the orient mode ,that is value of hysteresis and mode of orientation interrupt .
for e.g.symmetrical,high asymmetrical or low asymmetrical
3.Enable the orientation interrupt using register INT_ENABLE0 setting it to 0x40.
4.Checking the status of register from INT_STATUS3 for any orientation
question -i don't understand the line that 1 LSB of hysteresis corresponds to 62.5 mg
secondly the way i am proceeding is correct.