- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We are testing our firmware with the new SDK version 1.3.4 and notice that no CY_U3P_USB_EVENT_SUSPEND event is generated if the FX3 operates at superspeed.
With CyU3PUsbRegisterEventCallback we register a simple callback function:
// This is the callback function to handle the USB events.
void fx3UsbEventCallback (
CyU3PUsbEventType_t evtype, // Event type
u16 evdata __attribute__((unused)) ) // Event data
{
switch (evtype)
{
...
case CY_U3P_USB_EVENT_SUSPEND:
SYSTEM_SetEvent( EVENT_SUSPEND_DEVICE );
break;
...
default:
break;
}
}
which worked fine till SDK 1.3.3.
Is there anything special to use the event with the new SDK?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I just loaded AN75779 UVC firmware which is built using 1.3.4 SDK and please find the attached log which indicates suspend being encountered.
Can you please check the same firmware on your setup and test for the suspend event?
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please check whether you are doing one of the following:
1. Returning false in CyFxApplnLPMRqtCB()
2. Whether CyU3PUsbLPMDisable() is called anywhere in your firmware?
Regards,
Hemanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. Returning false in CyFxApplnLPMRqtCB()
-> we return always true
2. Whether CyU3PUsbLPMDisable() is called anywhere in your firmware?
-> we never call CyU3PUsbLPMDisable
It seems that the event is only not generated at superspeed mode. I used the device on a USB2.0 - Port and it seems to work.
On a USB3.0 - Port the device show the wrong behavoire.
The same Firmware with SDK 1.3.3 works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content