forked from xxyyttxx/Quadcopter
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新电调用旧代码不能正常初始化 #11
Comments
调试过程中有一个版本的,思路是覆盖 |
最终解决方案:两次初始化电调 |
间隔1s的按黑色reset按钮可以绕开这个问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题在于,F411完成PWM的初始化时间太慢且不固定(在USB供电和E5V供电的时候不同)。
推测原因:外部供电的时候,STLINK初始化后会给F411 一个reset信号(具体要看STLINK手册);
解决方案:可以把NUCLEO板子上的CN2拔掉(相当于断开STLINK和F411的连接),就能正常用了。但是这样的话,想要调试又要把跳线帽接回去。如何方便的不让STLINK工作。。
The text was updated successfully, but these errors were encountered: