Skip to main content
Visitor II
March 17, 2020
Question

How wake up the device from USB?

  • March 17, 2020
  • 0 replies
  • 644 views

Hi, i'm using USB HOST MSC in the stm32f411re.

i would like to put the microcontroller in STOPMode and wake up it when memory stick is connected.

By default CubeMX activate OTG_FS_IRQn global interrupt. With this interrupt i can only exit from SLEEPMode.

But i think that with OTG_FS_WKUP_IRQn it will be possible exit from STOPMode.

Could someone help and tell me the differenece between  OTG_FS_IRQn and OTG_FS_WKUP_IRQn? And how to configure the last one ? So when i connect a memory stick can exit from stop mode.

    This topic has been closed for replies.