Hello-
I want to generate pulses in the 10Hz to 20Hz frequency range; the frequency should be adjustable in 100ths of a Hz and the pulsewidth somewhere between 20nsec and 100nsec. My frequency stability requirements mandate the use of a crystal. My question is, “Can a MSP430 be used to generate the clock locally?” I can certainly provide an external clock, but I am trying to save space..
I could feed, perhaps, the main clock with the internal oscillator, running at maximum speed, which would give me an instruction cycle of about 50nsec. I can setup the high-frequency crystal oscillator of the MSP430 to feed the submain clock, which then can feed one of the timers. When the timer accumulation register fills and rolls over, I can have the CPU interrupted and raise one pin high for one instruction cycle. This is one of the many implementations. I can have a timer in the MSP430 feeding another timer (the initial timer will still have to be fed by a crystal-referenced clock).
Is this a viable approach? Is there a better way? What is the smallest device which can do this? What is the recommended crystal frequency? Thanks and Best regards,
Tim Starr on behalf of gf@lt