2022-03-28 12:24 PM
I'm using an STM32H7B3I-DK. Using CubeMX, I'm trying to add rising edge interrupts on PI10, PH10, and PF10. The board uses one interrupt for WAKE_UP already. But, every time I go to add the third GPIO, it takes off a previous one and returns it to the Reset State. Am I missing something? Is there a limit (1?) to the number of Interrupts per interrupt group used at once?
MX Generates: Has three interrupts. GPIO_INT3_pin = PH10, GPIO_INT2 = PH11. If I try to add PI10, or PF10 it removes PH10 returning it to RESET_STATE.
/* USER CODE END EXTI15_10_IRQn 0 */
HAL_GPIO_EXTI_IRQHandler(GPIO_INT3_Pin);
HAL_GPIO_EXTI_IRQHandler(GPIO_INT2_Pin);
HAL_GPIO_EXTI_IRQHandler(WAKEUP_Pin);
/* USER CODE BEGIN EXTI15_10_IRQn 1 */
2022-03-28 12:48 PM
> Is there a limit (1?)
Yes, 1.
See description of SYSCFG_EXTICR1 to SYSCFG_EXTICR4 registers, and the first section in EXTI event input mapping subchapter, in the RM.
JW
2022-03-28 12:55 PM
Jan,
Thank you much for your immediate reply.
Sadly, it looks like one is the answer. I figured that might be the case. I'm gong to have to move some IO around on this board. Unfortunately, there are 3 PIN_10's out to the Arduino Connector. Ouch. Limiting.
Regards,
David