Skip to content

Commit 4e46d76

Browse files
committed
samples: i2s: output: add nucleo_u385rg_q
Add nucleo_u385rg_q overlay and SAI conf in samples/drivers/i2s/output Signed-off-by: Mario Paja <[email protected]>
1 parent d827309 commit 4e46d76

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_HEAP_MEM_POOL_SIZE=4192
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
* Copyright (c) 2025 ZAL Zentrum für Angewandte Luftfahrtforschung GmbH
3+
* Copyright (c) 2025 Mario Paja
4+
*
5+
* SPDX-License-Identifier: Apache-2.0
6+
*/
7+
8+
/ {
9+
aliases {
10+
i2s-tx = &sai1_a;
11+
};
12+
13+
chosen {
14+
zephyr,console = &lpuart1;
15+
zephyr,shell-uart = &lpuart1;
16+
};
17+
};
18+
19+
/* 46.875KHz (6.29% Error) */
20+
&sai1_a {
21+
pinctrl-0 = <&sai1_mclk_a_pb8 &sai1_sd_a_pc1
22+
&sai1_fs_a_pa9 &sai1_sck_a_pb10>;
23+
pinctrl-names = "default";
24+
status = "okay";
25+
mclk-enable;
26+
mclk-divider = "div-256";
27+
dma-names = "tx";
28+
};
29+
30+
&gpdma1 {
31+
status = "okay";
32+
};
33+
34+
&clk_msik{
35+
status = "okay";
36+
};
37+
38+
&i2c3 {
39+
status = "disabled";
40+
};
41+
42+
&usart1 {
43+
status = "disabled";
44+
};

0 commit comments

Comments
 (0)