10-03-2020 05:16 PM
Hello everyone, I am developing a sensor system using 2x BME680 connected with i2C to an ESP32. In order to do this I am using a standard TCA9548A Multiplexer. Do you know if it is possible to use the BSEC code? I have problem in finding the correct address. Many thanks in advance,
Filippo
Solved! Go to Solution.
10-05-2020 04:25 PM
Hi, you do not need to use i2c multiplexer, BME680 is able to be addressed by two i2c addresse, see https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf section 6.1 Interface selection. To configure i2c addresse, you can use the macro from BME680_driver: https://github.com/BoschSensortec/BME680_driver/blob/master/bme680_defs.h#L104-L105.
Additionally, using TCA9548A, the i2c address will keep the same.
10-26-2020 11:23 PM
If you use TCA9548A, then you can try to differetiate the data from GPIO you are using to switching the bus communication.
BSEC supports multi instance on the MCU platform already.
So it is possible to run in your platform.