完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
你好,
我是这个社区的新手,所以如果问题已经提升,请原谅我。在我的应用中,我计划使用两个步进驱动器L6470PD用于不同的步进电机,但是使用相同的MCU驱动。问题如下:我可以在这两个驱动程序之间共享状态行,例如:FLAG / BUSY / STCK / STBY / SW,并通过拉低CS线来定义此时想要使用的驱动程序?或者我应该处理专用于每个步进驱动器的FLAG / BUSY / STCK / STBY / SW线路。换句话说,计划仅在MCU上使用5GPIO作为两个驱动器或10GPIO引脚。 非常感谢你提前 亚采 #L6470 以上来自于谷歌翻译 以下为原文 Hello, I am new in this community so please excuse me if the question was already rises. In my application I am planning to use two stepper drivers L6470PD for different stepper motors but driven from the same MCU. Question is the following: Can I share among those two drivers status lines like: FLAG/BUSY/STCK/STBY/SW and by pulling low the CS line define which driver I wanted to use at this moment? Or I should treat the FLAG/BUSY/STCK/STBY/SW lines dedicated for each individual stepper driver. So in other words plan to use only 5GPIO for two drivers or 10GPIO pins on MCU. Thank you very much in advance Jacek #l6470 |
|
相关推荐
2个回答
|
|
|
您好,L6470与菊花链架构兼容,允许MCU通过单个SPI接口驱动多个器件(参见
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 有关详细说明)。关于列出的引脚,必须加以区分: - STCK,SW和STBY是输入线。如果将这些引脚连接在一起,则两个器件同时以相同的信号驱动。 - FLAG和BUSY是开漏输出。您可以在“OR”硬件中连接它们。当MCU检测到“低”状态时,您可以使用SPI来识别拉低GPIO的器件。 以上来自于谷歌翻译 以下为原文 Hello, the L6470 is compatible with the daisy chain architecture allowing the MCU to drive multiple devices with a single SPI interface (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 more detailed description).Concerning to the listed pins, a distinction must be made: - the STCK, SW and STBY are input lines. If you connect together this pins both devices are driven with the same signal simultaneously. - the FLAG and BUSY are open-drain output. You can connect them in 'OR' hardware. When the MCU detect a 'LOW' status you can use the SPI to identify the device that pulled low the GPIO. |
|
|
|
|
|
你好,
非常感谢您的快速帮助。我将从MCU获得两条专用的CS线路来确定我当前想要使用的驱动器。由于我有幸拥有更多备用GPIO线路,因此我将每个驱动器的所有线路分别交给MCU上的每个引脚。 以上来自于谷歌翻译 以下为原文 Hello, Thank you very much for quick help. I am going to have two dedicated CS lines from MCU to determine which driver currently I wanted to use. Since I had luck to have some more spare GPIO lines I tide all lines from each drivers separately to each pins on MCU. |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1474 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1529 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3676 浏览 1 评论
3868 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2483 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
757浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
688浏览 5评论
732浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
986浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
788浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-17 19:01 , Processed in 1.828746 second(s), Total 75, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3356