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
  • Thx Carl,

    OK.  I checked the config against that example, also made sure that the connections were OK, including setting VDD to 3.3v.  I checked at the datasheets for BME280 (its address is 0x76) and tried a second module in case the first one was not working.

    I wanted to verify the I2C_1 is accessible on PO.10 and PO.11 but could not find that in the user guide.

    So I'm stuck now.

    I'd like to be able to look at what's happening during the call to device_get_binding() but I don't understand enough about all the driver magic that relies on. 

    Regards

Children
Related