File tree Expand file tree Collapse file tree 5 files changed +97
-0
lines changed
boards/shields/mikroe_silent_step_2_click Expand file tree Collapse file tree 5 files changed +97
-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_silent_step_2_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 `NXP PCA9538A `_ 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
+ .. figure :: silent_step_2_click.webp
15
+ :align: center
16
+ :alt: MikroElektronika Silent Step 2 Click
17
+
18
+ MikroElektronika Silent Step 2 Click (Credit: MikroElektronika)
19
+
20
+ Requirements
21
+ ************
22
+
23
+ This shield can only be used with a board that provides a mikroBUS
24
+ socket and defines a ``mikrobus_i2c `` node label for the mikroBUS I2C
25
+ interface, a ``mikrobus_spi `` node label for the mikroBUS SPI
26
+ interface and a ``mikrobus_header `` node label (see :ref: `shields ` for more details).
27
+
28
+ Programming
29
+ ***********
30
+
31
+ .. zephyr-app-commands ::
32
+ :zephyr-app: <app>
33
+ :board: <board>
34
+ :shield: mikroe_silent_step_2_click
35
+ :goals: build
36
+
37
+ .. _Silent Step 2 Click :
38
+ https://www.mikroe.com/silent-step-2-click
39
+
40
+ .. _ADI TMC2130 :
41
+ https://www.analog.com/en/products/tmc2130.html
42
+
43
+ .. _NXP PCA9538A :
44
+ https://www.nxp.com/products/interfaces/ic-spi-i3c-interface-devices/general-purpose-i-o-gpio/low-voltage-8-bit-ic-bus-i-o-port-with-interrupt-and-reset:PCA9538A
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
+ pca9538a_mikroe_silent_step_2_click: pca9538a@70 {
9
+ status = "okay";
10
+ compatible = "nxp,pca9538";
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";
32
+ reg = <0>;
33
+ spi-max-frequency = <DT_FREQ_M(1)>;
34
+
35
+ dir-gpios = <&mikrobus_header 0 0>;
36
+ step-gpios = <&mikrobus_header 6 0>;
37
+ en-gpios = <&pca9538a_mikroe_silent_step_2_click 0 GPIO_ACTIVE_LOW>;
38
+ irun = <20>;
39
+ ihold = <20>;
40
+ en-pwm-mode;
41
+ };
42
+ };
Original file line number Diff line number Diff line change
1
+ shield :
2
+ name : mikroe_silent_step_2_click
3
+ full_name : Silent Step 2 Click
4
+ vendor : mikroe
5
+ supported_features :
6
+ - stepper
You can’t perform that action at this time.
0 commit comments