完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
当我通过SPI将任何get或set命令从micro发送到L6470时,L6470总是响应micro发送的命令字节。它应该是发送获取数据的MSB,或者是为设置命令发送0字节。有人可以帮忙吗?我正在使用模式3
如果不清楚,我会得到一个具体的例子。系统复位后,微发送Get Config字节为0x38,并期望接收0x2E88。因此,一旦0x38由micro发送,微发送0并期望接收m***,即0x2E。相反,微接收0x38。谁能解释一下。谢谢! 以上来自于谷歌翻译 以下为原文 When I send any get or set command from micro to L6470 via SPI, the L6470 always responds with the command byte sent by the micro. It should be either sending the MSB of the get data or a 0 byte for a set command . Can anyone help? I'm using mode 3 In case this isn't clear I'll get a specific example. After reset of system, micro sends Get Config byte of 0x38 and expects to receive 0x2E88. So once 0x38 is sent by micro, the micro sends 0 and expects to receive m*** which is 0x2E. Instead the micro receives 0x38. Can anyone explain. Thanks! |
|
相关推荐
2个回答
|
|
再见
关于步进电机控制的问题,我建议尝试这个论坛 https://my.st.com//public/STe2ecommunities/motordriver_ics/Lists/Motor%20Driver%20ICs%20and%20Boards 再见 梁咏琪 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Ciao For question regarding stepper motor control I suggest to try this forum https://my.st.com//public/STe2ecommunities/motordriver_ics/Lists/Motor%20Driver%20ICs%20and%20Boards Ciao Gigi Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
http://www.naszporadnik.pl/stulejka/
znajdziesz na naszej stronie z poradnikami。 以上来自于谷歌翻译 以下为原文 http://www.naszporadnik.pl/stulejka/ znajdziesz na naszej stronie z poradnikami. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1604 浏览 1 评论
2285 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1518 浏览 1 评论
2898 浏览 6 评论
5397 浏览 21 评论
396浏览 4评论
670浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
296浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
745浏览 3评论
626浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-13 20:51 , Processed in 0.967204 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号