Skip to content

Commit 3e9f32e

Browse files
committed
samples: i2s_codec: enable i2s_codec samples for frdm_mcxn236
Enable i2s_codec samples for frdm_mcxn236. With 'CONFIG_USE_DMIC=n', you can hear the sine wave from the codec. Signed-off-by: Zhaoxiang Jin <[email protected]>
1 parent 8612cae commit 3e9f32e

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright 2025 NXP
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
CONFIG_DMA_TCD_QUEUE_SIZE=4
6+
CONFIG_AUDIO_CODEC_DA7212=y
7+
CONFIG_SAMPLE_FREQ=16000
8+
CONFIG_I2S_INIT_BUFFERS=1
9+
CONFIG_USE_CODEC_CLOCK=y
10+
CONFIG_USE_DMIC=n
11+
CONFIG_DMIC_CHANNELS=1
12+
CONFIG_EXTRA_BLOCKS=10
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright 2025 NXP
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
i2s-codec-tx = &sai1;
10+
i2s-tx = &sai1;
11+
};
12+
};
13+
14+
&sai1 {
15+
mclk-output;
16+
};

0 commit comments

Comments
 (0)