LSM6DSM factory reset
I have been working with this sensor for a while. It started to give weird errors such as reading all zeros on all axis. Then sometimes it would initialize but read values like 4, 0, 4 and such. Which is impossible in a static position. I have tried writing to the BOOT and SW reset register but still it gives the same behavior. It is not shared on an SPI bus
Any help will be appreciated
