Skip to content

Commit 4ed4bb7

Browse files
committed
samples: i2s: output: add nucleo_f767zi
Add nucleo_f767zi board in samples/drivers/i2s/output Signed-off-by: Mario Paja <mariopaja@hotmail.com>
1 parent 5bd39d3 commit 4ed4bb7

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-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: 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_b;
10+
};
11+
};
12+
13+
/* 44.27KHz (0.38% Error) */
14+
&pllsai{
15+
div-m = <4>;
16+
mul-n = <119>;
17+
div-p = <2>;
18+
div-q = <7>;
19+
div-r = <2>;
20+
div-divq = <3>;
21+
div-divr = <2>;
22+
};
23+
24+
&sai1_b {
25+
pinctrl-0 = <&sai1_mclk_b_pf7 &sai1_sd_b_pe3 &sai1_fs_b_pf9 &sai1_sck_b_pf8>;
26+
pinctrl-names = "default";
27+
status = "okay";
28+
mclk-enable;
29+
mclk-divider = "div-256";
30+
dma-names = "tx";
31+
};
32+
33+
&dma2 {
34+
status = "okay";
35+
};

0 commit comments

Comments
 (0)