cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with GPIO Interrupts and RTOS STM32H753

SEfte.1
Associate II

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

2 REPLIES 2
Bubbles
ST Employee

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.

SEfte.1
Associate II

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?