I have a battery application where I power off areas of the circuit. One of which has my I2C/TWIM peripherals. However, the TWIM controller configured on the nRF52832 is pulling the lines high. I want to be able to keep the bluetooth runing, but power off all my external circuits. How can I reconfigure the TWIM pins, so I can diable the TWIM & drive the pins low, then when required enable the TWIM
/* ======================================
* DAC_SCL DAC_SCA
*/
i2c0_default: i2c0_default {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
bias-pull-up;
};
};
i2c0_sleep: i2c0_sleep {
group1 {
psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
<NRF_PSEL(TWIM_SCL, 0, 27)>;
low-power-enable;
};
};