Help. FX2LP Suspend, and Wakeup bu WU2, failed | Cypress Semiconductor
Help. FX2LP Suspend, and Wakeup bu WU2, failed
A. Following the introduction on page 82 of FX2LP Technical Reference Manual. The firmware writes 0X10 to register SUSPEND, but FX2LP does NOT go into SUSPEND,
SUSPEND = 0x10;
B. for testing the WU2 wakeup function. The firmware sets WAKEUPCS = 0xC2, only to enable WU2 wakeup. And Set EICON.5=1 (EICON ^= 0x20);
WAKEUPCS = 0xC2;
EICON ^= 0x20;
0. WU2 inpput is 1, (active low)
1.The usb bus is disconected, FX2LP goes into SUSPEND. The Current is down to 5mA.
2. The USB Bus is reconected, this time FX2LP is still in SUSPEND state.
3. Pull WU2 to high, the Current is up to 30mA, but FX2LP does not Resume. And the PC can not recognises FX2LP.
What is error with my firmware?