avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Urgent clock-related questions


From: Thomas D. Dean
Subject: Re: [avr-chat] Urgent clock-related questions
Date: Sun, 07 Apr 2013 23:14:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3

On 04/07/13 21:45, Rick Mann wrote:
So, I just found out that I designed my board with a 32.768 kHz crystal 
connected to the XTAL pins, rather than the TOSC pins. The problem is that to 
move it, I lose my only available SPI port (this is an ATxmega256A3U, and all 
the other SPI port pins are being used for something else).

The easiest solution will be to use a MHz-speed crystal instead of a 32 kHz 
crystal. I don't need low power operation. But I'm not sure I can calibrate the 
internal oscillators via DFLL using an external crystal; the docs talk about 
external clock.

There doesn't seem to be a way to drive the RTC from the XTAL pins, nor can you 
calibrate the internal 32 kHz clock from an external crystal (on XTAL1 & 2).

I don't really need RTC.

So, I guess the best thing is to just stick a 16 MHz crystal on the XTAL pins 
and be done with it? I need USB. If I understand things correctly, I can PLL 
that up to 96 MHz, then divide by 2 to get 48 MHz.

If I'm wrong, please let me know.

Thank you!


Look at RTCCTRL - RTC Control Register.

Tom Dean



reply via email to

[Prev in Thread] Current Thread [Next in Thread]