Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:37 19 Feb 2026 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Crystal Oscillator query

     Page 2 of 2    
Author Message
bfwolf
Senior Member

Joined: 03/01/2025
Location: Germany
Posts: 166
Posted: 02:43pm 28 Jan 2026
Copy link to clipboard 
Print this post

Of course, that depends a lot on the application.

I assume that these crystal oscillators aren't "silent" during the startup phase but often perform a frequency sweep.

For example, if you have a microcontroller with an internal (calibrated) RC oscillator, you can run it on the RC clock for a while and then switch to the external clock once it's stable.

It's more complicated with microcontrollers (like many AVRs) where you have to define the clock source in fuses during programming and can't later switch from the RC oscillator to an external clock via a register.
 
EDNEDN
Senior Member

Joined: 18/02/2023
Location: United States
Posts: 283
Posted: 04:08am 29 Jan 2026
Copy link to clipboard 
Print this post

  Mixtel90 said  
We used to temporarily stop the Z80 clock to let DMA happen. The Z80 knows nothing about it and just carries on when the clock is restored.


In fact, that was one of the great things about the Z80.   I wire wrapped up a CP/M Z80 machine.    And I was able to debug it with a logic probe.   I made the clock circuit feeding it the 4 MHz able to feed it clock pulses via a (debounced) toggle switch.

I could toggle the switch back and forth and use the logic probe to see exactly what I/O ports or memory addresses were being accessed.  

It was really nice of the Zilog guys to make the Z80 able to work and hold state at 0 Hz.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3618
Posted: 02:47pm 29 Jan 2026
Copy link to clipboard 
Print this post

  EDNEDN said  
  Mixtel90 said  
We used to temporarily stop the Z80 clock to let DMA happen. The Z80 knows nothing about it and just carries on when the clock is restored.


In fact, that was one of the great things about the Z80.   I wire wrapped up a CP/M Z80 machine.    And I was able to debug it with a logic probe.   I made the clock circuit feeding it the 4 MHz able to feed it clock pulses via a (debounced) toggle switch.

I could toggle the switch back and forth and use the logic probe to see exactly what I/O ports or memory addresses were being accessed.  

It was really nice of the Zilog guys to make the Z80 able to work and hold state at 0 Hz.


I did the same thing with the terrific Motorola 68000 (with 1MB flat memory capability)--also wire-wrapped. You could single-step at any rate you liked.

Oh, the times (but wouldn't want to go back).
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Bowden_P
Senior Member

Joined: 20/03/2019
Location: United Kingdom
Posts: 171
Posted: 09:38pm 29 Jan 2026
Copy link to clipboard 
Print this post

Hi,
Weighing up all your advice, and some ploughing through the literature, I have decided that I woun't be able to determine good conditions for a crystal, so will use an oscillator module instead.

Probably a ECS-3951M-200-BN-TR, 5V supply, 50ppm, 7mm x 5mm package.

For all my past projects I have used an HC49U cased crystal alone without problems, with drive requirements up to the 1.2mW level. Now I wonder if even they were overstressed!

With best regards, Paul.
Nothing so constant as change.
 
Bowden_P
Senior Member

Joined: 20/03/2019
Location: United Kingdom
Posts: 171
Posted: 10:33pm 30 Jan 2026
Copy link to clipboard 
Print this post

Hi,
On the pcb layout for the above oscillator module, is it worth putting a guard ring on the same side as the module?

There is a ground plane on the opposite side. The literature I've seen doesn't give any such details for a module like this, just pad layouts.

With best regards, Paul.
Nothing so constant as change.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8568
Posted: 08:19am 31 Jan 2026
Copy link to clipboard 
Print this post

Providing the signal track is kept sensibly short and direct then no, you almost certainly won't need a guard ring, especially with a ground plane. The only thing to think about is the capacitance along the track rounding the corners of the clock. Unless the frequency is very high this usually isn't much of a problem. The signal level is already high and has a far better SNR ratio than you have on a XTAL oscillator amplifier.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Bowden_P
Senior Member

Joined: 20/03/2019
Location: United Kingdom
Posts: 171
Posted: 02:30pm 31 Jan 2026
Copy link to clipboard 
Print this post

Hi Mixtel90,
Thanks. I just checked the track length - osc. o/p to micro clock pin - 5.1mm, so there should be no problems regarding distance.
With best regards, Paul.
Nothing so constant as change.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8568
Posted: 03:00pm 31 Jan 2026
Copy link to clipboard 
Print this post

I've run hdmi over much longer lengths than that. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026