STM32F411, how to drive PA0 for wake-up? #15811
Unanswered
davefes
asked this question in
STM32 / Pyboard
Replies: 1 comment 1 reply
-
You can use an external watchdog timer to reset the system if it goes into an undesired state. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PA0 can not be low during boot and a high brings it out of deepsleep.
For a time during boot-up it must be OK for PA0 to be high, as long
as that high disappears before the program starts to run.
What I am using is a DMOS driving a 1uF cap connected to PA0. This
"works", but I suspect that maybe a tri-state buffer or ?? should be
used to drive PA0 correctly,
The one problem I have seen is that the STM32F411 can be provoked into an "unwanted" state.
What can happen is that it goes to "who knows where" with a resulting
return to REPL, ie it stops running.
Any suggestions on how to keep the STM32F411 running and responding correctly
to a trigger signal would be appreciated.
Edit:
I have been able to catch the waveform of the trigger pulse when I get this problem.
What is the pulse length suppose to be? Using a 10X probe so that is 1V/div. The rise time on a good trigger
is the same as a "bad" trigger. Is the problem the 2nd pulse? I would be happier missing a pulse rather than
having the STM32F411 "bail-out" to REPL.
Beta Was this translation helpful? Give feedback.
All reactions