2021-08-20 07:33 PM
2021-08-20 08:05 PM
I don't really understand the problem. I have used STM32F103RBT6 and it is extensively used in production for years. I have never come across such issues.
A schematic of the circuit (just the bare essentials) and why you think it has been shorted to ground might be helpful.
2021-08-20 08:23 PM
i am use PA1 pin for button but is show to shorted to GND . if try to give the 3.3v and i am getting 20milli amp on this pin.
2021-08-20 08:27 PM
Sounds silly, but have you tried with another button?
2021-08-21 02:57 AM
Are external voltages somehow involved? It is easy to kill an STM32 with voltages above the maximum rating.
2021-08-21 08:46 AM
Certainly sounds like something is electrically wrong with the circuit/implement. Perhaps poor grounding of associated boards/devices, or ESD damage from people touching the system, and the easiest conduction path is via the MCU