- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a self powered board where I have the AN75779 UVC firmware.
When the USB cable is detached and attached, the PC software doesn't recognize the USB peripheral.
It's seem a USB protocol stack problem.
Anyone Could address me to solve this problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Stefano Fante,
Please confirm if you have referred to this KBA FX3™ Self-Powered Design Does Not Enumerate Successfully when Plugged into Bus-Powered Hub - KBA2188...
If this doesn't work you can probe the USB lines and share the traces. You can use wireshark for that.
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Stefano Fante,
Please confirm if you have referred to this KBA FX3™ Self-Powered Design Does Not Enumerate Successfully when Plugged into Bus-Powered Hub - KBA2188...
If this doesn't work you can probe the USB lines and share the traces. You can use wireshark for that.
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Rashi,
the configuration descriptor is ok.
my problem was only in replug the usb cable, the first time the device is always well recognized.
In my firmware I changed the API
CyU3PDeviceInit(&clkCfg) to CyU3PDeviceInit(0) as in the appnote and the replug problem seem to be disappaer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Stefano Fante,
It doesn't seem that CyU3PDeviceInit API is related to the FX3 enumeration.
I tried programming the RAM with the default AN 75779 example on FX3 DVK board (Self Powered)
CyU3PSysClockConfig_t clockConfig;
clockConfig.setSysClk400 = CyFalse;
clockConfig.cpuClkDiv = 2;
clockConfig.dmaClkDiv = 2;
clockConfig.mmioClkDiv = 2;
clockConfig.useStandbyClk = CyFalse;
clockConfig.clkSrc = CY_U3P_SYS_CLK;
apiRetStatus = CyU3PDeviceInit (&clockConfig);
The FX3 is enumerated as UVC device every time i plug in.
Please refer to the section 2 of Errata in FX3 datasheet. (Page 47)
Also let me know the clk configuration that you are using.
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rashi,
at the moment I'm using
apiRetStatus = CyU3PDeviceInit (0);
as in the appnote.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Is you problem solved? I
s the device getting detected when you replug it?
Let me know the boot mode that you are using
Regards,
Rashi
Rashi