Currently, I am working with the board Nucleo-WL55JC1 to communicate with the sensor BME688. However, I cannot have any response from it.
My goal is to receive the chip ID from the sensor.
My steps (based on the datasheet of BME688):
I2C_ADDRESS: the address of the sensor, chip_ID_reg: the register address of the chip ID, chip_address_write: address of the sensor in write mode, axRxBuffer_testing: the place to store received data from the sensor.
Even though the I2C transmissions were successful, I did not receive anything from the sensor. I am not even sure if my procedure and what I sent was right.
Do anyone have experience working with this sensor? Please give me some hint on communicating with it.
Thank you, Huy Nguyen.
First, you should ensure your hardware is correct. You can refer BME688 schematic in data sheet or shuttle board;
Second, there is attached example code on STM32 for your reference.
Thank you for your response. Can you be a little bit more detailed about the "hardware"? Do you mean that the wire should be correctly connected?
If you used BME688 shuttle board, you can refer schematic https://www.bosch-sensortec.com/media/boschsensortec/downloads/shuttle_board_flyer/application_board..., and correctly connect with Nucleo-WL55JC1.