ti,drv8424
Vendor: Texas Instruments
Note
An implementation of a driver matching this compatible is available in drivers/stepper/ti/drv8424.c.
Description
TI DRV8424 stepper motor driver.
SAFETY:
The counter needs to support both set_top_value functionalities: Setting a new top value and
attaching an ISR to the turnaround.
SAFETY:
The step gpio pin needs to be connected directly to the SOC GPIO controller, connecting the
pin to a controller connected via a bus such as i2c or others will lead to undefined behaviour.
Example:
drv8424: drv8424 {
status = "okay";
compatible = "ti,drv8424";
dir-gpios = <&arduino_header 18 0>;
step-gpios = <&arduino_header 19 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>;
counter = <&counter2>;
};
Properties
Properties not inherited from the base binding file.
Name |
Type |
Details |
---|---|---|
|
|
Fault pin.
|
|
|
Enable pin.
|
|
|
Sleep pin (active low).
|
|
|
Microstep configuration pin 0.
This property is required. |
|
|
Microstep configuration pin 1.
This property is required. |
|
|
Counter used for generating step-accurate pulse signals.
This property is required. |
|
|
micro-step resolution to be set while initializing the device driver.
Default value: Legal values: |
|
|
The GPIO pins used to send step signals to the stepper motor.
|
|
|
The GPIO pins used to send direction signals to the stepper motor.
Pin will be driven high for forward direction and low for reverse direction.
|
Deprecated properties not inherited from the base binding file.
(None)
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,drv8424” compatible.
(None)