Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Multiple BMP384 Failure

    Multiple BMP384 Failure

    ebby
    New Poster

    Hello, we are using the BMP384 sensor in one of our products. We observed that about 16% of the 100-200 barometers failed. Every failed sensor has the same behaviour: No matter which register is accessed; the MISO line always outputs a very weak signal which seems to be correlated with the SCK signal (driven by the MCU).

    The firmware is the same on all the devices and it uses the “bmp3-sensor-api” driver to access the device. In addition to BMP384, the SPI bus also hosts another sensor (an IMU made by ST) which is not affected by the failure, so we can exclude a connection problem.

    This is the code(pseudo) that we use for initializing the barometer:
    enable_power_to_baro();
    delay(2); // 2ms
    other_stuff();
    initialize_spi1();
    bmp3_init(); // -> Fails, chip_id value is 255

    We have previously used BMP390L where we have not observed any problems and have only later switched to BMP384, benefiting from the same footprint and software compatibility. After we observed this alarming failure rate, we looked out for differences of the sensors. One measure we took was covering the sensor port with Kapton tape and to not wash the sensors during assembly (without any effect). We checked as well that the behavior of the CSB line to make sure that the sensor goes into SPI-Mode and verified the SPI timings.

    We would like to know what the potential causes for a failure like this are. Are we doing something wrong with the soldering or is there something wrong with the signals being given to the sensor or are there any other timings (e.g. for power up) that are critical? or something else?

    Thank you

    1 REPLY 1

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    BMP384 is water resistant pressure sensor which means that you don't need to cover the vent hole before soldering. The API works for BMP390L should also work for BMP384. Most likely the issue comes from your soldering which means that the SPI communication is not working.

    You may purchase a BMP384 shuttle board from https://www.digikey.com/en/products/detail/bosch-sensortec/SHUTTLE-BOARD-3-0-BMP384/14617510 and then hook some wires from your MCU to the shutle board. If you get the SPI communicaiton working, then it means your code is fine and the issue is from your PCB soldering.

    Thanks.

    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