Call member function from interrupt in STM32
After creating a very simple project and seeing it work I went back to the code. Going slowly with the debugger I found some functions after each the values went random. The functions were doing nothing to those values! And it happened right after entering in them, without executing any code. Then it came to me, stack overflow! I doubled the stack and now all the problems are gone.