Trouble connecting MPU-9250 breakout to STM32 Nucleo F411RE
Hi everyone,
I'm really new to the whole concept of STM32, and I'm having trouble interfacing with my MPU-9250, which looks like:
The Breakout board does not actually do much to the Invensense MPU-9250 chip, only provides some basic power regulation and pull-ups.
My STM32 Board is the Nucleo F411RE, and I've hooked them up like this:
I found a library for the core chip of the InvenSense MPU-9250 for STM32 here: https://github.com/talhaSr/mpu9250
I'm also attaching the main.cpp file which I created for the project hoping it could show how I'm implementing the code. I've added the libraries (also declaring which I2C port to use in mpu9250.c as per the wiring diagram) from the github page as shown below:
The MPU-9250 breakout board doesn't seem to connect, as it returns a 0 during the whoAmI_Check function.
Any help on why the device is not connected would be greatly appreciated.
