ArduinoGeneral

TMC260 Shield - Compatibility

userHead Account cancelled 2018-09-11 12:33:15 3872 Views3 Replies
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
2021-01-19 15:52:24 If possible, I suggest you change to an Arduino Mega2560, Arduino Due may be a bit behind userHeadPic 347945801
2021-01-19 05:17:05 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).

userHeadPic alantchochiev
2018-09-12 10:47:34 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.
userHeadPic makermuyi