Problem with GPIO Interrupts and RTOS STM32H753
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-29 7:02 AM
Hello,
I am using an STM32H753 mcu and I working on a project with 8 GPIO Interrupt Pins. I am using RTX RTOS. The problem is that when the interrupt happens the same time with a thread activation. The mcu goes in dummy handler with bus Precision error due to corrupted stack pointer. I tried to reduce the priority of GPIO interrupts and problem remains. I also tried to reduce the priority of the thread and nothing happened.
Any Suggestions?
Thanks In Advance
- Labels:
-
GPIO-EXTI
-
Interrupt
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-29 7:35 AM
Hi @SEfte.1​,
it's normally not a problem to stack or chain interrupts on the H7. I think the problem is most likely caused by something done in the ISR.
BR,
J
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-11-30 12:24 AM
Hello and thank you for you reply @JHOUD​ ,
The only procedure taking place in ISR is that is set a software flag. I thought that maybe when more than one interrupt happens the same time with thread activation that's when the problem occurs. Do you think that somethig else is going on?
