bolderflight / invensense-imu

Arduino and CMake library for communicating with the InvenSense MPU-6500, MPU-9250 and MPU-9255 nine-axis IMUs.
MIT License
498 stars 211 forks source link

How to configure SPI frequency? #67

Closed minecraft2048 closed 3 years ago

minecraft2048 commented 4 years ago

My MPU9250 shares the same SPI bus as my SD card which is running at 4 MHz clock speed, is there a way to configure it?

flybrianfly commented 3 years ago

Not easily, in v2.0.0 of this library, search for "spiclock" in the source code and change the speed.