2020-08-26 01:38 AM
I am doing i2c reads in my while(1) loop. I do have an external interrupt source. I wonder, if the external interrupt arrives while data is being sent on i2c bus, what will happen? The mcu will enter to interrupt service routine clearly, will i2c peripheral manage to establish the data flow correctly?
p.s: STM32F103C8T6
Thanks.
2020-08-26 07:59 AM
Generally, it'll work just fine unless your ISR takes too long to return.