Skip to main content
_LardDork _
Associate
February 9, 2016
Question

STM32F103x and MPU6050 I2C Issue

  • February 9, 2016
  • 1 reply
  • 706 views
Posted on February 09, 2016 at 14:27

I worked out on a library for UART debug and I2C basics to read write registers via I2C..problem now is I read the  FIFO but it turns out to be zero..Disabled sleep bit..Fifo Enable Register Set, User Control Register set too..but still no readings.

https://img42.com/XS0d0

here's the link to the code  

https://github.com/spookymelonhead/Tuna_Fish/tree/master/Tuna_Fish

#stm32 #stm32f103x #mpu6050 #i2c
This topic has been closed for replies.

1 reply

pkumar1883
Associate III
February 11, 2016
Posted on February 11, 2016 at 07:15

Hi,

Which board are you using for MPU6050. As this chip comes in QFN package, so please verify if it is soldered accurately(not dry soldered pins) on PCB.

Then see if you are passing correct addresses to access the FIFOs. Check ACK from chip.

I have worked with the same chip.

/*Please

 mark helpfull

 if this post helps you or solves your problem.*/

/**disclaimer**/

/* I am not a person from ST Technical Support Team. So please verify/test any support/suggestion at your end.*/

/* This post is only for general support purpose and free of any charge.If you need any personal support for your work please contact at 

embeddeddesign.help@gmail.com

*/