Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMI 270 Interrupt Settings

    BMI 270 Interrupt Settings

    Swingpro
    New Poster

    I want to use Int2 as un latched, 0v = Interrupt, input. I set x49 = '04', which sets Int2 to a level value, and x54 = '0A', which is 'active low', 'open drain', 'output disabled, 'input enabled'. I attach Vdd through a  pull up resistor to Int2, and then connect  Int2  to ground to trigger an interrupt. This method should be applying a constant '0v' =Interrupt, but via development desktop I see intermittent '0's', which suggests that the interrupt is constantly being reset every time it is triggered low. Am I missing something in the interrupt setup? What I want, and should see is "Int2"=0 as long as I am applying 0v/ground to the interrupt pin.

    5 REPLIES 5

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Swingpro,

    Normally, the interrupt pin is set to push pull instead of open drain, and there is no need to connect a pull-up resistor.

    From your description, you need to set the interrupt to default to high level and trigger it at low level. You can set it as follows:
    active_low
    push_pull
    output_enabled
    input_disable

    Clarifying - I want to use Int2 as an input to the BMI270, so that the Int2 status is sampled at the same rate as is the accelerometer/gyroscope and reported via the Fifo Header Byte - this was a functionality I used in the BMI160. So your code showing Output enabled and Input disabled doesn't seem right

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Swingpro,

    If FIFO interrupts are used, usually the interrupt pin is used as the output, and the host is used as the input for the interrupt, rather than the sensor as the input for the interrupt.

    Could you tell me proper settings to allow the interrupt pins of the BMI270 as inputs?

    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