By darrinrobert
#23107
Hi

Can anyone tell me if the TMC260, SKU:DRI0035, is compatible with the Arduino DUE? I can find no info on voltage requirements, other than for the power input for the stepper motor.

Will the Shield damage the DUE, or will the DUE supply enough power to drive the shield.

Many thanks...

Darrin
By makermuyi
#23114
Hi.
The TMC260 stepper motor sheild compatible with the Arduino DUE.Beacuse I looked up the information about the TMC260 DATASHEET . I find the TMC260 operation is allowed in 3.3V and the 5V system.The Arduino DUE only 3.3V power supply is supported.
By alantchochiev
#43939
Have you guys had any luck getting it to work with Due? I can't seem to compile it for Due. It compiles for Uno just fine, but fails for Due. Here's what I get:

Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Due (Programming Port)"


C:\Users\Alan\OneDrive\Documents\Arduino\libraries\TMC26XStepper\TMC26XStepper.cpp: In member function 'char TMC26XStepper::getStallGuardThreshold()':

C:\Users\Alan\OneDrive\Documents\Arduino\libraries\TMC26XStepper\TMC26XStepper.cpp:453:23: error: '_BV' was not declared in this scope

if (result & _BV(6)) {

^

C:\Users\Alan\OneDrive\Documents\Arduino\libraries\TMC26XStepper\TMC26XStepper.cpp: In member function 'void TMC26XStepper::send262(long unsigned int)':

C:\Users\Alan\OneDrive\Documents\Arduino\libraries\TMC26XStepper\TMC26XStepper.cpp:1034:30: error: 'SPCR' was not declared in this scope

unsigned char oldMode = SPCR & SPI_MODE_MASK;

^

C:\Users\Alan\OneDrive\Documents\Arduino\libraries\TMC26XStepper\TMC26XStepper.cpp:1034:37: error: 'SPI_MODE_MASK' was not declared in this scope

unsigned char oldMode = SPCR & SPI_MODE_MASK;

^

exit status 1

Error compiling for board Arduino Due (Programming Port).