Skip to content

Commit d0c5cff

Browse files
57300tmon-nordic
authored andcommitted
[nrf fromlist] samples: usb: uac2: Use different PPI channels
Avoid using the PPI channels that are currently reserved for Radiocore through the default configuration found in `uicr_periphconf_table.c`. Otherwise, the samples may build but will not work as expected. Upstream PR #: 91826 Signed-off-by: Grzegorz Swiderski <[email protected]> (cherry picked from commit bc26475c262d6dcb1ec1b4d8bf53bf4f262382dc) Signed-off-by: Tomasz Moń <[email protected]>
1 parent dd72d2c commit d0c5cff

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

samples/subsys/usb/uac2_explicit_feedback/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,36 +34,36 @@ i2s_tx: &tdm130 {
3434
status = "okay";
3535
};
3636

37-
/* PPI channel 0 for TDM130 MAXCNT */
37+
/* PPI channel 4 for TDM130 MAXCNT */
3838
&dppic132 {
3939
compatible = "nordic,nrf-dppic-global";
40-
owned-channels = <0>;
41-
source-channels = <0>;
42-
nonsecure-channels = <0>;
40+
owned-channels = <4>;
41+
source-channels = <4>;
42+
nonsecure-channels = <4>;
4343
status = "okay";
4444
};
4545

46-
/* PPI channel 1 for GPIOTE used for feedback in edge counter mode */
46+
/* PPI channel 5 for GPIOTE used for feedback in edge counter mode */
4747
&gpiote130 {
4848
status = "okay";
49-
owned-channels = <1>;
49+
owned-channels = <5>;
5050
};
5151

5252
/* GPIOTE130 and TDM130 PPI needs routing to TIMER131 through main APB */
5353
&dppic130 {
5454
compatible = "nordic,nrf-dppic-global";
55-
owned-channels = <0 1>;
56-
sink-channels = <0 1>;
57-
source-channels = <0 1>;
58-
nonsecure-channels = <0 1>;
55+
owned-channels = <4 5>;
56+
sink-channels = <4 5>;
57+
source-channels = <4 5>;
58+
nonsecure-channels = <4 5>;
5959
status = "okay";
6060
};
6161

62-
/* TIMER131 PPI channel 2 is used for SOF */
62+
/* TIMER131 PPI channel 6 is used for SOF */
6363
&dppic133 {
6464
compatible = "nordic,nrf-dppic-global";
65-
owned-channels = <0 1 2>;
66-
sink-channels = <0 1 2>;
65+
owned-channels = <4 5 6>;
66+
sink-channels = <4 5 6>;
6767
status = "okay";
6868
};
6969

samples/subsys/usb/uac2_implicit_feedback/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,30 @@ i2s_rxtx: &tdm130 {
3535
status = "okay";
3636
};
3737

38-
/* PPI channel 0 for TDM130 MAXCNT */
38+
/* PPI channel 4 for TDM130 MAXCNT */
3939
&dppic132 {
4040
compatible = "nordic,nrf-dppic-global";
41-
owned-channels = <0>;
42-
source-channels = <0>;
43-
nonsecure-channels = <0>;
41+
owned-channels = <4>;
42+
source-channels = <4>;
43+
nonsecure-channels = <4>;
4444
status = "okay";
4545
};
4646

4747
/* TDM130 PPI needs routing to TIMER131 through main APB */
4848
&dppic130 {
4949
compatible = "nordic,nrf-dppic-global";
50-
owned-channels = <0>;
51-
sink-channels = <0>;
52-
source-channels = <0>;
53-
nonsecure-channels = <0>;
50+
owned-channels = <4>;
51+
sink-channels = <4>;
52+
source-channels = <4>;
53+
nonsecure-channels = <4>;
5454
status = "okay";
5555
};
5656

57-
/* TIMER131 PPI channel 1 is used for SOF */
57+
/* TIMER131 PPI channel 5 is used for SOF */
5858
&dppic133 {
5959
compatible = "nordic,nrf-dppic-global";
60-
owned-channels = <0 1>;
61-
sink-channels = <0 1>;
60+
owned-channels = <4 5>;
61+
sink-channels = <4 5>;
6262
status = "okay";
6363
};
6464

0 commit comments

Comments
 (0)