Skip to content

Commit faf1919

Browse files
mariopajakartben
authored andcommitted
samples: i2s: output: add nucleo_l432kc
Add nucleo_l432kc in samples/drivers/i2s/output Signed-off-by: Mario Paja <mariopaja@hotmail.com>
1 parent 4bddeb9 commit faf1919

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-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: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.27KHz (0.38% Error) */
14+
&pllsai1 {
15+
div-m = <1>;
16+
mul-n = <17>;
17+
div-r = <2>;
18+
div-q = <2>;
19+
div-p = <12>;
20+
clocks = <&clk_hsi>;
21+
status = "okay";
22+
};
23+
24+
&dma2 {
25+
status = "okay";
26+
};
27+
28+
&sai1_a {
29+
pinctrl-0 = <&sai1_mclk_a_pa3 &sai1_sd_a_pa10
30+
&sai1_fs_a_pa9 &sai1_sck_a_pa8>;
31+
pinctrl-names = "default";
32+
status = "okay";
33+
mclk-enable;
34+
mclk-divider = "div-256";
35+
dma-names = "tx";
36+
};
37+
38+
/* USART1 TX conflicts with SAI1_A FS */
39+
&usart1 {
40+
status = "disabled";
41+
};

0 commit comments

Comments
 (0)