Transfer IMU data to flight controller via MavLink

Hello everyone, I’m faced with the task of transmitting IMU data from an external device to a flight controller via the MavLink protocol. I’m doing this because I also transmit other navigation data from the external device, and this is the most convenient way to do it using a single UART. Could you please tell me which messages I can use to transmit raw IMU data, or the format specified in the SCALED_IMU message to the flight controller?