Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BMI160 Interrupt High-Z?

    Member

    BMI160 Interrupt High-Z?

    Hi,

    I'm new to this forum and hope to get some help with a problem in my design.

    I might be force to share a GPIO of my microcontroller for two purposes:
    (A) Receive Interrupt from BMI160
    (B) Measure a voltage through a voltage divider with very high impedance
    I have attached snippets from the schematic. "M_VPRE" and "INT_BMI160" are connected to the same GPIO.
    When application (A) is active, VPRE is expected to be close to GND.
    When application (B) is active, there is no data communication from BMI160.

    To my current understanding it should be possible if INT1 is/can be set to be high-Z when application A) is not running. Unfortunately the datasheet is quite lenghty and I was not able to find that info with quite a lot searches.

    I found that in the INT_OUT_CTRL register I can set int1_output_en to zero. Will this set the pin to high-z? 

    Thanks for your help,

    Johannes

     

    4 REPLIES 4
    Community Moderator
    Community Moderator

    Re: BMI160 Interrupt High-Z?

    BMI160 interrupt pins have 2 modes: push-pull or open-drain.

    If you select open-drain, then the INT pin will be floating when not active. Since you have a pull-down resistor already, set the interrupt lvl to 1, so the interrupt pin will be VDDIO when active, HI-Z otherwise.
    Highlighted
    Member

    Re: BMI160 Interrupt High-Z?

    Thanks, sorry for my late reply, I had notifications turned off.

    What is the behavior after POR? I can see that intx_od will be push-pull but intx_output_en will be 0=disabled.
    What happens to the pin in "disabled" state, is it High-Z?

     

    Also, you wrote
    Since you have a pull-down resistor already, set the interrupt lvl to 1, so the interrupt pin will be VDDIO when active, HI-Z otherwise.
    I don't think this will work, open drain requires a pull-up, it can't actively drive a pull-down up to VDDIO.

    BR Johannes

    Community Moderator
    Community Moderator

    Re: BMI160 Interrupt High-Z?


    @jmuellers wrote:

    Thanks, sorry for my late reply, I had notifications turned off.


    Email notification is unfortunately not yet enabled. We have no estimations when this feature will be enabled on the community yet. 😟


    @jmuellers wrote:

    I don't think this will work, open drain requires a pull-up, it can't actively drive a pull-down up to VDDIO.


    Open-drain typically uses a pull-up resistor and active low level, but this is not a general rule. Our parts can also be configured to use a pull-down resistor and active high level.


    @jmuellers wrote:

    What is the behavior after POR? I can see that intx_od will be push-pull but intx_output_en will be 0=disabled.
    What happens to the pin in "disabled" state, is it High-Z?


    yes

    Member

    Re: BMI160 Interrupt High-Z?

    Thank you, I'm confident I understood and can solve my problem now.

    Seeing how fast it was resolved here, I wish I had more problems with Bosch products, and less with others... 😁

    Cheers

    Johannes

    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