gnupic: Solved: Setting up CCP2 module
Subject:
Solved: Setting up CCP2 module
From:
Rick Mann ####@####.####
Date:
12 Nov 2002 11:01:38 -0000
Message-Id: <B9F61E42.F198%rmann@latencyzero.com>
So, it turns out, I'm an idiot (as I figured I would be).
After 24 hours of cogitating and trial-and-error, I discovered that in order
to successfully use the capture mode, it is *very* important to disable the
external clock oscillator circuit.
Would have been nice for the PIC to do that for me, if I set Timer 1 to
internal, but alas, it doesn't. That coupled with my misunderstanding of
just what that clock oscillator was (I was thinking: of course I want the
oscillator enabled, how else will Timer 1 increment?), and I kept
overlooking it.
One simple bit.
Well, if anyone had the answer, sorry to have beaten you to the punch, but
thanks anyway!
--
Rick