VOGONS


CPU clock division

Topic actions

First post, by RetroBard

User metadata
Rank Newbie
Rank
Newbie

I have an old Nokia MikroMikko 3TT with an 8 MHz 286 inside. I’ve been considering the possibility of upgrading the CPU to a 12 MHz one, but I gather I have to also change the crystal. The CPU and crystals are actually on an industrial SBC that is connected to an ISA backplane. X1, which I assume to be the main CPU clock is 24 MHz. There is also a crystal marked X3 that is 32 MHz.

Assuming that the 286 gets its clock from X1, it would mean that the 24 MHz has been divided by 3 to achieve the 8 MHz. What actually determines that the division is 3? Does this mean that I would need a 36 MHz crystal besides the 12 MHz CPU? Do I have to take the X3 into consideration?

Thanks in advance!

Reply 1 of 5, by Deunan

User metadata
Rank l33t
Rank
l33t

286 internally divides the clock input by 2. So does 386, where the input is actually called CLK2. So if your chip is running at 8MHz then it needs to get 16MHz at its clock input. Perhaps there is another clock generator, or it's that X3 (with further /2 external divider) that actually provides CPU clock.

Reply 2 of 5, by RetroBard

User metadata
Rank Newbie
Rank
Newbie

I had a look around at the CPU board some time ago when I had the lid off, but I can’t remember there being any crystal that was specifically 16 MHz. Hence, the 32 MHz divided by 2 with an external divider and then divided again by 2 at the CPU would make sense. Can some 74 series logic do the external division?

Reply 3 of 5, by gdjacobs

User metadata
Rank l33t++
Rank
l33t++
RetroBard wrote on 2024-08-04, 19:53:

I had a look around at the CPU board some time ago when I had the lid off, but I can’t remember there being any crystal that was specifically 16 MHz. Hence, the 32 MHz divided by 2 with an external divider and then divided again by 2 at the CPU would make sense. Can some 74 series logic do the external division?

Easy enough to do with flip flops. A JK set to toggle mode and an oscillator on the clock input will only flip once (on the falling edge of the clock waveform) where the clock input flips twice (at both the falling and rising edge).

All hail the Great Capacitor Brand Finder

Reply 4 of 5, by Anonymous Coward

User metadata
Rank l33t++
Rank
l33t++

I’ve seen other 286 boards where the cpu crystal is divided by three, so that is likely the case with your board too. Replace the 24Mhz crystal with a 36mhz one for 12mhz.

"Will the highways on the internets become more few?" -Gee Dubya
V'Ger XT|Upgraded AT|Ultimate 386|Super VL/EISA 486|SMP VL/EISA Pentium

Reply 5 of 5, by RetroBard

User metadata
Rank Newbie
Rank
Newbie

Thanks for all the responses! It would probably make sense to do some probing onto the board to see which crystal is generating the clock to the CPU. Unfortunately, I haven’t been able to find any schematics of the system.

I’m actually wondering if I need to upgrade both crystals respectively. There’s also the fact that 12 MHz 286s come in PLCC package, where as the 8 MHz one is PGA. That should be easiest to overcome by adding a PLCC socket in between. How tolerant the 8MHz 286 is for overclocking? How would it cope with a 33% clock increase?