|
servo PWM sampling-what Fosc should I use?
Hi.
my goal is to sample a servo pulse from an R/C receiver,
and I'm not sure what XTAL to use,
I mean, what is the minimum Fosc I should use?
if a 4MHz = 1MHz internal clock,
so with a 1:1 prescaler I should get 1 sample every 1 mS.
if I'm correct, a servo's pulse is between 0.9mS and 2.1 mS,
meaning I need something quicker, am I correct?
will a 20MHz XTAL be the answer?
thanks,
Ran.
|