完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
对不起,如果这是一个简单的问题;我是电机控制的新手。
我有STEVAL-PCC009V2和四个EVAL6470H。我想同时把它们全部赶走。我在用户手册中看到,您无法在GUI中执行此操作,因为它一次只能向一个设备发送一个命令。有没有其他方法可以做到这一点?也许通过脚本编辑器? 谢谢! #dspin-family-firmware-library#eval6470h#pcc009v2-eval6470h-spinfamily#l6470h-discovery-eval6470-disk#discovery-eval6470-disc #dspin-gui#pcc009v2 以上来自于谷歌翻译 以下为原文 Sorry if this is a simple question; I'm new to motor control. I have the STEVAL-PCC009V2 and four EVAL6470Hs. I would like to drive them all at the same time. I saw in the user manual that you can't do that in the GUI, since it can only send one command to one device at a time. Is there an alternative method to do this? Perhaps through the script editor? Thanks! #dspin-family-firmware-library #eval6470h #pcc009v2-eval6470h-spinfamily #l6470h-discovery-eval6470-disk #discovery-eval6470-disc #dspin-gui #pcc009v2 |
|
相关推荐
2个回答
|
|
简短回答是的。
答案很复杂。 您必须编写自己的代码或脚本,但移动命令是非阻塞的。这意味着您可以在很短的时间内发送一个接一个的移动命令。然后,您可以监控所有四个电机状态,以确定何时完成移动。 我会参考: http://www.st.com/content/ccc/resource/technical/document/application_note/e8/ca/05/a0/9e/ff/4e/69/DM00039787.pdf/files/DM00039787.pdf/jcr:内容/翻译/ en.DM00039787.pdf 我使用连接到Nucleo板的IHM02A1做了类似的事情(你只需编写一堆C代码并使用STM的库)。 以上来自于谷歌翻译 以下为原文 Short answer yes. Long answer is more complicated. You will have to write your own code or script, but the move commands are non blocking. Meaning you can send one move command after another in very short order. You then monitor all four motor status's to decide when your moves are done. I would refer to: http://www.st.com/content/ccc/resource/technical/document/application_note/e8/ca/05/a0/9e/ff/4e/69/DM00039787.pdf/files/DM00039787.pdf/jcr:content/translations/en.DM00039787.pdf I have done something similar using the IHM02A1 attached to a Nucleo board (you just have to write a bunch of C code and use STM's libraries). |
|
|
|
请参阅
http://www.st.com/content/ccc/resource/technical/document/application_note/d7/dd/a8/f3/db/3e/49/6f/DM00082126.pdf/files/DM00082126.pdf/jcr:内容/翻译/ en.DM00082126.pdf 有关通信协议以及如何实现菊花链架构的详细信息,允许MCU通过单个SPI接口驱动多个器件。 以上来自于谷歌翻译 以下为原文 Please refer to http://www.st.com/content/ccc/resource/technical/document/application_note/d7/dd/a8/f3/db/3e/49/6f/DM00082126.pdf/files/DM00082126.pdf/jcr:content/translations/en.DM00082126.pdf for details on communication protocol and how to implement a daisy chain architecture allowing the MCU to drive multiple devices with a single SPI interface. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2608 浏览 1 评论
3201 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1775 浏览 1 评论
3600 浏览 6 评论
5979 浏览 21 评论
930浏览 4评论
1306浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
574浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1293浏览 3评论
1349浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-18 03:16 , Processed in 1.021916 second(s), Total 50, Slave 43 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号