Hi FlorianStorz,
If you only want to use Nicla Sense ME board and want to get a quaternion output of 9doF, you can refer to example https://docs.arduino.cc/tutorials/nicla-sense-me/cheat-sheet#quaternion-rotation by using the virtual sensor ID SENSOR_ID_RV to obtain the data you want.
... View more