Skip to content

Commit 6f8e620

Browse files
djiatsaf-stcarlescufi
authored andcommitted
boards: st: nucleo_wba65ri: update arduino spi node
According to user manual UM3448, spi2 is connected to the ST Arduino header. This has been confirmed using the spi_loopback test driver. Also update documentation. Signed-off-by: Fabrice DJIATSA <[email protected]>
1 parent 8415f7f commit 6f8e620

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

boards/st/nucleo_wba65ri/arduino_r3_connector.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@
3636
};
3737

3838
arduino_i2c: &i2c1 {};
39-
arduino_spi: &spi1 {};
39+
arduino_spi: &spi2 {};

boards/st/nucleo_wba65ri/doc/nucleo_wba65ri.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ Default Zephyr Peripheral Mapping:
168168
- I2C_1_SDA : PB1
169169
- USER_PB : PC13
170170
- LD1 : PD8
171-
- SPI_1_NSS : PA12 (arduino_spi)
172-
- SPI_1_SCK : PB4 (arduino_spi)
173-
- SPI_1_MISO : PB3 (arduino_spi)
174-
- SPI_1_MOSI : PA15 (arduino_spi)
171+
- SPI_2_NSS : PB9 (arduino_spi)
172+
- SPI_2_SCK : PB10 (arduino_spi)
173+
- SPI_2_MISO : PA9 (arduino_spi)
174+
- SPI_2_MOSI : PC3 (arduino_spi)
175175

176176
System Clock
177177
------------

boards/st/nucleo_wba65ri/nucleo_wba65ri.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@
123123
status = "okay";
124124
};
125125

126-
&spi1 {
127-
pinctrl-0 = <&spi1_nss_pa12 &spi1_sck_pb4
128-
&spi1_miso_pb3 &spi1_mosi_pa15>;
126+
&spi2 {
127+
pinctrl-0 = <&spi2_nss_pb9 &spi2_sck_pb10
128+
&spi2_miso_pa9 &spi2_mosi_pc3>;
129129
pinctrl-names = "default";
130130
status = "okay";
131131
};

0 commit comments

Comments
 (0)