Markel 2 Posted May 16, 2017 Share Posted May 16, 2017 Hi, 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 not affect the MOSFET Power Circuitry. I suspect the MOSFET Power Circuitry is wrong. Can anyone here give me tips what could be wrong. 1. Set ACC_VCC to 1, to turn off accelerometer. 2. VACC is measured at 3.2 V, which should not be. 3. Set ACC_VCC to 0, to turn on accelerometer. 4. VACC is measured at 3.2V, which is correct. Attached is the Accelerometer Circuitry.. Quote Link to post Share on other sites
Clavier 34 Posted May 16, 2017 Share Posted May 16, 2017 Please see table 9 of the LIS3DH datasheet; you are not allowed to apply voltages greater than 0.3 V to the SDA/SCL pins when VACC = 0 V. You must disconnect these signals before powering down the chip. (And when it's powered down, ACC_INT1 might be floating; you have to deal with that.) I'd guess VACC gets powered through R8/R9, or through the chip's ESD protection diodes (which go from any I/O to VDD). bluehash 1 Quote Link to post Share on other sites
Markel 2 Posted May 16, 2017 Author Share Posted May 16, 2017 Hi Clavier, 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. Powering On: Set ACC_VCC to 0, to turn on power to LIS3DH Accelerometer. Call SensorI2C_open(). Enable ACC_INT1 Pin. Powering Off: Disable ACC_INT1 Pin. Call SensorI2C_close(). Set ACC_VCC to 1, to turn off power to LIS3DH Accelerometer. Best Regards, Markel Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.