We are considering USBFS component for PSoC5LP.
Coded according to "USBFS_suspend" in Code Example.
Sleeps PSoC 5LP when there is no signal from the host for 3ms.
Wake up at the fall of USBIF Dp.
It works as expected.
When the PC host side stops power supply and opens the USB signal line,
The USBIF Dp line voltage becomes unstable and PSoC5LP repeatedly wakes up and sleeps.
Do you know how to avoid this sleep and wake up behavior?
Solved! Go to Solution.
Thank you for your reply.
Does it mean that the P15 pin setting of the USB Dp terminal is changed to a resistive pull-up / pull-down by API?
As you advised, I was able to avoid indeterminacy by making USB IO resistive pull-up before entering sleep mode.
However, the resistive pullup of PSoC5LP is about 10 kΩ.
The USB 2.0 specification states that a pull-up resistor of about 1.5kΩ is required.
I think that this measure will not comply with USB 2.0.
Do you know any other best solution?