How can I activate EXTI interruptions that are blocked with Enable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-02 8:54 PM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-03 8:56 AM
As @TDK​ mentioned: hovering the disabled box shows The corresponding GPIO pin is left as "Free" and ....
So you need to assign the pin context to the Cortex-M7. To do that:
- open the peripheral GPIO, e.g. using the categories A->Z on the left side
- select the GPIO in question (in your case PC13)
- in the configuration change Pin Context Assignment from Free to ARM Cortex-M7 (NVIC1 relates to C-M7)
- then either:
- select tab NVIC (same page in configuration of GPIO) and tick the box at EXTI line[15:10] or
- open the peripheral NVIC1 and tick the box at EXTI line[15:10] there
Does it answer your question?
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-02 11:33 PM
Simply tick the relevant box on EXTI Line, in this case EXTI Line [15:10]. A corresponding interrupt function is then generated by CubeMX or the CubeIDE.
You can read about the respective EXTI lines in the reference manual for the respective STM32 family.
Does it answer your question?
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-03 12:10 AM
I clicked on the box, but I couldn't activate it.
Can you see that the color is different from the other boxes?
I don't know why it is like this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-03 6:03 AM
There's probably a reason it's disabled. Hover over it and see if a note pops up. If that's not it, attach the IOC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-03 6:45 AM
Disclaimer: I have no direct experience with dual-core STM32 CPUs, but... Do you need to map that EXTI pin to one of the cores first?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-03 8:56 AM
As @TDK​ mentioned: hovering the disabled box shows The corresponding GPIO pin is left as "Free" and ....
So you need to assign the pin context to the Cortex-M7. To do that:
- open the peripheral GPIO, e.g. using the categories A->Z on the left side
- select the GPIO in question (in your case PC13)
- in the configuration change Pin Context Assignment from Free to ARM Cortex-M7 (NVIC1 relates to C-M7)
- then either:
- select tab NVIC (same page in configuration of GPIO) and tick the box at EXTI line[15:10] or
- open the peripheral NVIC1 and tick the box at EXTI line[15:10] there
Does it answer your question?
Regards
/Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-03 5:45 PM
I saw a popup hover over it
that talk "The corresponding GPIO pin is left as "Free" and not used by any middleware or pack."
Thanks to you, I was able to solve the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-03-03 5:46 PM
I solved the problem by following your instructions.
Thank you for your kindness.
