I had already multiple times the problem that the accelerometer sensor is not providing data anymore. It is connected via SPI, commands like the who_am_i works, however the XYZ data is all zero or just some frozen values. Sometimes only one or two axis, mostly all three.
Re-initializing everything does not fix it, only a power disconnect fixes it.
How can I do a complete reset, which commands?