2018-08-30 02:09 AM
Hi.
I wonder if it is possible to disable the I2c interface via CTRL REG2?
in 7.7 in the datasheet it seems to be possible, but specification for bit 3 seems strange:
[3] I²C enable (0: I2C enable;1: SPI disable)
Is above this correct in the datasheet? it shouldn't be:
[3] I²C enable (0: I2C enable;1: I2C disable) ?
https://www.st.com/resource/en/datasheet/dm00066332.pdf
(I know CS-signal is used to use SPI/I2c, but I want to know if it is possible to completely disable the I2c-part)
For LSP25HB it looks different in the datasheet for this bit....
Best Regards
Fredrik
Solved! Go to Solution.
2018-08-30 03:39 AM
Yes, it is typo error.
You can disable the I2C by setting the bit 3 in CTRL_REG2 register.
2018-08-30 03:39 AM
Yes, it is typo error.
You can disable the I2C by setting the bit 3 in CTRL_REG2 register.
2018-08-30 04:13 AM
Thank you Miroslav!