Question
stm32f405, lock question
Posted on May 06, 2014 at 00:33
Dear,
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. Angelo