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