cancel
Showing results for 
Search instead for 
Did you mean: 

blue pill STM32 PC13 LED is always ON

Ala
Senior

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?

3 REPLIES 3
Uwe Bonnes
Principal III

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

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

Uwe Bonnes
Principal III

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