Hi, I am waiting for hardware to arrive, so until then I have to code 'blind'. I am trying to test my RTC code, but the:
Code:
OSC_RC32KRDY flag is never set to one (no stable clock)
I enable the 32.768 kHz internal clock by using the following (I have checked to see if the bit is set high)
Code:
OSC.CTRL = OSC_RC32KEN_bm;
Any tips on how to test the RTC with AVR Simulator would be great.
~ Jannes |