Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 2 months ago.
I2C with MPU6050 and SD filesystem not working
Hi all,
I'm currently trying to communicate with a MPU6050 IC via I2C with nrf51822 IC and I'm trying to write a file to a SD card. I'm using the latest MPU6050 library (https://developer.mbed.org/users/garfieldsg/code/MPU6050/) and I'm using this library for my SD card filesystem (https://developer.mbed.org/users/neilt6/code/SDFileSystem/) Furthermore, I'm using softloader S130 and the latest revision of mbed
My problem is when I instantiate an I2C object my SD card won't write to my SD anymore.
What I tried: First I tried to use an older version of the softloader, when using S110 everything works. I also tried using software I2C instead of using the hardware version of it.
My question is why does my SD card filesystem stop writing when using I2C. As far as I know the filesystem only uses SPI so it should be a problem when using I2C. Maybe something changed inside the mbed library?