Best way to power up/down I2C bus ? | Cypress Semiconductor
Best way to power up/down I2C bus ?
I use the CYBLE-222014-01 (BLE 4.2) module as a master to control a few I2C slaves. The hardware design requires to power down the whole I2C bus most of the time (controlled by a GPIO of the Cypress module). The module doesn't have to go to any sleep modes (for now). I'm wondering what is the best way is to do this? Do I have to call I2C_Start() when to bus is powered or it doesn't matter? Do I have to call I2C_Stop() before powering the bus down or can I just leave the component running? Of course, I do not do any I2C transactions on the bus while the bus is powered down.