Skip to main content
Sak
Visitor II
November 6, 2022
Question

Hello there, we planned to use STM32L433x series MCUs, our project has Ten push buttons and five Digital Input signals, which all need to be configured as interrupts, so how many interrupts can STM32L433 series MUCs can handle simultaneously?

  • November 6, 2022
  • 3 replies
  • 772 views

..

This topic has been closed for replies.

3 replies

S.Ma
Principal
November 6, 2022

Well io interrupt ip block call EXTI usually can have up to 16 interrupt pins. The restriction is each pin from Px0, Px1, .. Px15. Ex PB0, PC1, PA2.... so PC6 and PD6 is invalid.

There are other ways to have interrupt from pin, this is the simplest.

gbm
Lead III
November 6, 2022

The question you ask is not related to your needs. STM32 can handle one interrupt at a time but it may accept interrupts from dozens of sources - you may find all the info in the reference manual. Keyboard/button scanning requires single timer interrupt only. No idea about the other inputs you need to handle but generally handling digital inputs rarely requires a pin interrupt. For pin-triggered interrupts you may use EXTI and timer inputs, so, depending on the exact MCU type, at least 20 should be usable, sometimes 30..40.

My STM32 stuff on github - compact USB device stack and more: https://github.com/gbm-ii/gbmUSBdevice
S.Ma
Principal
November 6, 2022

If low power clock stop mode is a decision criteria, check each pin and peripheral for this aspect. Most STM32L low power peripherals starts with LP as LPTIM, LPUART... and check wakeup functionon select pins.