File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
samples/drivers/i2s/output/boards Expand file tree Collapse file tree 2 files changed +41
-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+ &pll {
14+ /* 44.1KHz (-0.03% Error) */
15+ div-q = <8>;
16+ };
17+
18+ /* MCLK is not enabled */
19+ /* SAI1_A MCLK (PB8) is not available on the Arduino Nano header */
20+ &sai1_a {
21+ pinctrl-0 = <&sai1_sd_a_pa10 &sai1_fs_a_pa9 &sai1_sck_a_pa8>;
22+ pinctrl-names = "default";
23+ status = "okay";
24+ mclk-divider = "div-256";
25+ dma-names = "tx";
26+ };
27+
28+ &dma1{
29+ status = "okay";
30+ };
31+
32+ &dmamux1{
33+ status = "okay";
34+ };
35+
36+ /* I2C2 SCL conflicts with SAI1_A FS */
37+ /* I2C2 SDA conflicts with SAI1_A SCK */
38+ &i2c2 {
39+ status = "disabled";
40+ };
You can’t perform that action at this time.
0 commit comments