analogdevicesinc / TMC-API

TRINAMIC's IC API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TMC429 & TMC2660

harrison181997 opened this issue · comments

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