Skip to main content
iampruven
Visitor II
May 15, 2015
Question

STM32F407: Can I turn off LD1 COM and LD2 PWR LEDs?

  • May 15, 2015
  • 1 reply
  • 991 views
Posted on May 15, 2015 at 07:22

Hi,

I am trying to do a project for school, where I am just trying to measure the power consumption of the board running my algorithm, but I would like to measure the board with ALL LEDs off. I was wondering if it's possible to turn off the LD1 COM and LD2 PWR LEDS off through my C-program? If not, are there any other ways to turn the LEDS off? I could not find any sort of documentation pertaining to turning off the LEDs other than their purpose. 

Thank you in advance. 
    This topic has been closed for replies.

    1 reply

    nesrine
    Visitor II
    May 15, 2015
    Posted on May 15, 2015 at 12:07

    Hello,

    ·

    LD1 COM:LD1 default status is red. LD1 turns to green to indicate that communications are in progress between the PC and the ST-LINK

    ·

    LD2 PWR:The red LED indicates that the board is powered.

    This 2 LEDs are not connected to any I/O of the STM32F407, so is not possible to drive it by software ,Also current consumption in the chip is not impacted by this LEDs.

    You can check the Discovery kit user manual via this link:

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdf

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/user_manual/DM00039084.pdfI

    Hi,

    I am trying to do a project for school, where I am just trying to measure the power consumption of the board running my algorithm, but I would like to measure the board with ALL LEDs off. I was wondering if it's possible to turn off the LD1 COM and LD2 PWR LEDS off through my C-program? If not, are there any other ways to turn the LEDS off? I could not find any sort of documentation pertaining to turning off the LEDs other than their purpose. 

    Thank you in advance.