I have this MOSFET Power Circuitry connected to LIS3DH Accelerometer. The LIS3DH Accelerometer is connected to TI BLE CC2640R2F. The expected behaviour is if ACC_VCC is 0, it will power on the LIS3DH Accelerometer, and if ACC_VCC is 1, it will turn off the LIS3DH Accelerometer. However, if I initialize the open the I2C pins at program initialization by calling SensorI2C_open();. This is the behavior below. By normal knowledge The I2C pins connected to the LIS3DH Accelerometer should
Thanks for your reply. You are correct. So, these below are the sequences that I will do when powering on and powering off the LIS3DH Accelerometer.
Set ACC_VCC to 0, to turn on power to LIS3DH Accelerometer.
Enable ACC_INT1 Pin.
Disable ACC_INT1 Pin.
Set ACC_VCC to 1, to turn off power to LIS3DH Accelerometer.