1# 2# Copyright (c) 2021, NXP 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7mainmenu "I2S Speed Test" 8 9source "Kconfig.zephyr" 10 11config I2S_TEST_SEPARATE_DEVICES 12 bool "Use two separate I2S ports for loopback" 13 help 14 Use separate I2S ports for transmit and receive. 15 16config I2S_TEST_USE_I2S_DIR_BOTH 17 bool "Use I2S_DIR_BOTH value to perform RX/TX transfers" 18 help 19 Use the I2S_DIR_BOTH enumeration value to trigger commands in test 20 cases involving both reception and transmission. Use of this option 21 is essential for devices that cannot independently start and stop 22 the RX and TX streams. 23 24config I2S_TEST_USE_GPIO_LOOPBACK 25 bool "Use GPIO loopback" 26 help 27 Use wiring between the data-out and data-in pins for looping back 28 data. This option is intended to be used for devices that do not 29 provide the internal loopback functionality. 30 31config I2S_TEST_ALLOWED_DATA_OFFSET 32 int "Allowed offset in received data" 33 default 0 34 help 35 Maximum allowed offset between sent and received samples. Non-zero 36 value of this option may be needed when GPIO loopback is used. 37