Skip to main content
MDaya.2
Associate II
September 5, 2023
Solved

STM32F4 Discovery LED7

  • September 5, 2023
  • 2 replies
  • 1783 views

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

    This topic has been closed for replies.
    Best answer by Foued_KH

    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

    2 replies

    Foued_KH
    Foued_KHBest answer
    ST Employee
    September 5, 2023

    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.
    Peter BENSCH
    Technical Moderator
    September 5, 2023

    @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

    In order 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.