I would like to ask a question that has been on my head for a while
I have done coding small ISR's for pic and AVR controllers and i have successfully tested them on board.And i have just learned some days ago that you need to keep ISR short.
So I have this ISR that runs each 2 ms from timer.
Well the doubt I have is If I have an I2c communication running parallel and then the interrupt occurs, What will happen to the I2C communication.
Will the data transmission gets damaged?.
If The ISR takes 2ms to execute, what will happen to the I2C communication meanwhile.
Can it cope with such delays? Or is it my lack of understanding.