Skip to content

Commit a5de2aa

Browse files
nordic-seglnordicjm
authored andcommitted
tests: zephyr: drivers: audio: dmic_api: Run on nRF54LM20A PDK
Add overlay that defines correct loopback to run the test on nRF54LM20A PDK. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent aa24270 commit a5de2aa

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

tests/zephyr/drivers/audio/dmic_api/boards/nrf54lm20apdk_nrf54lm20a_cpuapp.overlay

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
55
*/
66

7+
/* Test requires loopback between P1.18 and P1.24.
8+
* For best performance, PDM_CLK shall be on 'Clock pin'.
9+
*/
10+
711
/ {
812
aliases {
913
dmic-dev = &pdm20;
@@ -13,8 +17,8 @@
1317
&pinctrl {
1418
pdm20_default_alt: pdm20_default_alt {
1519
group1 {
16-
psels = <NRF_PSEL(PDM_CLK, 1, 10)>,
17-
<NRF_PSEL(PDM_DIN, 1, 11)>;
20+
psels = <NRF_PSEL(PDM_CLK, 1, 18)>,
21+
<NRF_PSEL(PDM_DIN, 1, 24)>;
1822
};
1923
};
2024
};
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/* Test requires loopback between P1.10 and P1.11 */
8+
9+
/ {
10+
aliases {
11+
dmic-dev = &pdm20;
12+
};
13+
};
14+
15+
&pinctrl {
16+
pdm20_default_alt: pdm20_default_alt {
17+
group1 {
18+
psels = <NRF_PSEL(PDM_CLK, 1, 10)>,
19+
<NRF_PSEL(PDM_DIN, 1, 11)>;
20+
};
21+
};
22+
};
23+
24+
dmic_dev: &pdm20 {
25+
status = "okay";
26+
pinctrl-0 = <&pdm20_default_alt>;
27+
pinctrl-names = "default";
28+
clock-source = "PCLK32M";
29+
};

tests/zephyr/drivers/audio/dmic_api/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,7 @@ tests:
66
harness: ztest
77
platform_allow:
88
- nrf54lm20apdk/nrf54lm20a/cpuapp
9+
- [email protected]/nrf54lm20a/cpuapp
910
integration_platforms:
1011
- nrf54lm20apdk/nrf54lm20a/cpuapp
12+
- [email protected]/nrf54lm20a/cpuapp

0 commit comments

Comments
 (0)