@hriq105

I found the answer to my problem of writing on the IMU registers on another post here:

https://community.m5stack.com/topic/6959/finding-imu-3d-example-code

However, I'm still having some problems with finding out how to set them up to get the full 4 kHz of acceleration data mentioned in the datasheet. If anyone knows this, please let me know.