Skip to content

Commit f11c4bc

Browse files
committed
samples: i2s: output: add nucleo_l552ze_q
Add nucleo_l552ze_q board in samples/drivers/i2s/output Signed-off-by: Mario Paja <[email protected]>
1 parent 0bcbd39 commit f11c4bc

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-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: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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.117KHz (0.03% Error) */
14+
&pllsai1 {
15+
div-m = <1>;
16+
mul-n = <48>;
17+
div-r = <2>;
18+
div-q = <2>;
19+
div-p = <17>;
20+
clocks = <&clk_msi>;
21+
status = "okay";
22+
};
23+
24+
&dma2 {
25+
status = "okay";
26+
};
27+
28+
&sai1_a {
29+
pinctrl-0 = <&sai1_mclk_a_pe2 &sai1_sd_a_pe6
30+
&sai1_fs_a_pe4 &sai1_sck_a_pe5>;
31+
pinctrl-names = "default";
32+
status = "okay";
33+
mclk-enable;
34+
mclk-divider = "div-256";
35+
dma-names = "tx";
36+
};
37+
38+
&dmamux1 {
39+
status = "okay";
40+
};
41+
42+
&dma1 {
43+
status = "okay";
44+
};

0 commit comments

Comments
 (0)