Using an external crystal oscillator. How to configure? #1133
Unanswered
mgrosvenor
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
-
You also don't want to forget to actually enable the external 32Khz crystal by setting the "enable" bit in the XOSC32KCTRLA register. I made an example sketch for the RTC and PIT a while ago and just reworked it to work with an external 32KHz crystal It wil blink leds on PB0 (via RTC interrupt) and PC0 (via PIT interrupt)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an application which requires better time keeping than the internal clock offers. I'm trying to retrofit a 32.768Khz oscillator on to my board. So far I've had no luck. I've tried various capacitance values between 0pf and 15pf. I have one doubt though, looking at the data sheet I can see that there are two external clocking options
• 32.768 kHz external crystal oscillator (on
TOSC1
/TOSC2
)• External clock input (on
EXTCLK
akaPA3
)When selecting "external" from the list of clocking, is it true the it's the first of these options which is configured?
Beta Was this translation helpful? Give feedback.
All reactions