Timer and interrupt doesn't work with i2c

Please, post your codes with code tags (click on </> of the tool bar and paste your codes). Also tell the purpose of using TC2. Are you using TC2 to generate TC2 overflow interrupt?