TMC246 / TMC246A / TMC246B DATA SHEET (V2.11 / 2018-Mar-01) 1 TMC246/B DATA SHEET High current microstep stepper motor driver with stallGuard, protection / diagnostics and SPI Interface TRINAMIC Motion Control GmbH & Co KG Hamburg, Germany WWW.TRINAMIC.COM Features The TMC246 / TMC246A / TMC246B (1) is a dual full bridge driver IC for bipolar stepper motor control applications. The integrated unique sensorless stall detection (pat. pend.) stallGuard makes it a good choice for applications, where a reference point is needed, but where a switch is not desired. Its ability to predict an overload makes the TMC246 an optimum choice for drives, where a high reliability is desired. The TMC246 is realized in a HVCMOS technology combined with Low-RDS-ON high efficiency MOSFETs (pat. pend.). It allows driving a coil current of up to 1500mA even at high environment temperatures. Its low current consumption and high efficiency together with the miniature package make it a perfect solution for embedded motion control and for battery powered devices. Internal DACs allow microstepping as well as smart current control. The device can be controlled by a i serial interface (SPI ) or by analog / digital input signals. Short circuit, temperature, undervoltage and overvoltage protection are integrated. Sensorless stall detection stallGuard and load measurement integrated Control via SPI with easy-to-use 12 bit protocol or external analog / digital signals Short circuit, overvoltage and over temperature protection integrated Status flags for overcurrent, open load, over temperature, temperature pre-warning, undervoltage Integrated 4 bit DACs allow up to 16 times microstepping via SPI (can be expanded to 64 microsteps) Any resolution via analog control Mixed decay feature for smooth motor operation Slope control user programmable to reduce electromagnetic emissions Chopper frequency programmable via a single capacitor or external clock Current control allows cool motor and driver operation 7V to 34V motor supply voltage (A-type) Up to 1500mA output current and more than 800mA at 105C 3.3V or 5V operation for digital part Low power dissipation via low RDS-ON power stage Standby and shutdown mode available (1) The term TMC246 in this datasheet always refers to the TMC246B, TMC246A and the TMC246. The major differences in the older TMC246 are explicitly marked with non-A-type. The TMC246A brings a number of enhancements and is fully backward compatible to the TMC246. The latest revision TMC246B is 100% compatible to the TMC246A. Copyright 2005, TRINAMIC Motion Control GmbH & Co KG TMC246 / TMC246A / TMC246B DATA SHEET (V2.11 / 2018-Mar-01) 2 FEATURES.............................................................................................................................................. 1 PINNING .................................................................................................................................................. 5 PACKAGE CODES.................................................................................................................................... 5 PQFP44 DIMENSIONS ............................................................................................................................ 6 APPLICATION CIRCUIT / BLOCK DIAGRAM ....................................................................................... 7 PIN FUNCTIONS ...................................................................................................................................... 7 LAYOUT CONSIDERATIONS ................................................................................................................ 8 CONTROL VIA THE SPI INTERFACE ................................................................................................... 9 SERIAL DATA WORD TRANSMITTED TO TMC246 ....................................................................................... 9 SERIAL DATA WORD TRANSMITTED FROM TMC246 .................................................................................. 9 TYPICAL WINDING CURRENT VALUES ..................................................................................................... 10 BASE CURRENT CONTROL VIA INA AND INB IN SPI MODE ....................................................................... 10 CONTROLLING THE POWER DOWN MODE VIA THE SPI INTERFACE ........................................................... 10 OPEN LOAD DETECTION ........................................................................................................................ 11 STANDBY AND SHUTDOWN MODE........................................................................................................... 11 POWER SAVING .................................................................................................................................... 11 STALL DETECTION ............................................................................................................................. 12 USING THE SENSORLESS LOAD MEASUREMENT ...................................................................................... 12 IMPLEMENTING SENSORLESS STALL DETECTION ..................................................................................... 12 PROTECTION FUNCTIONS ................................................................................................................. 13 OVERCURRENT PROTECTION AND DIAGNOSIS ........................................................................................ 13 OVERTEMPERATURE PROTECTION AND DIAGNOSIS................................................................................. 13 OVERVOLTAGE PROTECTION AND ENN PIN BEHAVIOR ............................................................................ 13 CHOPPER PRINCIPLE ......................................................................................................................... 14 CHOPPER CYCLE / USING THE MIXED DECAY FEATURE............................................................................ 14 ADAPTING THE SINE WAVE FOR SMOOTH MOTOR OPERATION .................................................................. 15 BLANK TIME ......................................................................................................................................... 15 BLANK TIME SETTINGS .......................................................................................................................... 15 CLASSICAL NON-SPI CONTROL MODE (STAND ALONE MODE) .................................................. 16 PIN FUNCTIONS IN STAND ALONE MODE.................................................................................................. 16 INPUT SIGNALS FOR MICROSTEP CONTROL IN STAND ALONE MODE .......................................................... 16 CALCULATION OF THE EXTERNAL COMPONENTS ....................................................................... 17 SENSE RESISTOR ................................................................................................................................. 17 EXAMPLES FOR SENSE RESISTOR SETTINGS .......................................................................................... 17 HIGH SIDE OVERCURRENT DETECTION RESISTOR R ............................................................................ 17 SH MAKING THE CIRCUIT SHORT CIRCUIT PROOF ......................................................................................... 18 OSCILLATOR CAPACITOR ...................................................................................................................... 19 TABLE OF OSCILLATOR FREQUENCIES.................................................................................................... 19 PULLUP RESISTORS ON UNUSED INPUTS ................................................................................................ 19 POWER SUPPLY SEQUENCING CONSIDERATIONS .................................................................................... 19 SLOPE CONTROL RESISTOR ................................................................................................................. 20 EXAMPLE FOR SLOPE SETTINGS ............................................................................................................ 20 ABSOLUTE MAXIMUM RATINGS ....................................................................................................... 21 ELECTRICAL CHARACTERISTICS ..................................................................................................... 21 OPERATIONAL RANGE .......................................................................................................................... 21 DC CHARACTERISTICS ......................................................................................................................... 22 AC CHARACTERISTICS ......................................................................................................................... 23 THERMAL PROTECTION ......................................................................................................................... 24 Copyright 2005, TRINAMIC Motion Control GmbH & Co KG