zephyr/samples/subsys/usb/uac2_explicit_feedback/Kconfig
Tomasz Moń f00f846fe3 samples: usb: add UAC2 explicit feedback sample
The sample illustrates how to calculate feedback value based on I2S
sample clock measurement or indirect I2S FRAMESTART and USBD SOF.
The sample is currently only supported on nrf5340dk_nrf5340_cpuapp
target because the feedback measurement uses target specific
peripherals.

While it should be possible to perform feedback value calculation
entirely in software (possibly with some additional filtering due
to software scheduling jitter), the I2S API does not provide necessary
timestamps.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2024-02-01 15:07:37 +01:00

20 lines
699 B
Plaintext

# Copyright (c) 2023-2024 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
menu "UAC2 external feedback sample options"
config APP_USE_I2S_LRCLK_EDGES_COUNTER
bool "Measure I2S LRCLK edges directly"
help
Use this to use I2S LRCLK edge counting for calculating feedback.
On nRF53 this option requires externally connecting I2S LRCLK back to
separate GPIOTE input pin (P1.09).
endmenu
# Source common USB sample options used to initialize new experimental USB
# device stack. The scope of these options is limited to USB samples in project
# tree, you cannot use them in your own application.
source "samples/subsys/usb/common/Kconfig.sample_usbd"
source "Kconfig.zephyr"