Hi yes i tried from 27MHZ crystal i get the sine wave but dont have any idea how to on and off .I need the 27MHz sine wave on for 100micro seconds and off for 900 micro seconds i am doing a project on Pulsed electromagnetic field in universityGate a 27MHz xtal oscillator on and off as required.
However, what are you trying to do?.
just enable or disable the supply voltage to the 27MHz oscillator.
We know nothing about the "crystal oscillator". It might start up unstable. (frequency and amplitude) Interrupting the supply sounds good and simple. I have seen xtal oscillators start up at a harmonic for a while. Some oscillators are not at 50% duty cycle at startup.27MHZ crystal
Will the output of the 27mhz just freeze where it is? I think the 27mhz will freeze randomly. Maybe at 5V or 0V or 2.395V. The off state voltage will be different every time. (really don't know .... just asking)set the frequency to zero.
Thanks could you please share your schematic and code etc?I did a quick test, I wrote some code for a PIC which did the following:
set the frequency to 27MHz
set the frequency to 0MHz
Loaded that into my AD9851 based signal source, and it worked quite well.
The phase at which the frequencies started and stopped was rather random, but it did generate 1mS bursts as required.
Thanks could you please share your schematic and code etc?