1#
2# Copyright (c) 2021, NXP
3#
4# SPDX-License-Identifier: Apache-2.0
5#
6
7# SAI peripheral does not have loopback mode.  Use 2 SAI peripherals connected
8# together externally.
9CONFIG_I2S_TEST_SEPARATE_DEVICES=y
10
11# CONFIG_DMA_TCD_QUEUE_SIZE sets size of queue used to chain DMA blocks (TCDs)
12# together, and should be sized as needed by the application.  If not large
13# enough, the DMA may starve.  Symptoms of this issue include transmit blocks
14# repeated, or RX blocks skipped. For I2S driver, queue size must be at least 3.
15CONFIG_DMA_TCD_QUEUE_SIZE=4
16
17# Repeat test continually to help find intermittent issues
18CONFIG_ZTEST_RETEST_IF_PASSED=y
19
20# I2S and DMA logging can occur in interrupt context, and interfere with I2S
21# stream timing.  If using either logging, set logging to deffered
22# CONFIG_LOG_MODE_DEFERRED=y
23
24CONFIG_DMA_LOG_LEVEL_OFF=y
25CONFIG_I2S_LOG_LEVEL_OFF=y
26