Skip to content

Commit 276bdb2

Browse files
jbehrensnxdanieldegrasse
authored andcommitted
boards: shields: Fixes Stepper 19 Click GPIO Expander
Replaces TI TCA9538 with NXP PCA9538. Also adds additional links to the readme. Signed-off-by: Jan Behrens <[email protected]>
1 parent 89d54b6 commit 276bdb2

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

boards/shields/mikroe_stepper_19_click/doc/index.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ MikroElektronika Stepper 19 Click
66
Overview
77
********
88

9-
Stepper 19 Click shield has a TI DRV8424 stepper driver accessed via GPIO and
10-
a TI TCA9538 GPIO expander accessed via I2C. Some DRV8424 pins are accessed
9+
The MikroElektronika `Stepper 19 Click`_ shield has a `TI DRV8424`_ stepper driver accessed via
10+
GPIO and a `NXP PCA9538A`_ GPIO expander accessed via I2C. Some DRV8424 pins are accessed
1111
via the GPIO expander.
12-
The DRV8424 uses by default the work-queue timing source, but that can be changed.
13-
14-
More information about the shield can be found at
15-
`Mikroe Stepper 19 click`_.
1612

1713
.. figure:: stepper_19_click.webp
1814
:align: center
@@ -41,5 +37,11 @@ References
4137

4238
.. target-notes::
4339

44-
.. _Mikroe Stepper 19 click:
40+
.. _Stepper 19 Click:
4541
https://www.mikroe.com/stepper-19-click
42+
43+
.. _TI DRV8424:
44+
https://www.ti.com/product/DRV8424
45+
46+
.. _NXP PCA9538A:
47+
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

boards/shields/mikroe_stepper_19_click/mikroe_stepper_19_click.overlay

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
&mikrobus_i2c {
1313
status = "okay";
1414

15-
tca9538a_mikroe_stepper_19_click: tca9538a@70 {
15+
pca9538a_mikroe_stepper_19_click: pca9538a@70 {
1616
status = "okay";
17-
compatible = "ti,tca9538";
17+
compatible = "nxp,pca9538";
1818

1919
reg = <0x70>;
2020

@@ -45,7 +45,7 @@
4545
sleep-gpios = <&mikrobus_header 1 GPIO_ACTIVE_LOW>;
4646
en-gpios = <&mikrobus_header 2 0>;
4747
fault-gpios = <&mikrobus_header 7 GPIO_ACTIVE_LOW>;
48-
m0-gpios = <&tca9538a_mikroe_stepper_19_click 0 0>;
49-
m1-gpios = <&tca9538a_mikroe_stepper_19_click 1 0>;
48+
m0-gpios = <&pca9538a_mikroe_stepper_19_click 0 0>;
49+
m1-gpios = <&pca9538a_mikroe_stepper_19_click 1 0>;
5050
};
5151
};

0 commit comments

Comments
 (0)