Other Parts Discussed in Thread: DRV8711
Hi,
Is there any basic example code demonstrating SPI control for the EVM? I seem to find lots of great information and love out there for the 8711 Boost, but not the EVM; this has left me feeling a bit of buyers remorse. Ideally I'd like a basic script that:
(i) initializes a connection to the MSP40 via SPI
(ii) sending modifications from default values in register (i.e. set 1/2 step vs 1/4 step; direction, etc)
(iii) triggers nSleep to high
(iv) initiating/updating motion instructions (i.e. X PPSPS acceleration to YPPS, decelerate to zero and change direction)
(v) disengages motor setting nSleep to low and closes out connection
I've got everything running fine via the GUI, have a general understanding of the register map - but after a good deal of reading on here I've just not come across a simple way to run a scripted set of motions. Having a basic script as a jumping off point would make this all drastically easier.
Thanks!
-David