I found that USB can be set to wake up the MCU when in deep-sleep mode. But what if I disable the wake up interruption from USB. Do I need to reconnect with other devices? Or if I don't shutdown the USB connection, but block the interruption, will the MCU still be waked up by USB in deep-sleep mode?
Hi Da Chen,
USB interrupt can wake up MCU from deep sleep mode. In order to utilize it, you need enable USB NEEDCLK interrupt.
Besides, you need also enable the USB activity wake-up interrupt in the NVIC.
For more information, see UM10914 LPC5411X user manual, 22.7.6 USB wake-up.
Have a nice day,
Jun Zhang
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------