I have a simple system with 32.768Khz crystal connected to XTAL1 and XTAL2
Do I need a special operation to enable it?

I did the following initializations in order to get a 1sec interrupt:

    TCCR2B = 0x05;            /* Osc/128 prescaler */
    ASSR = _BV(AS2);
    TIMSK2 = _BV(TOIE2);    /* enable overflow interrupt */

However no interrupt was generated.
What did I do wrong?

-- 
Ori Idan
_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to