Skip to content

Commit 976f72b

Browse files
committed
samples: i2s: output: add nucleo_h7s3l8
Add Nucleo H7S3L8 board in samples/drivers/i2s/output Signed-off-by: Mario Paja <[email protected]>
1 parent 590748b commit 976f72b

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-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: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Copyright (c) 2025 Mario Paja <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
i2s-tx = &sai1_a;
10+
};
11+
};
12+
13+
/* PLL3 for clocking SAI1 peripheral */
14+
&pll3 {
15+
/* 44.1KHz (-0.1% Error) */
16+
div-m = <12>;
17+
mul-n = <203>;
18+
div-p = <2>;
19+
div-q = <2>;
20+
div-r = <2>;
21+
div-s = <2>;
22+
div-t = <2>;
23+
clocks = <&clk_hse>;
24+
status = "okay";
25+
};
26+
27+
&sai1_a {
28+
pinctrl-0 = <&sai1_mclk_a_pg7 &sai1_sd_a_pc1
29+
&sai1_fs_a_pe4 &sai1_sck_a_pe5>;
30+
pinctrl-names = "default";
31+
status = "okay";
32+
mclk-enable;
33+
mclk-divider = "div-256";
34+
dma-names = "tx";
35+
};
36+
37+
&gpdma1 {
38+
status = "okay";
39+
};

0 commit comments

Comments
 (0)