Skip to content

Commit d17055d

Browse files
committed
[nrf noup] samples: usb: uac2: Use different PPI channels
Do not conflict with the PPI channels that are used for radio core. While the UAC2 samples do not use radio core, the build fails due to hardcoding of the radio channels in uicr_periphconf_table.c. This commit should be reverted once it is clear what channels are free to use by applications. Signed-off-by: Tomasz Moń <[email protected]>
1 parent eb9b58b commit d17055d

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)