-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Labels
area: GPIObugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32
Description
Commit 0951ce2 is introducing the possibility to disable interrupt at runtime for STM32.
Nevertheless, since the EXTI lines are shared among group of pins (i.e. PA0-PI0 shares EXTI0, PA1-PI1 shares EXTI and so on), disabling EXTI0 means disabling interrupts for all group 0 of pins (e.g. Pa0/PB0/PC0/...). THis is wrong in my opinion.
As an example, in my sensortile-box bsp (see #18182) I'm using PA2 and PD15 as sensor interrupts and PB15 and PF2 as led output. When configuring PB15 and PF2, since they are not GPIO_INT, the exti is disabled also for PD15 and PA2 (group 15 and group 2 are exti disabled).
I would like to seek for the help of @erwango (I assigned the bug to him) and @mniestroj who is the author of the commit.
Metadata
Metadata
Assignees
Labels
area: GPIObugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32ST Micro STM32