Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Atmega16 Real time clock

2005-05-30 by ttse7

Hi all,

I cannot turn on the real time clock of atmega16, I am sure I put the
32K crystal at TOSC1 and TOSC2, here is a portion of my source code:

....
ASSR |= _BV(AS2);
TCCR2 =0x05;
TCNT2 =0x00;
....
sei();

Can anyone help? Many thanks

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.