The Aussie Pinball Arcade

Aussie Pinball Forums => Technical Matters => Pinball Training 101 => Topic started by: Marty Machine on June 07, 2014, 05:52:28 PM

Title: Newbies guide to CPU, PIA, RAM chips & speeds when fixing MPU boards.
Post by: Marty Machine on June 07, 2014, 05:52:28 PM
Here's a quick check of the main CPU chip(the brain), PIA & RAM chips used on about 90% of all pinball MPU boards.

It's common practice to try to fix MPU boards by simply swapping/proving if certain chips are dead or not.
However, A VERY common oversight is that people tend to replace these chips with the wrong SPEED replacement, therefore causing the MPU board not to boot, or cause very odd gameplay behaviour *if* it manages to bootup.

The PIA & RAM chips MUST be at the same speed capability (or greater) than the main CPU chip.


The motorola 68xx family of Chips are available in 3 speeds:


    Regular   "A" type   "B" type
    1.0 MHz   1.5 MHz   2.0 MHz
 
CPU:    6800    68A00    68B00
CPU:    6802    68A02    68B02
CPU:    6808    68A08    68B08
CPU:    6809    68A09    68B09
 
RAM:    6810    68A10    68B10
PIA:    6820    68A20    68B20
PIA:    6821    68A21    68B21

Looking at the 3 coloured columns, it is preferable to make sure that ALL CPU/RAM/PIA chips are from within the same colour group shown above.
This will ensure the speeds of the chips are all matched and will work correctly together.

For example:

The *ONLY* exception to the above rule, is that the RAM & PIA chips can be FASTER than the CPU chip.
So, a 1 MHz cpu with 2 MHz RAM/PIA's is quite acceptable.
This is because the CPU will never have any signals that are 'too fast' for the RAM/PIA's to process.


A common problem:
Using a fast CPU (e.g 2MHz) with a slow RAM or PIA (e.g. 1 MHz) will cause all kinds of errors such as switches not being decoded, switches double-triggering, score displays ghosting & jittering numbers etc etc.
This is because the 2 MHz CPU will be overflowing the rate of data sent to the RAM/PIA's, therefore they'll be missing data and creating all kinds of random behavior.


A quick note about CPU speeds.

The Motorola 68xx family of CPUs feature an internal "divide by 4" clock divider.
This means the internal data rate of the CPU will be processing instructions & data at 1-million-times-per-second, aka "1 Megahertz", aka "1 MHz".
Therefore, for a 1 MHz CPU, the external clock/crystal must be 4 times the chip speed ( 4 MHz).


Looking at many MPU board diagrams, you will find many 68xx CPU's use either a 4MHz, 6MHz or 8MHz crystal (or clock generator circuit).



So, if you have an MPU board laying about that has been too hard to fix, it might be a simple matter of matching all your chip speeds ;-)


Enjoy!
Marty Machine.
Title: Re: Newbies guide to CPU, PIA, RAM chips & speeds when fixing MPU boards.
Post by: ddstoys on June 07, 2014, 06:46:21 PM
What a great breakdown Marty
Title: Re: Newbies guide to CPU, PIA, RAM chips & speeds when fixing MPU boards.
Post by: Ballywannabe on June 07, 2014, 06:46:48 PM
Thanks Marty, useful info ^^^

 I will have to check a couple of my machines that have minor but annoying niggles to see if this could be the problem.
Title: Re: Newbies guide to CPU, PIA, RAM chips & speeds when fixing MPU boards.
Post by: oldskool1969 on June 07, 2014, 08:36:00 PM
I understand a bit more now, thanks.
Might have to get out my sys 11c board from Dr Dude again and have a look at the chip as it had a U25 ram failure and just locked up. So I bought a new rotten dog board and had issues with that too!
On my Space Station I took out heaps of 6821 PIA,s along with transistors and micro drivers in a catastrophic fail, still don't really know how I did it though? Lucky I guess  %.%
Title: Re: Newbies guide to CPU, PIA, RAM chips & speeds when fixing MPU boards.
Post by: Limorange on June 10, 2014, 12:01:26 AM
Thanks for sharing the info Marty, it brings a better understanding on the ins and outs.
Definitely put that on my check list for fault finding.
Title: Re: Newbies guide to CPU, PIA, RAM chips & speeds when fixing MPU boards.
Post by: mitchjjam on June 25, 2015, 01:08:40 AM
Interesting about the clock speeds. I guess it is like PCs you can have faster ram than the CPU bus but not the other way or it will slow down the CPU.
Title: Re: Newbies guide to CPU, PIA, RAM chips & speeds when fixing MPU boards.
Post by: ralph67 on June 25, 2015, 01:52:11 AM
Great information Marty , really helpful
 Now where is my printer , Ill keep a copy handy  ^^^