1
完善资料让更多小伙伴认识你,还能领取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. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2733 浏览 1 评论
3241 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1810 浏览 1 评论
3650 浏览 6 评论
6038 浏览 21 评论
1339浏览 4评论
201浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
443浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
274浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 00:13 , Processed in 1.033922 second(s), Total 77, Slave 61 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号