Skip to content

Commit 3b74862

Browse files
TomasBarakNXPkartben
authored andcommitted
samples: drivers: i2s: Support mimxrt1170 evkb and wm8962 in i2s_codec
- not using DMIC on this board, just play sine wave - enable sai1 mclk-ouptut for codec init Signed-off-by: Tomas Barak <tomas.barak@nxp.com>
1 parent d0042d6 commit 3b74862

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#
2+
# Copyright 2025 NXP
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
CONFIG_HEAP_MEM_POOL_SIZE=81920
8+
CONFIG_AUDIO_CODEC=y
9+
CONFIG_DMA_TCD_QUEUE_SIZE=4
10+
CONFIG_SAMPLE_FREQ=16000
11+
CONFIG_USE_DMIC=n
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&sai1 {
8+
mclk-output;
9+
};

samples/drivers/i2s/i2s_codec/sample.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ tests:
55
tags: i2s
66
platform_allow:
77
- mimxrt595_evk/mimxrt595s/cm33
8+
- mimxrt1170_evk@B/mimxrt1176/cm7
89
harness: console
910
harness_config:
1011
type: one_line

0 commit comments

Comments
 (0)