Skip to content

Commit eedb449

Browse files
mariopajamariopaja-zal
authored andcommitted
samples: i2s: output: add nucleo_wba55cg
Add nucleo_wba55cg in samples/drivers/i2s/output Signed-off-by: Mario Paja <mariopaja@hotmail.com>
1 parent 07cf69d commit eedb449

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+
/* SAI MCLK conflicts with SPI SCK */
29+
/* SAI FS conflicts with LPUART TX */
30+
&sai1_b {
31+
pinctrl-0 = <&sai1_mclk_b_pb4 &sai1_sd_b_pb7 &sai1_fs_b_pb5 &sai1_sck_b_pb6>;
32+
pinctrl-names = "default";
33+
status = "okay";
34+
mclk-enable;
35+
mclk-divider = "div-256";
36+
dma-names = "tx";
37+
};
38+
39+
&spi1 {
40+
status = "disabled";
41+
};
42+
43+
&lpuart1 {
44+
status = "disabled";
45+
};

0 commit comments

Comments
 (0)