Skip to content

Commit e58a538

Browse files
[nrf fromlist] tests: drivers: spi: lower nrf54l and nrf7120 SPI freq to 8MHz
The nrf7120 and nrf54l SPIM21 and SPIM22 instances do not support 16MHz, and the SPIS21 only supports up to 8MHz according to the datasheet. The SPIS21 is the target device, which is what defines the spi-max-frequency, compared to the max-frequency of the bus, which does correctly set it to 8MHz for the SPIM instances. Lower the spi-max-frequency to 8MHz, and remove the nrf7120 from the 16Mhz and 32Mhz test case from testcase.yaml Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no> Upstream PR #: 108327
1 parent 0c07bcf commit e58a538

7 files changed

Lines changed: 6 additions & 8 deletions

tests/drivers/spi/spi_controller_peripheral/boards/bl54l15_dvk_nrf54l15_cpuapp.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
dut_spi_dt: test-spi-dev@0 {
6060
compatible = "vnd,spi-device";
6161
reg = <0>;
62-
spi-max-frequency = <DT_FREQ_M(16)>;
62+
spi-max-frequency = <DT_FREQ_M(8)>;
6363
};
6464
};
6565

tests/drivers/spi/spi_controller_peripheral/boards/bl54l15u_dvk_nrf54l15_cpuapp.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
dut_spi_dt: test-spi-dev@0 {
6060
compatible = "vnd,spi-device";
6161
reg = <0>;
62-
spi-max-frequency = <DT_FREQ_M(16)>;
62+
spi-max-frequency = <DT_FREQ_M(8)>;
6363
};
6464
};
6565

tests/drivers/spi/spi_controller_peripheral/boards/nrf54lm20dk_nrf54lm20a_cpuapp.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
dut_spi_dt: test-spi-dev@0 {
6666
compatible = "vnd,spi-device";
6767
reg = <0>;
68-
spi-max-frequency = <DT_FREQ_M(16)>;
68+
spi-max-frequency = <DT_FREQ_M(8)>;
6969
};
7070
};
7171

tests/drivers/spi/spi_controller_peripheral/boards/nrf54lm20dk_nrf54lm20b_cpuapp.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
dut_spi_dt: test-spi-dev@0 {
6666
compatible = "vnd,spi-device";
6767
reg = <0>;
68-
spi-max-frequency = <DT_FREQ_M(16)>;
68+
spi-max-frequency = <DT_FREQ_M(8)>;
6969
};
7070
};
7171

tests/drivers/spi/spi_controller_peripheral/boards/nrf7120dk_nrf7120_cpuapp.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
dut_spi_dt: test-spi-dev@0 {
5959
compatible = "vnd,spi-device";
6060
reg = <0>;
61-
spi-max-frequency = <DT_FREQ_M(16)>;
61+
spi-max-frequency = <DT_FREQ_M(8)>;
6262
};
6363
};
6464

tests/drivers/spi/spi_controller_peripheral/boards/ophelia4ev_nrf54l15_cpuapp.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
dut_spi_dt: test-spi-dev@0 {
5959
compatible = "vnd,spi-device";
6060
reg = <0>;
61-
spi-max-frequency = <DT_FREQ_M(16)>;
61+
spi-max-frequency = <DT_FREQ_M(8)>;
6262
};
6363
};
6464

tests/drivers/spi/spi_loopback/testcase.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,13 +330,11 @@ tests:
330330
extra_args: EXTRA_DTC_OVERLAY_FILE="boards/nrf_at_16mhz.overlay"
331331
platform_allow:
332332
- nrf54l15dk/nrf54l15/cpuapp
333-
- nrf7120dk/nrf7120/cpuapp
334333
- ophelia4ev/nrf54l15/cpuapp
335334
drivers.spi.nrf54l_32mhz:
336335
extra_args: EXTRA_DTC_OVERLAY_FILE="boards/nrf_at_32mhz.overlay"
337336
platform_allow:
338337
- nrf54l15dk/nrf54l15/cpuapp
339-
- nrf7120dk/nrf7120/cpuapp
340338
- ophelia4ev/nrf54l15/cpuapp
341339
drivers.spi.nrf54lm20_16mhz_32mhz:
342340
harness: ztest

0 commit comments

Comments
 (0)