Timeline for STM32 Unexpected reset when a GPIO pin gets HIGH
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2020 at 6:57 | vote | accept | NeuroEng | ||
Jun 7, 2020 at 0:32 | answer | added | 0___________ | timeline score: 3 | |
Jun 5, 2020 at 13:26 | comment | added | Justme | Not having VDDA connected is a serious fail. The capacitor on BOOT0 makes absolutely no sense either. | |
Jun 5, 2020 at 12:14 | comment | added | Arsenal | "Allowed voltage difference for VDD > VDDA max 0.4V" also each supply needs proper decoupling to ensure the device is working probably. Fix the power supply first - you are using the device outside of the specification, so anything could happen. | |
Jun 5, 2020 at 12:07 | comment | added | NeuroEng | Hi @Codo , The EDA I used had this schematic symbol but I obviously connected the VDDs and to Vcc and VSS and VSSA to gnd. The individual who designed the PCB has left the VDDA floating howvere, would that have anything to do with this since PB0 is an ADC channels? but if that's the case, PB2 going HIGH shouldn't result in a restart. | |
Jun 5, 2020 at 12:00 | history | edited | NeuroEng | CC BY-SA 4.0 |
added 140 characters in body
|
Jun 5, 2020 at 11:32 | comment | added | pgvoorhees | In addition to the schematic, a picture of the board gerbers will also help. | |
Jun 5, 2020 at 11:28 | comment | added | Arsenal | Make sure the pins are really working as an input and not as an output. A "reset" would likely also occur if you short circuit something with an output being low and the other side driving it high. Either use the debugger and set the pin high in the register and see if it changes state or patch a resistor of some kiloohms in the line. | |
Jun 5, 2020 at 11:27 | comment | added | Codo | Sounds like a hardware issue (e.g. brown-out). Can you show the schematic of your circuit? | |
Jun 5, 2020 at 11:12 | history | asked | NeuroEng | CC BY-SA 4.0 |