打印

STM32 步进电机驱动定时中断问题

[复制链接]
2585|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
zhongvv|  楼主 | 2011-3-3 11:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
软件配置的时候说
To control a stepper motor following the typical run profile, the software uses three interrupts, a DMA interrupt during acceleration, a SysTick interrupt and another DMA interrupt during deceleration. These interrupts are generated every 38 ms.

有个流程图中说Enable Systick interruptfor 8 ms

官网例程中说每38ms产生一次中断。这不是矛盾吗?谁能告诉我这是怎么算出来的,谢谢!
沙发
airwill| | 2011-3-3 21:25 | 只看该作者
不知道是哪里来的资料, 楼主自己去辨别吧, 不行可以直接看程序哦

使用特权

评论回复
板凳
eydj2008| | 2011-3-15 08:55 | 只看该作者
速度决定 中断时间

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

7

主题

45

帖子

1

粉丝