- FX2LP supports Suspend and Resume operation.
- The Suspend() function in the CyAPI library is no longer supported. Please refer to section 6.21 of the attached CyUSB.PDF document.
- The CYUSB3 driver puts the device into suspend state after around 10 seconds of inactivity on the bus. Before the device enters the suspend state, the TD_Suspend() function block gets executed.
NOTE: The configuration descriptor should indicate that the device is capable of remote-wakeup. Only, when this is enabled, the driver suspends the device.
db DSCR_CONFIG_LEN ;; Descriptor length
db DSCR_CONFIG ;; Descriptor type
db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) mod 256 ;; Total Length (LSB)
db (HighSpeedConfigDscrEnd-HighSpeedConfigDscr) / 256 ;; Total Length (MSB)
db 1 ;; Number of interfaces
db 1 ;; Configuration number
db 0 ;; Configuration string
db 10100000b ;; Attributes (b7 - buspwr, b6 - selfpwr, b5 - rwu)
db 50 ;; Power requirement (div 2 ma)
CyUSB.pdf 1.0 MB
Thank you for your reply.
I follow your suggestion, the system can into suspend and resume.
The CYUSB3 driver puts the device into suspend state after around 10 seconds of inactivity on the bus.
Can I adjust more longer time to entry suspend state? maybe oen minute or more.
This value has been set at the driver level and hence cannot be modified.