STSPIN250 Click is a brushed DC motor driver with the current limiting and current sensing. It is based on the STSPIN250, a low voltage DC brushed motor driver. It is optimized for portable and low voltage applications, featuring the lowest standby current available on the market (max 80nA). Thanks to the low ON resistance of the MOSFETs used for its output stage, the STSPIN250 represents a highly efficient DC motor driver, with a very small (3x3mm QFN) form factor. The device implements a PWM current control with the fixed OFF time, along with a full set of protection features. STSPIN250 Click can be used with the step motor voltage ranging from 1.8V to 10V, and current up to 2.6A.

STSPIN250 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.

This Click board™ is optimized for driving brushed DC motors using batteries. Therefore, the STSPIN250 integrates very efficient H-Bridges in a parallel configuration, with a total ON resistance (HS+LS) of approximately 200mΩ. The PWM current controller allows for a programmable OFF time. Also, the motor current limit can be set by an onboard potentiometer. These features make STSPIN250 Click perfectly suited for rapid development of various battery-powered and portable brushed DC motor applications, including home appliances (such as toothbrushes and shavers), toys, portable printers, mechatronics, and robotics-related applications, etc.

STSPIN250 Click is based on the STSPIN250, a low voltage DC brushed motor driver by STMicroelectronics. This device integrates two full-bridge MOSFET channels in a parallel configuration, which can sustain up to 2.6A. This IC is targeted towards battery-powered applications, featuring optimizations toward lowered power consumption. It has a PWM current controller that has a fixed OFF time, during which the current decay sequence is performed. This effectively limits the current through the connected load (motor). The OFF (decay) time is fixed to approximately 40 µs on this Click board™.

The PWM current controller compares the voltage across the sense resistor (VSENS) and the VREF voltage, which is adjustable on STSPIN250 Click. When VSENS becomes greater than the VREF voltage, the current limiting is triggered, and the OFF timer starts counting. The decay sequence is performed. By using a simple formula, the VREF voltage can be determined, for a specific load current: VREF = RSENS · ILOAD


  • VREF is the voltage on the REF pin of the STSPIN250, adjustable with the potentiometer;
  • RSENS is the resistance of the current sensing resistor, which is 150 mΩ;
  • ILOAD is the peak current through the motor coils;

By knowing the RSENS, it can be easily calculated how much voltage should be applied to the REF pin of the STSPIN250, to limit the current according to ILOAD. For example, if there is 0.388V applied at the VREF pin, the current limit will be maxed out to 2.58A. The onboard potentiometer allows to simply adjust the VREF voltage, according to needs.

The connected motor can be controlled by using these pins: PWM, PH, RST, and EN/INT:

The PH pin determines the direction of the current. If set to a HIGH logic level, the current will flow in one direction, and vice-versa: when a LOW logic level is applied, the current will reverse its direction. This pin is routed to the AN pin of the mikroBUS™ and labeled as PH.

PWM pin can be used to regulate the speed of the rotation. When there is a LOW logic level on this pin, the current will start circulating through the low-side (LS) MOSFETs and the motor coil. When there is a HIGH logic level on this pin, the current will flow through the load, depending on the logic state of the PH pin. Higher duty cycle percentage will result in higher angular speed. While the current decay sequence is performed, the logic states on the input pins will be disregarded until the decay timer expires. The decay time is fixed to approximately 40 µs on this Click board™.

The STBY/RESET (RST) pin of the STSPIN250 is used to set both bridge outputs in HIGH-Z mode, disconnecting the power supply from the output stage. This pin allows lower average power consumption as no current can flow from the power supply to the motor. This pin is routed to the RST pin of the mikroBUS™.

The EN/FAULT (EN) pin has a double purpose: when set to a high logic level, it acts as a chip enable, allowing the device to operate. In the case of a fault condition on the IC, it will be asserted to a LOW logic level, acting as an interrupt pin. After a timeout period defined by the external capacitor and resistor values, a restart attempt will be made. This pin is routed to both CS and INT pin of the mikroBUS™, allowing the host MCU to use both functions. These pins are labeled as EN and FLT on the Click board™, respectively.

The motor power supply can be connected to the input terminal labeled as VIN and should be within the range of 1.8V to 10V. The motor can be connected at the second terminal, between two poles labeled as A+ and A-. The Click board™ requires an external power supply for the motor in order to work. However, it also requires 3.3V from the mikroBUS™ rail.

  • Interface: GPIO, PWM
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V, 5V


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.