AnsweredAssumed Answered

Newbie trying to make multiple GPIO Inputs in same EXTI line, options?

Question asked by Jim on Feb 5, 2016
Latest reply on Feb 8, 2016 by Clive One
Hello, my board designed with STM32F0 (100 pin) controller with 28 pins as input pins and 32 pins as output pins. All of the GPIO Inputs are time critical, required to sense both rising and falling edges. 

For this thought of configure all inputs as external interrupts. After experiment (in STM32091C-EVAL) and extensive google search found at maximum 15 pins only configurable as external interrupt pins


With respect to this, short listed very high polarity change inputs pins and configured as EXTI interrupt pins. 

For remaining 13 pins, to detect both rising and falling edges would like to poll with maximum resolution of One millisecond. 

For this planning to use, TIM1 (Counter Period (1 ) in HAL_TIM_PeriodElapsedCallback() mode.

Is there any better alternative peripheral mechanisms /ways with in STM32 core?