Description
Prerequisites
CY8CPROTO-062-4343W connected to Pmod I2S2 module
Did you check current release notes for known issues? Yes
If this is not the latest release, have you checked newer releases? It is latest downloaded example code
Description:
I successfully compiled and programmed this demo, but after connecting USB cable to second connector J10 (to act as USB device). Windows 10 is unable to recognise the device. Error message "A request for the USB device descriptor failed."
Details from driver:
Device USB\VID_0000&PID_0002\5&d2dc547&0&1 was configured.
Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Driver Date: 06/21/2006
Driver Version: 10.0.19041.488
Driver Provider: Microsoft
Driver Section: BADDEVICE.Dev.NT
Driver Rank: 0xFF0000
Matching Device Id: USB\DEVICE_DESCRIPTOR_FAILURE
Outranked Drivers: usb.inf:USB\DEVICE_DESCRIPTOR_FAILURE:00FF2000
Device Updated: false
Parent Device: USB\ROOT_HUB30\4&1c182634&0&0
More information written on support forum https://community.infineon.com/t5/PSoC-6/CY8CPROTO-062-4343W-USB-Audio-Device-FreeRTOS-demo/m-p/354068
Steps to Reproduce:
Expected Result:
Actual Result:
recommended code fix from Infineon support (documented on forum) "It was fixed by increasing the USB interrupt priorities. In the usb_comm.c, set the USB interrupt priorities to 4 / 5 / 6, instead of 5 / 6 / 7 (high/medium/low)." did not helped me.
Small workaround which I had found is this:
If I disable Capsense related initialisation commands in void audio_app_init function located in audio_app.c
/ Register and enable touch events /
touch_register_callback(audio_app_touch_events);
touch_enable_event(TOUCH_ALL, true);
... then USB audio device is recognized normally. I have look at Capsense Configurator and did not see what could be wrong. Normally capsense on these PROTO kits work without any problem.
Frequency (1/1, 1/50, 1/100): 1/1 every time
Build/Commit: Modus Toolbox 2.4.0 / Eclipse Build 2460
Target:
CY8CPROTO-062-4343W
Host OS and Version:
Windows 11 Pro
Compiler:
GCC in Modus Toolbox, Make version 4.3