FAQ: How can I disable I2C of LIS2DH12

Document created by Online Support Employee on Dec 26, 2016Last modified by Central Support on Jul 9, 2018
Version 3Show Document
  • View in full screen mode


I would like to disable I2C mode. Is there a configuration bit to do that, similar to some of your other MEMS parts? 



To disable I2C after SPI communication is established set register 0x17, bit 7 to 1:

   a = read(0x17);

   write(0x17, (0x80 OR a));