2020-12-28 08:46 PM
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?
2020-12-29 01:00 AM
Is the LED also on when you reset the blue pill? If yes, check for some solder shorts or a bad CPU.
2020-12-29 02:43 AM
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
2020-12-29 11:34 AM
Remeber not to source more than some mA out of PC13-15. Sinking as you do is unaffected.