I'm using nano to access MPU 6050 chip. However, it took 5ms to update the loop and was costing me lots of time. So I wanted to find out if there's a way to accelerate the I2C bus speed.
Eventually, I read that the I2C bus speed for MPU 6050 was only at 400kHz. But that's seemed enough, as reading all 12 registry would only cost around 0.00026s, i.e. 0.26 ms.
I used the command found here Start I2C communication at an external event
It reduced timing form 5.6 ms to 4ms. However, when I tried to use the code
Amazingly, it still worked! It reduced timing from 4ms to 3.8 ms. And I still got the normal reading.
Is that the proper way to set the I2C bus speed for MPU 6050? Is there a way to do it by changing the register value? What's the maximum speed of I2C bus for MPU 6050?