i have one question regarding the initialization of the TMC262.
In the example source code for the TMC262 eval board the function "InitMotorDrivers" first enables the motor driver output:
- Code: Select all
ENABLE_DRIVERS();
(wich switches ENN low) and then waits for the driver to initialize with this loop:
- Code: Select all
do
{
Read262State(WHICH_262(0), NULL, NULL, NULL, NULL, &TMC262Flags);
} while((TMC262Flags & 0x80)==0x00);
Since it's no good idea to wait on this forever in case something's broken for whatever reason i want to insert a timeout here. My question:
How long does the initialization of the TMC262 take?
What is a useful value for a timeout?
One more question:
Is the supply power for the motor driver needed for SPI communication or is providing VCC_IO sufficient?
Thanks for your help.
Holger
