Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Issue with BMC150 interrupt generation in LPM

    Occasional Visitor

    Issue with BMC150 interrupt generation in LPM

    Hi All,

    I'm very new to this BMC150 sensor. 

    I'm facing some issue to get interrupt from the sensor on applying some vibration.

    For my application I'm using LPC controller and BMC150 to detect the vibration. I'm able to read the data and all but some times on BMC150 is not able to generate the interrupt on detecting the vibration.

    Below are the settings that I've made:

    1)Doing sensor soft reset by writting 0xB6 to 0x14 register.
    2)Accelerometer bandwidth by writting 0x0F to 0x10 register
    3)Accelerometer Range by writting 0x03 to 0x0F register
    4)Writting 0x04 to 0x1B register (int2_slope enabled)
    4)Writting 0x07 to 0x16 register (Slope x,y,z enabled)
    6)Writting 0x02 to 0x27 register
    6)Writting 0x04 to 0x28 register
    6)Writting 0x00 to 0x12 register
    6)Writting 0x5E to 0x11 register

    I've verified I2C sequence and it's proper .

     

    Regards,

    Dom

    Tags (2)
    1 REPLY 1
    Highlighted
    Community Moderator
    Community Moderator

    Re: Issue with BMC150 interrupt generation in LPM

    If I am not mistaken, 0x5E means a sleep duration of 1s.

    When the accelerometer wakes up from sleep, it will take 3 (0x02 + 1) samples, and go back to sleep if the threshold is not met. The movement would be easy to miss.

    There is another alternative for using BMA2x2 to wake up on any motion, that is the combination of high-pass filter and high-g interrupt.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist