cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to run daisy chained motors simultaneously?

Jason He
Associate
Posted on August 10, 2017 at 01:28

Sorry if this is a simple question; I'm new to motor control.

I have the STEVAL-PCC009V2 and four EVAL6470Hs. I would like to drive them all at the same time. I saw in the user manual that you can't do that in the GUI, since it can only send one command to one device at a time. Is there an alternative method to do this? Perhaps through the script editor?

Thanks!

#dspin-family-firmware-library #eval6470h #pcc009v2-eval6470h-spinfamily #l6470h-discovery-eval6470-disk #discovery-eval6470-disc #dspin-gui #pcc009v2
2 REPLIES 2
Kevin Flanagan
Associate II
Posted on August 10, 2017 at 02:03

Short answer yes.

Long answer is more complicated.

You will have to write your own code or script, but the move commands are non blocking. Meaning you can send one move command after another in very short order. You then monitor all four motor status's to decide when your moves are done. 

I would refer to:  

http://www.st.com/content/ccc/resource/technical/document/application_note/e8/ca/05/a0/9e/ff/4e/69/DM00039787.pdf/files/DM00039787.pdf/jcr:content/translations/en.DM00039787.pdf

 

I have done something similar using the IHM02A1 attached to a Nucleo board (you just have to write a bunch of C code and use STM's libraries).

Posted on February 09, 2018 at 08:31

Please 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 details on communication protocol and how to implement a daisy chain architecture allowing the MCU to drive multiple devices with a single SPI interface.
If you feel a post has answered your question, please click "Accept as Solution"