Thank you for your response.
Is there any other possibility to enable serial communication during the interrupt service routine?
Here's the link for the used IMU: Pololu - MinIMU-9 v5 Gyro, Accelerometer, and Compass (LSM6DS33 and LIS3MDL Carrier)
Also thank you for the advice concerning the trigger.
Have you ever used an analogue signal for an interrupt service?