完善资料让更多小伙伴认识你,还能领取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. |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1468 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1520 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3668 浏览 1 评论
3858 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2477 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
747浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
680浏览 5评论
726浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
964浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
765浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-10 20:28 , Processed in 0.708022 second(s), Total 74, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2896