cancel
Showing results for 
Search instead for 
Did you mean: 

SPI Comm between STM32F103 micro and EVAL6470H board

dlindstrom13
Associate
Posted on November 12, 2015 at 21:17

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 msb which is 0x2E. Instead the micro receives 0x38. Can anyone explain. Thanks!
2 REPLIES 2
Gigi
ST Employee
Posted on January 07, 2016 at 18:24

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

jano332
Associate
Posted on April 13, 2016 at 13:52

http://www.naszporadnik.pl/stulejka/

znajdziesz na naszej stronie z poradnikami.