ti,drv84xx

Description

TI DRV84XX stepper motor driver.
Compatible with drv8424, drv8425, drv8426, drv8434 and drv8436.

Example:
drv8424: drv8424 {
  status = "okay";
  compatible = "ti,drv84xx";

  fault-gpios = <&arduino_header 16 0>;
  sleep-gpios = <&arduino_header 15 GPIO_ACTIVE_LOW>;
  en-gpios  = <&arduino_header 14 0>;
  m0-gpios = <&mikroe_stepper_gpios 0 0>;
  m1-gpios = <&mikroe_stepper_gpios 1 0>;
};

Properties

Node specific properties

Properties not inherited from the base binding file.

Name

Type

Details

step-width-ns

int

Minimum pulse width in nanoseconds for the step signal.

Default value: 970

fault-gpios

phandle-array

Fault pin.

sleep-gpios

phandle-array

Sleep pin (active low).

m0-gpios

phandle-array

Microstep configuration pin 0.

m1-gpios

phandle-array

Microstep configuration pin 1.

micro-step-res

int

micro-step resolution to be set while initializing the device driver.

Default value: 1

Legal values: 1, 2, 4, 8, 16, 32, 64, 128, 256

en-gpios

phandle-array

GPIO pins used to control the enable signal of the motor driver.

Deprecated node specific properties

Deprecated properties not inherited from the base binding file.

(None)

Base properties

Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “ti,drv84xx” compatible.

(None)