Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BME688 SPI memory map -understanding

    BME688 SPI memory map -understanding

    vigneshravi997
    New Poster

    Hi,

    Good day. I am newbie to BME688 sensor. I have gone through datasheet of version 1.3.
    SPI memory map page selection 0x73 register after reset - page 0 (0x00 to 0x7f) will be active .
    Setting spi_mem_page bit (bit 4) in this register enables page 1 (0x7f to 0xff). setting means 00010000 in 0x73 to enable/active page 1? Kindly confirm this statement.
    Also Gone through BME688+SPI+ spi_mem_page -problem (bosch-sensortec.com) . 

    I have referred https://github.com/boschsensortec/BME68x_SensorAPI/blob/80ea120a8b8ac987d7d79eb68a9ed796736be845/bme...
    where 
    if (reg_addr > 0x7f)
    {
    mem_page = BME68X_MEM_PAGE1;
    }
    else
    {
    mem_page = BME68X_MEM_PAGE0;
    }
    so macro values are below
    https://github.com/boschsensortec/BME68x_SensorAPI/blob/80ea120a8b8ac987d7d79eb68a9ed796736be845/bme...
    macro value of PAGE1 is 0x00. 
    As per my understanding, we have set/write spi_mem_page bit as 1. ie. 0x10  to make page 1 as active. But PAGE2 macro value is 0x10.
    Above logic implementation looks contradictory. 
    Could you please help me by clarifying?


    1 REPLY 1

    BSTRobin
    Community Moderator
    Community Moderator

    Hi vigneshravi997,

    Thanks for your inquiry.
    Do you want to use BME688 to obtain sensor data? If so, then you can refer to the BME688 sensor API and examples on GitHub, which demonstrate how to obtain BME688 sensor data, and you can use them directly.
    https://github.com/boschsensortec/BME68x_SensorAPI/tree/master/examples

    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