EZ-USB FX2 Suspend Interrupt example

Question: Is there an example design that shows how to implement the FX2 SUSPEND interrupt when AUTOVECTORing is enabled?

 

Answer:

Any of our examples using ezusb.lib, which implements the suspend interrupt. Vectoring to this interrupt is handled by the autovector. See C:\Cypress\USB\Target\Lib for source code.

If you look in the fw.c file, the software flag "Sleep" is set to TRUE in the suspend ISR in the library.