Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BMP581 Interrupt Status POR/Soft-Reset bit only set by manual soft reset

    BMP581 Interrupt Status POR/Soft-Reset bit only set by manual soft reset

    Jared_DEDW
    New Poster

    Hi,

    I am working with a BMP581 sensor. In the supplied Bosch driver code, the bmp5_init() function calls the power_up_check() function which checks to verify that the NVM Status register (0x28) is ready (nvm_rdy status=1, nvm_err status=0), and it also checks to verify that the Interrupt Status register (0x27) has the POR/Soft-Reset status = 1. 

    On a hard reset (power cycle/fw flash/etc..), the NVM Status register bits are correctly set, but the Interrupt Status Register always reads as zero (a.k.a., the POR/Soft-Reset bit is never set). However, if I manually perform a soft-reset of the device via the bmp5_soft_reset() function, the POR/Soft-Reset bit is correctly set as it is checked in this same function. So, it appears that only performing a manual soft-reset actually sets this bit, but a hard reset does not. Is this the intended functionality? If so, then it appears the stock driver does not account for this since it checks this register automatically in the bmp5_init() function.  

    A simple fix to this for the time being is to just perform a soft-reset on power-up everytime and remove the additional power_up_check() call from the bmp5_init() function (as the Interrupt Status register is cleared on read, so reading it twice causes the second read to be invalid).

     

    Please let me know if I can provide any further information. 

    Thanks,
    Jared

    1 REPLY 1

    BSTRobin
    Community Moderator
    Community Moderator

    Hi Jared_DEDW,

    Thank for your feedback. 
    We will check it.

    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