Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[General] BMA250e accelerometer

Status
Not open for further replies.

Ravindrakant Jha

Junior Member level 2
Joined
Nov 2, 2014
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Location
India
Activity points
274
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.
 

one possibility is making sure that the sensor is working.

use regr 0x32 for this.

1lsb of hysterisis equal to 62.5mg means the change in reversal of direction required before activation.
 

Hello,
What do we mean by offset compensation inside an accelerometer?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top