adi,tmcm3216 (on uart bus)

Description

The TMCM-3216 is a compact, 3-axis bipolar stepper motor controller and
standalone driver board.

Examples

#include <zephyr/dt-bindings/gpio/gpio.h>

&usart2 {
    /* Bus options here, not shown */

    adi_tmcm3216 {
        #address-cells = <1>;
        #size-cells = <0>;

        tmcm3216: tmcm3216@1 {
            compatible = "adi,tmcm3216";
            status = "okay";
            reg = <0x1>;
            de-gpios = <&gpioa 3 GPIO_ACTIVE_HIGH>;

            stepper_driver_0: stepper-driver {
                compatible = "adi,tmcm3216-stepper-driver";
                status = "okay";
                idx = <0>;
                micro-step-res = <16>;
            };

            stepper_ctrl_0: stepper-ctrl {
                compatible = "adi,tmcm3216-stepper-ctrl";
                status = "okay";
                idx = <0>;
            };
        };
    };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

de-gpios

phandle-array

GPIO for RS485 Driver Enable (DE) pin