Brian Taylor
Brian Taylor
Can you please ensure that you're using the latest version of this library downloaded from GitHub and let us know if you're still having issues? I use the MPU-9250 with...
Can you replace the Begin method in mpu9250.cpp with the version below and let me know what error number is printed? ```C++ bool Mpu9250::Begin() { if (iface_ == SPI) {...
Can you post a diagram or picture of your wiring? Also are there any other devices on that SPI bus?
Can you try replacing the [write](https://github.com/bolderflight/mpu9250/blob/main/src/mpu9250.cpp#L540) and [read](https://github.com/bolderflight/mpu9250/blob/main/src/mpu9250.cpp#L577) register methods with these? I've been using Teensy 4.1 on a PCB with the MPU-9250 and think I may have to loosen...
Updated to 125 ns delay on Teensy 4.1
@mlbco, I use a Teensy 4.1 for my [flight control system](https://github.com/bolderflight/spaaro) and don't experience magnetometer freezing. Are you sure that you're using SPI2? According to the [Teensy pinout](https://www.pjrc.com/teensy/pinout.html) SPI2 is...
Glad you got it working. Just for reference: The magnetometer with this MPU9250 library is accessed by writing and reading registers in the MPU9250, there is no direct access to...
That's just the code's way of telling you that you aren't communicating with the sensor. The ESP32 core software used to have a problem with endTransmission(false) - I'm not sure...
@lc2047, I would try with a different microcontroller if you have one available - I don't have any issues with the Teensy and STM32 microcontrollers. I do think the I2C...
All of the data from this library goes through the MPU-9250's internal digital low pass filter. The default cutoff frequency is 184 Hz and this can be adjusted using the...