AnsweredAssumed Answered

stm32f405, lock question

Question asked by Angelo Dureghello on May 6, 2014
Latest reply on May 9, 2014 by sung.chen_chung
i have the following issue:

i have seen that i cannot process too many instructions from inside interrupt. I guess there is a limit.  (still didn't looked the datasheet),

So i decided to do just some few operations in the interrupt routine, pushing the input in a fifo, and then process this input from the main loop.

But now, how can avoid race conditions if interrupt is triggered just when the main loop is processing/modifing the stack ?

Maybe someone can help me on the proper way to go. Thanks.