2020-03-17 09:33 AM
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.