So, Not a direct ANSWER to your specific Question, so disregard if so.
However, You may gain some incite from this example, demo code with compiler output & video. Perhaps as a sanity check before leaving the planet on Simplicity studio. to embark on the IMU journey