AnsweredAssumed Answered

Interrupts and loss of Data

Question asked by mejrissi.chiheb on May 15, 2014
Latest reply on May 16, 2014 by sung.chen_chung
I am currently building a big project on STM32F4 Discovery board for my graduation project. I have configured 4 Timers' interrupts (10Hz, 50Hz, 100Hz and 1kHz), USART communication with interrupt, and CAN communication. I am working with a lot of variables too.
My question is: If I am reading a variable, and lets say for example CAN_RX_Interrupt occurs and tries to set a variable while I am reading it in my main, will that cause a loss of Data? 

Outcomes