We have an example project which demonstrates the use of CyU3PSysEnterSuspendMode().
FX3 SDK Path: \EZ-USB FX3 SDK\1.3\firmware\dma_examples\cyfxbulklpauto
Can you check with this whether you have the same issue?
I have already referred to the firmware code for this project. Only deal with CY_U3P_USB_EVENT_SUSPEND event is handled in the incident, not through the signal to complete the notice, I think this should be no problem, but not the same way to achieve.
Do you have any suggestions?
There is also a problem is the FX3 1.3.1 SDK API interface provided CyU3PSysEnterSuspendMode failure to wake up the phenomenon, which led to the equipment does not work properly? If so, how can I handle it to avoid, the test is in the device access to the host, with the host power -> power -> then power on, repeated this operation.
How are you making sure that the host is putting the device into suspend?
Are you putting the host into sleep?
you are powering OFF and ON the host (so that the host PC re-boots)?
Is the case, the host power failure, the device into the host comes with Intel's USB3.0 port, this time the device is not powered, the next steps are as follows:
1, the host power on, that is, the device also follow the host power on, this time the host will produce a CY_U3P_USB_EVENT_SUSPEND event, I received the event call CyU3PSysEnterSuspendMode interface, so that equipment into suspendmode
2, the host starts, open the device
3, the host power off,the device power off
Repeat steps 1-3 above
In default example, the wakeup source is set to USB BUS Activity. Have you modified it?
Are you using I2C EEPROM or SPI Flash for booting purpose? What is the PMODE Settings?
Are you using Cypress DVK (CYUSB3KIT-001/003) or your board?
can you confirm whether your device is self-powered(powered by external supply) or Bus powered(powered by USB cable)?
Do you have any USB Analyzer to capture the USB protocol Trace?
2、BootMode is config as 0F1 .which is boot from SPI FLASH
3、our camera design with Cypress CYUSB3014
4、our camera design is Bus Powered(powered by USB cable)
5、The agreement is based on the standard
At present, the result of our verification is that after calling CyU3PSysEnterSuspendMode into low power consumption, sometimes the device can not be awakened.
Is there any way to handle it now?