File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
samples/drivers/spi_bitbang Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright (c) 2025 Nordic Semiconductor ASA
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+ /*
8
+ * Test requires loopback between P0.06 and P0.07.
9
+ * No other driver on SPI_CLK and SPI_CS.
10
+ */
11
+
12
+ / {
13
+ spibb0: spibb0 {
14
+ compatible = "zephyr,spi-bitbang";
15
+ status = "okay";
16
+ #address-cells = <1>;
17
+ #size-cells = <0>;
18
+ clk-gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
19
+ mosi-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
20
+ miso-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
21
+ cs-gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
22
+ };
23
+ };
24
+
25
+ &gpio0 {
26
+ status = "okay";
27
+ };
28
+
29
+ &gpiote130 {
30
+ status = "okay";
31
+ owned-channels = <7>;
32
+ };
Original file line number Diff line number Diff line change 9
9
platform_allow :
10
10
- nrf52840dk/nrf52840
11
11
- nrf54h20dk/nrf54h20/cpuapp
12
+ - nrf54h20dk/nrf54h20/cpuppr
12
13
- nrf54l15dk/nrf54l15/cpuapp
13
14
- nrf54lm20dk/nrf54lm20a/cpuapp
14
15
integration_platforms :
You can’t perform that action at this time.
0 commit comments