Bosch Sensortec Community

    Showing results for 
    Search instead for 
    Did you mean: 

    BME688: Chip ID and operation

    BME688: Chip ID and operation


    Hello everyone,

    Currently, I am working with the sensor BME 688 with the board Nucleo-WL55JC1. 

    I am reading and testing the code with the self-test ( and the code did not work. I tracked the code and in the file bme68x.c line 156, the chip id was not equal to the constant BME68X_CHIP_ID which led to the error Device Not Found.

    I have 2 assumptions:

    • There was something happened with the chip or the code (I only changed the I2C read and write function - attached later). For this I am not sure where to check.
    • The  sensor BME688 did not work properly (did not turn on, hardware error,...). How can I check if this assumption is correct.

    I changed the code of I2C read and write based on the attached folder of this reference (In the comment) . Basically, I used the

    HAL_I2C_Master_Transmit and HAL_I2C_Master_Receive. I also commented out the SPI related functions.
    Does anyone have any idea how to clarify my 2 assumptions?
    Thank you, Huy Nguyen.


    11 REPLIES 11

    Hello Robin,

    My apologies for replying you this late.

    It turns out that the way I implement was correct but somehow the tool (Visual Code) I used had some issue which I had no idea. Later I changed to STM32Cube IDE and it worked great without any issue.

    Thank you very much for your response, Huy Nguyen. 

    Community Moderator
    Community Moderator

    Hi huytyskland,

    It is good as it could work normally.