Hello, I would like a check on my schematics for the two sensor BMG250 and BME680, The idea is to be able to use both spi and I2c on both sensor. I am on an nordic architecture So each pin can works for both SPI and I2C. Thank you, best regards, Arnaud
... View more
I added these lines before enter in the loop : uint8_t dat[1]={140}; uint8_t reg[1]={0x74}; uint8_t rega[1]={0x72}; bme680_set_regs(reg, dat, 1, &gas_sensor); bme680_set_regs(rega, dat, 1, &gas_sensor); And now the sensor works.
... View more
I thing the write function is working because I write with set_reg and then read with get_reg and the value was correct. I don't know why the value of the registers are 0. Here is the serial of a third MCU which read the data on the serial bus at the Sensor address : You cand find in attachement the serial of this MCU. There are small difference between Nordic and arduino ? could it be the error ? Thank you.
... View more