Skip to content

Commit d9b2575

Browse files
committed
boards: shields: Add Mikroe Silent Step 2 Click Shield
The Silent Step 2 Click shield offers a ADI TMC3130 stepper driver. Some pins are accessed via a TI TCA9538A gpio expander. Signed-off-by: Jan Behrens <jan.behrens@navimatix.de>
1 parent 3a06a9a commit d9b2575

File tree

5 files changed

+97
-0
lines changed

5 files changed

+97
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
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)
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 `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+
.. 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+
.. _TI TCA9538:
44+
https://www.ti.com/product/TCA9538
Binary file not shown.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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";
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 = <&tca9538a_mikroe_silent_step_2_click 0 GPIO_ACTIVE_LOW>;
38+
irun = <20>;
39+
ihold = <20>;
40+
stealth-chop-enabled;
41+
};
42+
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
shield:
2+
name: mikroe_silent_step_2_click
3+
full_name: Silent Step 2 Click
4+
vendor: mikroe
5+
supported_features:
6+
- stepper

0 commit comments

Comments
 (0)