2022-05-12 05:06 AM
Hi,
I'm trying to configure an LSM6DSO (sparkfun breakout), using a TWIM/I2C bus, master device is a nordic NRF52.
For the most part, the communications appear to be working. I'm able to configure an interrupt to respond to a single tap. The interrupt works. So it would appear communications and hardware layer problems are not the issue and the chip is working (but only just!).
My key problem is that when i write to certain registers, and read the values back, i get totally different values.
An example is TAP_CFG0 when i write 0x45 to this (latching interrupts, y axis turned on) it reads back 0xFF ! which is mad, as the datasheet suggests the msb should ALWAYS be 0?
What could cause this register to throw up some sort of error value or bad return value? I can find no useful documentation of this in the datasheet?
Also, i tried to perform a reset, by setting the SW_RESET bit, (with acc & gyro in pwr-down mode), yet the bit never resets itself to indication completion of reset. Could the two be linked? The issue with TAP_CFG0 persists regardless of whether or not i try to reset the chip.
Thoughts?
Thanks,
Sean
Solved! Go to Solution.
2022-05-12 07:43 AM
resolved. Documentation issue. Misread something.
2022-05-12 07:43 AM
resolved. Documentation issue. Misread something.