USBUART reconnect - Cypress.com Forums http://www.cypress.com/? Re: USBUART reconnect http://www.cypress.com/?rID=50974
  • This can be done in two ways.
  • Method1:  A simple and easy way would be to monitor VBUS supply voltage. Place a Digital Input Pin on the TopDesign and connect it to the USB VBUS. Once you disconnect PSoC from PC there is no voltage on VBUS, the same can be used to ascertain device unplugged from host. Once VBUS power comes back, USB device can be re-enumerated again.
  • Method 2:  The USBFS component can be configured to bring out the SOF terminal which is the USB start of Frame signal. The same can be monitored and the inactivity on this terminal implies no host is connected.
  • Let us know if one of these work.

    ]]>
    Wed, 04 May 2011 05:31:22 -0600