PlatformIO Community

Working I2C (TWIM) Zephyr example with the nRF52

Has anyone got a working example for a nRF52 device that uses the I2C (TWIM) to interface with a sensor?

I am currently working with a nRF52840-DK and trying to communicate with a BME680.

The issues seems to be that the I2C device is not detected when using Zephyr. I can successfully run the Nordic C twi scanner example in the nRF5 SDK peripheral folder “…\nRF5_SDK_17.0.0_9d13099\examples\peripheral\twi_scanner” and Arduino I2C scanner sketch.

Both of them see the device on address 0x77, so I know the board and wiring are correct.