File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed 
samples/drivers/i2s/output/boards Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ CONFIG_HEAP_MEM_POOL_SIZE=4192
Original file line number Diff line number Diff line change 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+ };
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments