EYE on NPI – TMC5272 Dual-Axis Stepper Motor Controller and Driver IC #EYEonNPI #digikey @digikey @ADI_News @adafruit

This week’s EYE ON NPI is a Texas-two-steppin’ motion controller that takes your 2-axis motion control to the next level: it’s ADI/Maxim/Trinamic’s TMC5272 Dual-Axis Stepper Motor Controller and Driver IC.

We’ve been checking out many of Trinamic’s great stepper motor driver chips lately and this one is the latest generation, with 2 drivers, plus motion control, for advanced usage even on boards that don’t need real-time GPIO toggling for steps. Trinamic is definitely not a group that ‘rests on their laurels’: every year they are coming out with even more improvements to their awesome stepper motor drivers. This chip has 250 pages of datasheet and each page details yet another improvement or setting that will make your mechatronics fast, silent, and efficient.

Here at the ‘fruit we’ve been exploring some of Trinamic’s stepper motor drivers such as the TMC2209 which is a huge upgrade over the ‘classic’ A4988 driver used in so many 3D printers.

We recently had this chip used in a turntable project, and our 3D team remarked at how fast and quiet the TMC is comparatively. Of course, since the TMC2209 there have been many other releases, some of which we’ve covered on EYE ON NPI, such as the TMC2226 and the TMC5240.

What sets the TMC5272 apart? Well, the first big thing is you get double the fun with two full stepper drivers for X and Y axis support.

The voltage range is 2-20V, so good for low to medium voltage motors. The tradeoff is you can only get 1.5A max peak current, 1.1A sine wave, but for most users that don’t have massive steppers that is perfectly fine.

There’s also a lot more ‘smarts’ in this stepper than the ones even from a couple years ago: 8-point motion control, no-loss/no-sense-resistor current management, 2D trajectory management over two axes, encoder or reference switch inputs, sensorless standstill motion detection.

Of course all the fixin’s you expect from the previous generations are there: silent stepping, UART and SPI and STEP/DIR interface, StallGuard, 1 to 256 microstepping, and diagnostic output.

First, let’s start with the warning or exciting news that it’s in a 3x3mm WLCSP package: this means you’ll need at least a 4 layer board and plugged vias. It also means heat dissipation might be more challenging than the drivers with the big ground pads.

However, a nice tradeoff is that there is internal ‘lossless’ current sensing, so no chunky resistors are required on your design. The upside of a WLCSP is that we have lots more pins for tons of interfaces and, of course, the extra pads for double the motor control with dedicated inputs/outputs.

Each driver can run one bipolar stepper motor, and has multiple interfaces for control. As usual there’s the STEP/DIR interface. This is great for usage with older designs that expect to toggle GPIO on each step.

However, the S/D pins are shared with some of the cool sensors/encoders/switches. Plus all the really cool things the chip can do are too complex to adjust with just a few GPIO, so to really get the most use you’ll need to use one of the packetized interfaces: UART or SPI.

UART is great if you happen to only have USB for your computer: you can always just use a USB-serial converter, and the controller can be daisy-chained for multiple drivers per UART. If you have extra GPIO and/or a dedicated SPI port, we would recommend that since it’s much faster and you can easily add more chips with one chip-select per.

Some of the cool things you can do via the interface include a 8-point ramp controller: instead of stepping each motor and dynamically adjusting the micro-steps for speed/precision, the TMC5272 can do it all on its own. It can also handle knowing ‘where’ it is on an axis bar, by using the built in homing support.

Homing can be done either by using the sensorless ‘StallGuard‘ or with reference switches.

You can wire the switches directly to the TMC5272 – good if you want to have slow motion homing since you don’t have to whack into the end of the axis – and then let the chip manage where it is. Then you can tell it you want to move and when you want to get there, and the TMC will take care of the rest.

For ultra-accurate motion control, you can connect an external optical or magnetic encoder to the motor shaft that will tell you exactly when a step has occurred. There’s also a neat back-EMF sensor that can tell when the motor has moved while ‘disabled’ – good to know when you will need to do another homing step after re-enabling the motor.

There’s also an TMC5272-EVAL-KIT eval board that you can plug-and-play for instant stepper motor usage.

It works instantly with the TMCL IDE for trying out the various programmable settings and turn the motor via the TMCL IDE which sends UART/SPI commands over their USB driver board, so it’s perfect for verifying the performance with your desired motors.

They also have a huge collection of mini breakout boards for breadboard/perfboard wiring with open source hardware files for all of them, so you can copy and paste known-working schematics and board layouts for any Trinamic chips.

If you want double the pleasure, double the fun of double-motor driving you can pick up the ADI/Maxim/Trinamic’s TMC5272 Dual-Axis Stepper Motor Controller and Driver IC from DigiKey today – it’s in stock and ready to ship immediately! Place your order now and by tomorrow morning you can be step-step-stepping to the most advanced 2-axis motor controller design you’ve ever seen.

See EYE on NPI below then the DigiKey eval kit unboxing video.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.