Skip to main content
GErma.1
Associate III
March 12, 2023
Question

Multiple EXTI GPIO EVENTS-STM32G0 I would to know is someone could provide some tips on using GPIOs as External Events (EXTI) sources on STM2G0 HAL. Any information is welcome BR Gilberto

  • March 12, 2023
  • 4 replies
  • 1152 views

..

This topic has been closed for replies.

4 replies

Pavel A.
March 13, 2023

What do you mean by "external events"?

Using GPIOs as EXTI *interrupt* sources is easy, see examples in the Cube_FW_G0 package. Whether you want to use the "HAL" library for EXTI is another question.

Amel NASRI
ST Technical Moderator
March 29, 2023

Hi @GErma.1​ ,

You should get an answer to your request if you follow this article: How to manage multiple EXTIs with the STM32Cube HAL.

-Amel

To give better visibility on the answered topics, please click on "Best Answer" on the reply which solved your issue or answered your question.
GErma.1
GErma.1Author
Associate III
March 30, 2023
Hi Very interesting. Os there any way to add some level of debaucing to the switch state detection in isr? BR Gilberto Em qua, 29 de mar de 2023 07:49, ST Community escreveu:
Karl Yamashita
Principal
March 31, 2023

Check out this video on how you can use a timercallback to debounce an EXTI

https://www.youtube.com/watch?v=o0qhmXR5LD0

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source