Skip to content

Commit 601446f

Browse files
committed
samples: i2s: output: add nucleo_l432kc
Add nucleo_l432kc in samples/drivers/i2s/output Signed-off-by: Mario Paja <mariopaja@hotmail.com>
1 parent 5965099 commit 601446f

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CONFIG_HEAP_MEM_POOL_SIZE=4192
2+
3+
CONFIG_LOG=y
4+
CONFIG_I2S_LOG_LEVEL_DBG=y
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
&pllsai1 {
14+
div-m = <1>;
15+
mul-n = <17>;
16+
div-r = <2>;
17+
div-q = <2>;
18+
div-p = <12>;
19+
clocks = <&clk_hsi>;
20+
status = "okay";
21+
};
22+
23+
&dma2 {
24+
status = "okay";
25+
};
26+
27+
&sai1_a {
28+
pinctrl-0 = <&sai1_mclk_a_pa3 &sai1_sd_a_pa10
29+
&sai1_fs_a_pa9 &sai1_sck_a_pa8>;
30+
pinctrl-names = "default";
31+
status = "okay";
32+
mclk-enable;
33+
mclk-divider = "div-256";
34+
dma-names = "tx";
35+
};

0 commit comments

Comments
 (0)