I drive a TMC249 with µC via SPI.
µC Freq is 10Mhz with internal PLL(x4) [PIC18F4582]
I converting Step/Dir inputs to SPI (16bits) and I want to know what is the max Step frequencie input and what is themotor's max rotation speed ?
I've noticed when i comment the SPI reading of TMC249's ErrorBits , the motor move, but when i uncomment the SPI reading the motor don't move and make strange noise even a very low freq step input:
- Code: Select all
i my program , there an interrupt on every step input to count the pulse. and a main loop to extract the value to the sin table and send the 2 byte over SPI, it's very light.
Thx, have a good WE