Hello everyone, hope you are doing okay.
In STM32F103C8's datasheet, Rev 17 page 33, it says:
" PC13, PC14 and PC15 are supplied through the power switch. Since the switch only sinks a limited amount of current (3 mA), the use of GPIOs PC13 to PC15 in output mode is limited: the speed should not exceed 2 MHz with a maximum load of 30 pF and these IOs must not be used as a current source (e.g. to drive an LED). "
But, as far as i know, in Blue Pill's design PC13 is driving a LED. How come? I am wondering.
Thanks! Be safe.
Also, in the bluepill schematic PC13 is in sink configuration, not source. I suspect impact of sink is a lot smaller compared to source.
I think that text from the datasheet is inaccurate. Long below that I found this text:
> The GPIOs (general-purpose inputs/outputs) can sink or source up to ±8 mA, and sink or
source up to ±20 mA (with a relaxed VOL/VOH) except PC13, PC14 and PC15 which can
sink or source up to +/-3mA.
Page 65:
https://www.st.com/resource/en/datasheet/stm32f103c8.pdf