Skip to content

Commit 8fa7cbc

Browse files
mariopajakartben
authored andcommitted
samples: i2s: output: add nucleo_g431kb
Add nucleo_g431kb board in samples/drivers/i2s/output Signed-off-by: Mario Paja <[email protected]>
1 parent 5a0d4e1 commit 8fa7cbc

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-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: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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+
&pll {
14+
/* 44.1KHz (-0.03% Error) */
15+
div-q = <8>;
16+
};
17+
18+
/* MCLK is not enabled */
19+
/* SAI1_A MCLK (PB8) is not available on the Arduino Nano header */
20+
&sai1_a {
21+
pinctrl-0 = <&sai1_sd_a_pa10 &sai1_fs_a_pa9 &sai1_sck_a_pa8>;
22+
pinctrl-names = "default";
23+
status = "okay";
24+
mclk-divider = "div-256";
25+
dma-names = "tx";
26+
};
27+
28+
&dma1{
29+
status = "okay";
30+
};
31+
32+
&dmamux1{
33+
status = "okay";
34+
};
35+
36+
/* I2C2 SCL conflicts with SAI1_A FS */
37+
/* I2C2 SDA conflicts with SAI1_A SCK */
38+
&i2c2 {
39+
status = "disabled";
40+
};

0 commit comments

Comments
 (0)