ATtiny13 INT0 question/problem
2007-12-15 by Richard Cooke
Hi Folks, I'm embarrassed to have to ask this august group this simple question but it's kicking my butt and I'm at my wit's end. So here goes: I'm trying to use the INT0 pin to wake the chip from idle and have set it to trigger on rising edge. GIMSK = 0x40; //External Interrupt Request 0 Enable MCUCR = 0x03; //Interrupt Sense Control set to rising edge I am also minimizing the power so I am using the 128KHz oscillator and dividing it by 2. The INT0 pin (pin 5, PB0) is connected to the output of a 74AUP1G14 Low-power Schmitt-trigger inverter. The problem is the interrupt won't stop triggering. I've checked the voltages and it doesn't appear to be low (which would make the inverter's output high). I've checked it with a logic analyzer and it looks clean - no glitches. Is there some trick to using the INT0 with a very slow clock? Thanks, Richard Cooke Lake Forest, CA USA