>I use 3 interrupts with the 16c74, I2C,Timer1 and Timer0 >Timer 0 is a system timer wich interrupts every ms >Timer 1 is used with the compare register to generate a frequency signal on >a port pin. The signal >can be changed and switched on/off via i2c. >I2c interrupt decodes the received mixed mode I2C command. >This works fine for some time, but after some actions I don't return in my >main loop? What can cause this ? >Frank Temmerman Frank, The most common reason for this is that interrupts are occurring simultaneously and you are not handling this condition properly. 1. Look carefully on how you are handling interrupts occurring within interrupts and the piority that you are using. 2. Physically disable one interrupt at a time and see if the problem goes away. If you find that disabling one or more interrupts keeps the code running, then look at those areas of the interrupt handler code. Good Luck. ----- Steve