Skip to content

Commit f12ba46

Browse files
mariopaja-zalkartben
authored andcommitted
samples: i2s: add nucleo u575 overlay & conf files
Adds Nucleo U575 overlay and config files Signed-off-by: Mario Paja <[email protected]>
1 parent 041f942 commit f12ba46

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-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: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
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_mclk_a_pe2 &sai1_sd_a_pe6
27+
&sai1_fs_a_pe4 &sai1_sck_a_pe5>;
28+
pinctrl-names = "default";
29+
status = "okay";
30+
mclk-enable;
31+
mclk-div-enable;
32+
dma-names = "tx";
33+
};

0 commit comments

Comments
 (0)