Skip to main content
sramo.11
Associate
January 22, 2024
Question

Can I provide an external clock to the LIS2DH12 instead of it using its internal?

  • January 22, 2024
  • 2 replies
  • 903 views

Is it possible to configure the LIS2DH12 so that it can receive a clock from the host (master) instead of the clock being generated by the LIS2DH12?  I'm looking a the quality of the LIS2DH generated clock and it is spectrally not pure and has a significant frequency error for my application. 

 

This topic has been closed for replies.

2 replies

Federica Bossi
Technical Moderator
January 23, 2024

Hi @sramo.11 ,

Are you referring to the clock on the bus? Or your problem is related to the ODR Error?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
sramo.11
sramo.11Author
Associate
January 30, 2024

Hi Federica, 

 

I'm referring to both clocks.  My exact question is what is the relationship between the I2C SCL clock and the ODR rate? Is the ODR clock generated from the I2C SCL?  For example, if I input 50kHz as an SCL clock will the accelerometer take that and divide it to generate say the 100Hz ODR?  

Federica Bossi
Technical Moderator
February 1, 2024

Hi @sramo.11 ,

They are totally different: the i2c clock is the communication bus clock, the odr on the other hand is internal to the mems and is set by writing to the ODR registers.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.