TMC249 / TMC249A DATA SHEET (V2.10 / 2011-Aug-10)
11
Control via the SPI Interface
The SPI data word sets the current and polarity for both coils. By applying consecutive values,
describing a sine and a cosine wave, the motor can be driven in microsteps. Every microstep is
initiated by its own telegram. Please refer to the description of the analog mode for details on the
waveforms required. The SPI interface timing is described in the timing section. We recommend the
TMC428 to automatically generate the required telegrams and motor ramps for up to three motors.
Serial data word transmitted to TMC249
(MSB transmitted first)
Bit Name Function
Remark
11 MDA
10 CA3
mixed decay enable phase A “1” = mixed decay
current bridge A.3
current bridge A.2
current bridge A.1
current bridge A.0
polarity bridge A
MSB
9
8
7
6
5
4
3
2
1
0
CA2
CA1
CA0
PHA
MDB
CB3
CB2
CB1
CB0
PHB
LSB
“0” = current flow from OA1 to OA2
mixed decay enable phase B “1” = mixed decay
current bridge B.3
current bridge B.2
current bridge B.1
current bridge B.0
polarity bridge B
MSB
LSB
“0” = current flow from OB1 to OB2
Serial data word transmitted from TMC249
(MSB transmitted first)
Bit Name Function
Remark
11 LD2
10 LD1
load indicator bit 2
load indicator bit 1
load indicator bit 0
always “1”
MSB
9
8
7
6
5
4
3
2
1
0
LD0
1
LSB
OT
overtemperature
“1” = chip off due to overtemperature
“1” = prewarning temperature exceeded
“1” = undervoltage on VS
OTPW temperature prewarning
UV driver undervoltage
OCHS overcurrent high side
3 PWM cycles with overcurrent within 63 PWM cycles
no PWM switch off for 14 oscillator cycles
no PWM switch off for 14 oscillator cycles
OLB
OLA
OCB
OCA
open load bridge B
open load bridge A
overcurrent bridge B low side 3 PWM cycles with overcurrent within 63 PWM cycles
overcurrent bridge A low side 3 PWM cycles with overcurrent within 63 PWM cycles
Copyright © 2005, TRINAMIC Motion Control GmbH & Co KG