MMA8452Q

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MMA8452Q

Jump to solution
3,684 Views
georgek
Contributor II

Hi,

I am currently developing a DSC application with the MMA8452Q accelerometer.

After power on reset, is the INT1/2 pin value "HIGH"?

Thanks for your clarification,

George

Labels (1)
0 Kudos
1 Solution
3,524 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

George,

The interrupt pins can be configured to be push-pull or open drain and can be either active high or active low. This is done in the CTRL_REG3 (0x2C) register. Bit 0 (PP_OD) sets the configuration of the interrupt pins to be open drain or push pull and bit 1 (IPOL) sets the polarity, either active high or active low.

Default configuaration is push-pull (PP_OD = 0) and active low (IPOL = 0) as shown in table 60 of the datasheet, so after power-on reset the INT1/2 pins will be high – inactive, as you correctly stated.

I hope this helps.

Regards,

Tomas

View solution in original post

0 Kudos
3 Replies
3,525 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

George,

The interrupt pins can be configured to be push-pull or open drain and can be either active high or active low. This is done in the CTRL_REG3 (0x2C) register. Bit 0 (PP_OD) sets the configuration of the interrupt pins to be open drain or push pull and bit 1 (IPOL) sets the polarity, either active high or active low.

Default configuaration is push-pull (PP_OD = 0) and active low (IPOL = 0) as shown in table 60 of the datasheet, so after power-on reset the INT1/2 pins will be high – inactive, as you correctly stated.

I hope this helps.

Regards,

Tomas

0 Kudos
3,524 Views
georgek
Contributor II

Thanks for your prompt and clear response, Tomas!

Best regards,

George

0 Kudos
3,524 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

You are welcome, George.

Have a good day and thanks for using Freescale community.

Regards,

Tomas

0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-248257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMMA8452Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-248257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EI%20am%20currently%20developing%20a%20DSC%20application%20with%20the%20MMA8452Q%20accelerometer.%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20font-size%3A%2010pt%3B%22%3EAfter%20power%20on%20reset%2C%20is%20the%20INT1%2F2%20pin%20value%20%22HIGH%22%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20font-size%3A%2010pt%3B%22%3EThanks%20for%20your%20clarification%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20font-size%3A%2010pt%3B%22%3EGeorge%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-248257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAccelerometers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-248260%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MMA8452Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-248260%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20style%3D%22text-align%3A%20left%3B%20background-color%3A%20%23ffffff%3B%20text-indent%3A%200px%3B%20color%3A%20%23575757%3B%22%3EYou%20are%20welcome%2C%20George.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22text-align%3A%20left%3B%20background-color%3A%20%23ffffff%3B%20text-indent%3A%200px%3B%20color%3A%20%23575757%3B%22%3EHave%20a%20good%20day%20and%20thanks%20for%20using%20Freescale%20community.%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22text-align%3A%20left%3B%20background-color%3A%20%23ffffff%3B%20text-indent%3A%200px%3B%20color%3A%20%23575757%3B%22%3ERegards%2C%3C%2FP%3E%3CP%20style%3D%22text-align%3A%20left%3B%20background-color%3A%20%23ffffff%3B%20text-indent%3A%200px%3B%20color%3A%20%23575757%3B%22%3ETomas%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-248259%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MMA8452Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-248259%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%20for%20your%20prompt%20and%20clear%20response%2C%20Tomas!%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EGeorge%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-248258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20MMA8452Q%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-248258%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23003300%3B%22%3EGeorge%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20color%3A%20%23003300%3B%20font-size%3A%2010pt%3B%22%3EThe%20interrupt%20pins%20can%20be%20configured%20to%20be%20push-pull%20or%20open%20drain%20and%20can%20be%20either%20active%20high%20or%20active%20low.%20This%20is%20done%20in%20the%20CTRL_REG3%20(0x2C)%20register.%20Bit%200%20(PP_OD)%20sets%20the%20configuration%20of%20the%20interrupt%20pins%20to%20be%20open%20drain%20or%20push%20pull%20and%20bit%201%20(IPOL)%20sets%20the%20polarity%2C%20either%20active%20high%20or%20active%20low.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20color%3A%20%23003300%3B%20font-size%3A%2010pt%3B%22%3EDefault%20configuaration%20is%20push-pull%20(PP_OD%20%3D%200)%20and%20active%20low%20(IPOL%20%3D%200)%20as%20shown%20in%20table%2060%20of%20the%20datasheet%2C%20so%20after%20power-on%20reset%20the%20INT1%2F2%20pins%20will%20be%20high%20%E2%80%93%20inactive%2C%20as%20you%20correctly%20stated.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20color%3A%20%23003300%3B%20font-size%3A%2010pt%3B%22%3EI%20hope%20this%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20color%3A%20%23003300%3B%20font-size%3A%2010pt%3B%22%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22font-family%3A%20'Arial'%2C'sans-serif'%3B%20color%3A%20%23003300%3B%20font-size%3A%2010pt%3B%22%3ETomas%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E