Hi,
I'm using the EXTI event to detect the gpio's falling edge, but the event not triggered well. After using the multimeter i found the valtage is falling from 3.3 to 1.6(not to zero), maybe this is the reason. So how can I set the voltage of the falling edge by code so when the voltage falling to 1.6 there can be a falling event?
Thanks very much!
How to set the voltage of the falling edge of the EXTI?
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
-
- Posts: 24
- Joined: Sun Jan 12, 2020 2:11 pm
- Has thanked: 4 times
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: How to set the voltage of the falling edge of the EXTI?
Hi,
STM32 has a voltage monitor, see the PWR unit in the reference manual.
Giovanni
STM32 has a voltage monitor, see the PWR unit in the reference manual.
Giovanni
-
- Posts: 24
- Joined: Sun Jan 12, 2020 2:11 pm
- Has thanked: 4 times
Re: How to set the voltage of the falling edge of the EXTI?
ok, i will check that.
btw, i detect the falling edge in stm32's shutdown mode, do the power monitor work?
btw, i detect the falling edge in stm32's shutdown mode, do the power monitor work?
-
- Posts: 24
- Joined: Sun Jan 12, 2020 2:11 pm
- Has thanked: 4 times
Re: How to set the voltage of the falling edge of the EXTI?
leon_titan wrote:ok, i will check that.
btw, i detect the falling edge in stm32's shutdown mode, do the power monitor work?
to wake up the mcu
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: How to set the voltage of the falling edge of the EXTI?
leon_titan wrote:leon_titan wrote:ok, i will check that.
btw, i detect the falling edge in stm32's shutdown mode, do the power monitor work?
to wake up the mcu
Neved did that so I don't have an answer, you need to read the RM.
Giovanni
Who is online
Users browsing this forum: No registered users and 9 guests