Hi:
How to use nrf9160 i2c1?
nrf9160dk_nrf9160_ns.overlay
&pinctrl {
i2c2_default: i2c2_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 13)>,
<NRF_PSEL(TWIM_SCL, 0, 14)>;
};
};
i2c2_sleep: i2c2_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 13)>,
<NRF_PSEL(TWIM_SCL, 0, 14)>;
low-power-enable;
};
};
i2c1_default: i2c1_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 19)>,
<NRF_PSEL(TWIM_SCL, 0, 18)>;
};
};
i2c1_sleep: i2c1_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 19)>,
<NRF_PSEL(TWIM_SCL, 0, 18)>;
low-power-enable;
};
};
};
I2C1 cannot be used when I configure it like this.But i2c2 can be used.