Increase data recording rate for IMU for pixhawk cube orange

Hello
I have a Pixhawk cube orange plus, I want to conduct a test where I would need only the gyro and the accelerometer data so only the IMU data, I am recording the data on a SD card

I am only able to record the data at a rate of 50 hertz

I want to be able to record the data at 500hertz or 1kilo hertz

I am using mission planner and using 4.5.7 Firmware version

Hi @Krrish_Garg welcome to the PX4 forums, I think you might receive better answers if you ask this question in the Ardupilot forums, since you are using Arducopter 4.5.7 with Mission Planner. Here’s a link https://discuss.ardupilot.org