STM32 C011
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-24 2:01 AM
Hi,I am going to be a part of a firmware development using STM32C0 series. Can I able to use ADC input which is input power supply as EXT Interrupt to wake up from sleep mode?How can be it assigned in ?Please Can anyone give an idea?
- Labels:
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-24 3:33 AM
Before going to sleep, switch the given pin to Input in GPIO_MODER and switch on the EXTI interrupt in EXTI.
After wakeup from sleep, switch the pin back to Analog in GPIO_MODER and switch on the EXTI interrupt.
This is probably not something you can simply click in CubeMX, you may want to use normal register-based programming.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-24 4:45 AM
thank you,can we make any other external pin connected to ADC and to be used asEXTI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-24 5:26 AM
You can, if the input signal impedance is low enough so that the digital input pin's leakage won't influence it.
JW
