File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
samples/drivers/i2s/output/boards Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ CONFIG_HEAP_MEM_POOL_SIZE=4192
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 Mario Paja
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ / {
8+ aliases {
9+ i2s-tx = &sai1_a;
10+ };
11+ };
12+
13+ /* 44.27KHz (0.38% Error) */
14+ &pllsai1 {
15+ div-m = <1>;
16+ mul-n = <17>;
17+ div-r = <2>;
18+ div-q = <2>;
19+ div-p = <12>;
20+ clocks = <&clk_hsi>;
21+ status = "okay";
22+ };
23+
24+ &dma2 {
25+ status = "okay";
26+ };
27+
28+ &sai1_a {
29+ pinctrl-0 = <&sai1_mclk_a_pa3 &sai1_sd_a_pa10
30+ &sai1_fs_a_pa9 &sai1_sck_a_pa8>;
31+ pinctrl-names = "default";
32+ status = "okay";
33+ mclk-enable;
34+ mclk-divider = "div-256";
35+ dma-names = "tx";
36+ };
37+
38+ /* USART1 TX conflicts with SAI1_A FS */
39+ &usart1 {
40+ status = "disabled";
41+ };
You can’t perform that action at this time.
0 commit comments