ST意法半导体
直播中

徐晨曦

7年用户 186经验值
私信 关注
[问答]

SPI Comm介于STM32F103 micro和EVAL6470H板之间

当我通过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)

张秀兰

2018-11-1 14:43:48
再见
 
 
 关于步进电机控制的问题,我建议尝试这个论坛
 
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
举报

孙婧

2018-11-1 14:49:44
http://www.naszporadnik.pl/stulejka/
 znajdziesz na naszej stronie z poradnikami。

以上来自于谷歌翻译


以下为原文





http://www.naszporadnik.pl/stulejka/
znajdziesz na naszej stronie z poradnikami.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分