Bosch Sensortec Community

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

    Use BSEC with BHI260AP on Arduino Nicla Sense ME

    Use BSEC with BHI260AP on Arduino Nicla Sense ME

    reichemn
    Member

    Hi,

    is there currently an easy way to use the BME688 on the Arduino Nicla Sense ME board in combination with the BSEC library? The NRF52 chip on the board is connected to a BHI260AP via SPI which is connected to the BME688 via SPI.

    In our use case, we are currently only interested in the air quality index provided by BSEC.

    Best Regards,
    Max

    11 REPLIES 11

    BSTRobin
    Community Moderator
    Community Moderator

    Hello reichemn,

    The hardware of Arduino Nicla Sense ME board and sensor is designed in this way. MCU connected to BHI260AP via SPI, BHI260AP connected to BME688 via SPI. MCU could get IAQ value from BHI260AP driver code, but SW will update in the future for supporting it.

    Hello BSTRobin,

    thank you very much for your response.

    So is my understanding correct that the current way to solve this would be to create a custom firmware for the BHI260AP which includes the BSEC library and a driver to expose the desired values as virtual sensors, so that the MCU can access them?
    Would this be feasible?
    I was looking for a SDK for the BHI260AP, but I only found the SDK for the BHI260AB. Are they compatible?

    BSTRobin
    Community Moderator
    Community Moderator

    Hello reichemn,

    "So is my understanding correct that the current way to solve this would be to create a custom firmware for the BHI260AP which includes the BSEC library and a driver to expose the desired values as virtual sensors, so that the MCU can access them?" Yes, this is the design goal of the software.

    The software for Arduino Nicla Sense ME board was under development based on BHI260AP SDK. BHI260AP SDK was not published on official website, it could be applied if you had a project to do.

    Hi BSTRobin,

    could it maybe also be possible to use the BHI Soft Pass-Through function (datasheet BHI260AP section 13.2.4) to talk to the BME688 directly? In this instance it would be possible to write a wrapper function and pass its pointer as read and write function to the BSEC library running on the MCU.

    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