2023-09-05 12:57 AM
Hello everyone, I use stm32f4 discovery. I want to communication of mpu6050 sensor with I2C. When I push to run button Led 7 is burning. Why is that. ? Give me comment .Thankss
Solved! Go to Solution.
2023-09-05 01:42 AM
Hello @MDaya.2 ,
Make sure that you are using the correct static address , respect the max frequency for I2C communication , ..
Try to debug and set breakpoints .
I suggest you use an oscilloscope to check SDA and SCL behavior.
Could you please provide more details about your project ?
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-09-05 01:42 AM
Hello @MDaya.2 ,
Make sure that you are using the correct static address , respect the max frequency for I2C communication , ..
Try to debug and set breakpoints .
I suggest you use an oscilloscope to check SDA and SCL behavior.
Could you please provide more details about your project ?
Foued
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-09-05 01:47 AM
@MDaya.2 you also asked why LD7 is lit, but this is also mentioned in UM1472, section 6.3:
USB LD7: green LED indicates when VBUS is present on CN5 and is connected to PA9 of the STM32F407VGT6.
Regards
/Peter