2025-12-15 7:40 PM
Hi,
In the GPIO interrupt configuration, the port information is ignored and only the pin number is used for identification. As a result, pins with the same pin number on different ports cannot be enabled as interrupt sources at the same time.
Solved! Go to Solution.
2025-12-15 7:58 PM
> pins with the same pin number on different ports cannot be enabled as interrupt sources at the same time
This is a hardware limitation of the chip, not a Zephyr implementation limitation. There is no bug here.
PA7 and PB7 cannot both be interrupts at the same time. Only one of them can. See the EXTI_EXTICRm registers for the underlying hardware limitation.
You can configure up to 16 pins to be interrupts, but they all need to have unique pin numbers. Ports can be the same or different.
2025-12-15 7:58 PM
> pins with the same pin number on different ports cannot be enabled as interrupt sources at the same time
This is a hardware limitation of the chip, not a Zephyr implementation limitation. There is no bug here.
PA7 and PB7 cannot both be interrupts at the same time. Only one of them can. See the EXTI_EXTICRm registers for the underlying hardware limitation.
You can configure up to 16 pins to be interrupts, but they all need to have unique pin numbers. Ports can be the same or different.