Skip to content

Commit 118bc0f

Browse files
committed
samples: i2s: output: add nucleo_wba55cg
Add nucleo_wba55cg in samples/drivers/i2s/output Signed-off-by: Mario Paja <mariopaja@hotmail.com>
1 parent 26ef3dc commit 118bc0f

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-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: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/*
2+
* Copyright (c) 2025 Mario Paja
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
i2s-tx = &sai1_b;
10+
};
11+
};
12+
13+
&pll1 {
14+
/* 43.526KHz (-1.3% Error) */
15+
div-m = <4>;
16+
mul-n = <19>;
17+
div-r = <2>;
18+
div-q = <2>;
19+
div-p = <14>;
20+
clocks = <&clk_hse>;
21+
status = "okay";
22+
};
23+
24+
&gpdma1 {
25+
status = "okay";
26+
};
27+
28+
&sai1_b {
29+
pinctrl-0 = <&sai1_mclk_b_pb4 &sai1_sd_b_pb7 &sai1_fs_b_pb5 &sai1_sck_b_pb6>;
30+
pinctrl-names = "default";
31+
status = "okay";
32+
mclk-enable;
33+
mclk-divider = "div-256";
34+
dma-names = "tx";
35+
};
36+
37+
/* conflicts with SAI */
38+
&spi1 {
39+
status = "disabled";
40+
};
41+
42+
/* conflicts with SAI */
43+
&lpuart1 {
44+
status = "disabled";
45+
};

0 commit comments

Comments
 (0)