Skip to content

Commit b70c045

Browse files
mariopajaaescolar
authored andcommitted
test: drivers: i2s_speed: add nucleo u575
Add Nucleo U575ZI Q overlay and conf in i2s speed test Signed-off-by: Mario Paja <mariopaja@hotmail.com>
1 parent c829aab commit b70c045

2 files changed

Lines changed: 57 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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+
};

0 commit comments

Comments
 (0)