This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

I2c pin connections on nrf9160-DK

In the nrfConnect SDK I can see just one example for a I2C sensor - BH1749

I want to modify this for other I2C sensors.

However the README does not explain how to make the connections.  The nrf9160 datasheet does not seem to help much.

Can you suggest which pins to use and how to modify the configuration files.

For an initial test I'd like to use a BME280 in I2C mode.

Thx.

Parents Reply
  • Hi again!

    The sensor is appearently not communicating properly with the nRF9160. Are you able to probe the pin P0.10 and P0.11 to see if there are any activity at all? If no activity, could you try using I2C_2 instead? There may be some interference with UART_1. In addition, could you have a look at what Jan Tore mentions in this comment about the BME280 on nRF9160?

    I2C can access any of the GPIOs to that should not be an issue. You can read more about available GPIO on the DK here.

    Best regards,
    Carl Richard

Children
Related