Skip to main content
Visitor II
December 29, 2020
Solved

blue pill STM32 PC13 LED is always ON

  • December 29, 2020
  • 3 replies
  • 2869 views

Hi there, I am using STM32F103c8t6 blue pill. there is a problem: when I use ST-LINK programmer to download the code to it, the PC13 LED is turned ON, without being ON in the program! why is that? One assumption is that the board is driving too much current, is that so?

    This topic has been closed for replies.
    Best answer by Peter BENSCH

    This relates to a so-called Blue Pill, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

    We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.

    This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

    Thank you for your understanding.

    Regards
    /Peter

    3 replies

    Graduate II
    December 29, 2020

    Is the LED also on when you reset the blue pill? If yes, check for some solder shorts or a bad CPU.

    AlaAuthor
    Visitor II
    December 29, 2020

    I just figured that PC13 is pulled up and in order to light it up, I should RESET it in my code! thanks @Uwe Bonnes​ you were a great help

    Graduate II
    December 29, 2020

    Remeber not to source more than some mA out of PC13-15. Sinking as you do is unaffected.

    Technical Moderator
    April 25, 2025

    This relates to a so-called Blue Pill, which uses illegally cloned STM32F103. ST resources are only dedicated to supporting genuine ST products. We are not committed to ensuring that clones/fakes products work properly with the firmware we provide.

    We recommend to purchase genuine products from STMicroelectronics and purchase them from known and trusted distributors.

    This thread will now be locked. However, if you face difficulties while using genuine ST products, we’re here to assist you. Please feel free to start a new thread, and our team, along with community members, will be ready to help you with any issues/questions you encounter.

    Thank you for your understanding.

    Regards
    /Peter