analogdevicesinc / TMC-API

TRINAMIC's IC API
MIT License
188 stars 83 forks source link

TMC429 & TMC2660 #42

Open harrison181997 opened 11 months ago

harrison181997 commented 11 months ago

Could you provide an example of setting XTarget & VTarget for the TMC2660 from the TMC429 please?

(setup) I have two TMC429 each connected to 3 TMC2660. TMC429 have called init429. TMC2660 have called initConfig and reset.

Tried Write429U16(TMC429_IDX_VTARGET(some motor), some value) but I can not get any output.

Further details if required: Machine: Raspberry Pi 4 Using MCP23008 to expand io allowing connection to the 8 devices (two 429 and 6 2660) Using SPI to talk to TMC429. Want to run the 6 drivers in step & direction mode. Actual boards: TMC429-LA-BOB v 1.1, TMC2660-BOB v 1.2