A
[email protected]
- Jan 1, 1970
- 0
Does there exist a uC of any kind where the clock source is selectable
from code? With the PICs you have to choose the clock source at program
time by burning fuses, and you are stuck with it. Yes the watchdog uses
an internal RC but when it counts down the PIC wakes up with the
programmed oscillator type.
Here's my dilemma: I am using the clock generated by a genlock PLL to
drive the PIC. When the video is gone, the PLL loses lock and its VCO
output is then unknown to me. However the fact that HSYNC is gone is
known, so I'd like to select an internal RC clock for the uC before the
VCO goes out of spec.
Yeah, it's not a great design, but it's a personal challenge to me and
it's not a commercial product.
Also (heh heh), since the PIC is being fed by the PLL, it is also
acting as the feedback divider... I like this clever (imho) way saving
of parts, and the clock is allowed to have jitter.
from code? With the PICs you have to choose the clock source at program
time by burning fuses, and you are stuck with it. Yes the watchdog uses
an internal RC but when it counts down the PIC wakes up with the
programmed oscillator type.
Here's my dilemma: I am using the clock generated by a genlock PLL to
drive the PIC. When the video is gone, the PLL loses lock and its VCO
output is then unknown to me. However the fact that HSYNC is gone is
known, so I'd like to select an internal RC clock for the uC before the
VCO goes out of spec.
Yeah, it's not a great design, but it's a personal challenge to me and
it's not a commercial product.
Also (heh heh), since the PIC is being fed by the PLL, it is also
acting as the feedback divider... I like this clever (imho) way saving
of parts, and the clock is allowed to have jitter.