From ca58bb20ef0078f9eda01cbb1c80e133de83f87e Mon Sep 17 00:00:00 2001 From: Ed Date: Mon, 14 Oct 2024 15:29:36 +0100 Subject: [PATCH] Use UAC 1 to avoid #434 --- examples/AN00248_xua_example_pdm_mics/src/app_xua_pdm_mics.xc | 2 +- examples/AN00248_xua_example_pdm_mics/src/xua_conf.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/AN00248_xua_example_pdm_mics/src/app_xua_pdm_mics.xc b/examples/AN00248_xua_example_pdm_mics/src/app_xua_pdm_mics.xc index fafcb2ff..1c00dffc 100644 --- a/examples/AN00248_xua_example_pdm_mics/src/app_xua_pdm_mics.xc +++ b/examples/AN00248_xua_example_pdm_mics/src/app_xua_pdm_mics.xc @@ -98,7 +98,7 @@ int main() /* Low level USB device layer core */ on tile[0]: XUD_Main(c_ep_out, 1, c_ep_in, 2, c_sof, epTypeTableOut, epTypeTableIn, - XUD_SPEED_HS, XUD_PWR_BUS); + XUD_SPEED_FS, XUD_PWR_BUS); /* Endpoint 0 core from lib_xua */ /* Note, since we are not using many features we pass in null for quite a few params.. */ diff --git a/examples/AN00248_xua_example_pdm_mics/src/xua_conf.h b/examples/AN00248_xua_example_pdm_mics/src/xua_conf.h index 88a0eb3b..530ec571 100644 --- a/examples/AN00248_xua_example_pdm_mics/src/xua_conf.h +++ b/examples/AN00248_xua_example_pdm_mics/src/xua_conf.h @@ -25,6 +25,7 @@ #define EXCLUDE_USB_AUDIO_MAIN +#define AUDIO_CLASS 1 #define VENDOR_STR "XMOS" #define VENDOR_ID 0x20B1 #define PRODUCT_STR_A2 "XUA PDM Example"