Page 1 of 1

STM32 Port Interrupt

Posted: Wed Nov 27, 2019 8:46 am
by fotios
Hi everyone
I have connected a tactile switch at port PB11, which is active low.
I try to enable an interrupt on this port.
I can't see a particular selection of pin PB11.
The port B includes 15 I/O pins and FC7 offers port interrupt only for pins EXTI0, EXTI1, EXTI2, EXTI3, EXTI4, EXTI8, and EXTI13.
Why there is not included the EXTI11? Provided that the PB11 is an I/O port?
Is there any restriction for the rest pins of port B?
Thanks

Re: STM32 Port Interrupt

Posted: Wed Nov 27, 2019 9:40 am
by LeighM
Hi,
Which particular device are you using?

Re: STM32 Port Interrupt

Posted: Wed Nov 27, 2019 10:43 am
by fotios
Hi
The STM32F303RE (QFP64)
Now I'm looking on the datasheet at the SYSCFG_EXTCRIx registers.

Re: STM32 Port Interrupt

Posted: Wed Nov 27, 2019 10:54 am
by fotios
The corresponding configuration register for the PB11 is the SYSCFG_EXTICR3 bits 12,13,14,15 (EXTI11).
In the end, is noticed that some IO pins may not be available on small packages.
Is that the case?
Thanks

Re: STM32 Port Interrupt

Posted: Wed Nov 27, 2019 11:00 am
by LeighM
Thanks, I will look into it ...

Re: STM32 Port Interrupt

Posted: Wed Nov 27, 2019 1:44 pm
by LeighM
Could you please try replacing this in the FCD directory ...

Re: STM32 Port Interrupt

Posted: Wed Nov 27, 2019 5:22 pm
by fotios
Hi Leigh

Yes, it is working flawlessly on my actual hardware.

Thanks a lot :D

FYI: On the FC7 simulator doesn't work.