File tree Expand file tree Collapse file tree 3 files changed +87
-0
lines changed
boards/shields/mikroe_silent_step_2_click Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Navimatix GmbH
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config SHIELD_MIKROE_SILENT_STEP_2_CLICK
5
+ def_bool $(shields_list_contains,mikroe_silent_step_2_click)
Original file line number Diff line number Diff line change
1
+ .. _mikroe_weather_click :
2
+
3
+ MikroElektronika Silent Step 2 Click
4
+ ####################################
5
+
6
+ Overview
7
+ ********
8
+
9
+ The MikroElektronika `Silent Step 2 Click `_ features the `ADI TMC2130 `_ stepper driver with step-dir
10
+ control via gpio and configuration via spi. A `TI TCA9538 `_ gpio expander accessed via i2c offers
11
+ access to additional pins of th stepper driver.
12
+ The TMC2130 uses by default the work-queue timing source, but that can be changed.
13
+
14
+
15
+
16
+ Requirements
17
+ ************
18
+
19
+ This shield can only be used with a board that provides a mikroBUS
20
+ socket and defines a ``mikrobus_i2c `` node label for the mikroBUS I2C
21
+ interface, a ``mikrobus_spi `` node label for the mikroBUS SPI
22
+ interface and a ``mikrobus_header `` node label (see :ref: `shields ` for more details).
23
+
24
+ Programming
25
+ ***********
26
+
27
+ .. zephyr-app-commands ::
28
+ :zephyr-app: <app>
29
+ :board: <board>
30
+ :shield: mikroe_silent_step_2_click
31
+ :goals: build
32
+
33
+ .. _Silent Step 2 Click :
34
+ https://www.mikroe.com/silent-step-2-click
35
+
36
+ .. _ADI TMC2130 :
37
+ https://www.analog.com/en/products/tmc2130.html
38
+
39
+ .. _TI TCA9538 :
40
+ https://www.ti.com/product/TCA9538
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Navimatix GmbH
3
+ * SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ &mikrobus_i2c {
7
+ status = "okay";
8
+ tca9538a_mikroe_silent_step_2_click: tca9538a@70 {
9
+ status = "okay";
10
+ compatible = "ti,tca9538";
11
+
12
+ reg = <0x70>;
13
+
14
+ gpio-controller;
15
+ ngpios = <8>;
16
+ #gpio-cells = <2>;
17
+
18
+ gpio-reserved-ranges = <3 1>;
19
+
20
+ gpio-line-names =
21
+ "EN",
22
+ "FT1",
23
+ "FT2";
24
+ };
25
+ };
26
+
27
+ &mikrobus_spi {
28
+ cs-gpios = <&mikrobus_header 2 GPIO_ACTIVE_LOW>;
29
+ status = "okay";
30
+ tmc2130_mikroe_silent_step_2_click: tmc2130@0 {
31
+ compatible = "adi,tmc2130-spi-step-dir";
32
+ reg = <0>;
33
+ spi-max-frequency = <1000000>;
34
+
35
+ dir-gpios = <&mikrobus_header 0 0>;
36
+ step-gpios = <&mikrobus_header 6 0>;
37
+ en-gpios = <&tca9538a_mikroe_silent_step_2_click 0 GPIO_ACTIVE_LOW>;
38
+ irun = <20>;
39
+ ihold = <20>;
40
+ stealth-chop-enabled;
41
+ };
42
+ };
You can’t perform that action at this time.
0 commit comments