File tree Expand file tree Collapse file tree
tests/drivers/i2s/i2s_speed/boards Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2026 Mario Paja
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ CONFIG_HEAP_MEM_POOL_SIZE=128
8+ CONFIG_I2S_TEST_SEPARATE_DEVICES=y
9+ CONFIG_I2S_TEST_USE_GPIO_LOOPBACK=y
10+ CONFIG_I2S_TEST_USE_I2S_DIR_BOTH=n
11+
12+ # 88200Hz is not supported by Hardware
13+ CONFIG_I2S_TEST_SKIP_SAMPLERATE_88200=y
14+
15+ # Clock is optimized for 44100Hz, 96000Hz is not supported
16+ CONFIG_I2S_TEST_SKIP_SAMPLERATE_96000=y
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2026 Mario Paja
3+ *
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+
7+ / {
8+ aliases {
9+ i2s-node0 = &sai1_b;
10+ i2s-node1 = &sai1_a;
11+ };
12+ };
13+
14+ &pll2 {
15+ /* 44.1KHz (-0.03% Error) */
16+ div-m = <1>;
17+ mul-n = <79>;
18+ div-q = <2>;
19+ div-r = <2>;
20+ div-p = <7>;
21+ clocks = <&clk_msis>;
22+ status = "okay";
23+ };
24+
25+ &sai1_a {
26+ pinctrl-0 = <&sai1_sck_a_pe5 &sai1_fs_a_pe4 &sai1_sd_a_pe6>;
27+ pinctrl-names = "default";
28+ status = "okay";
29+ mclk-divider = "div-256";
30+ fifo-threshold = "empty";
31+ dma-names = "tx";
32+ };
33+
34+ &sai1_b {
35+ pinctrl-0 = <&sai1_sck_b_pf8 &sai1_fs_b_pf9 &sai1_sd_b_pe3>;
36+ pinctrl-names = "default";
37+ status = "okay";
38+ mclk-divider = "div-256";
39+ fifo-threshold = "empty";
40+ dma-names = "rx";
41+ };
You can’t perform that action at this time.
0 commit comments