Clock

From NeoGeo Development Wiki
Jump to navigation Jump to search

Not to be confused with the real time clock (RTC), which is clocked independently.

File:Clkdistribution.png

In cartridge systems

The main system clock (often called mclk) is either 24MHz (MVS) or 24.167829MHz (AES). It is generated and divided by 2, 4 and 8 by NEO-D0 from a crystal oscillator, to provide the 12MHz clock for NEO-ZMC2, the inverted 6MHz one for video output and also the 3MHz one for NEO-B1.

LSPC2-A2 divides it by 3 and 6 to provide the 8MHz clock for the YM2610 and the 4MHz one for the Z80.

The cartridge connector provides the 24MHz, 12MHz, 8MHz and 4MHz inverted clock signals.

A second quartz oscillator is used for generating the color burst needed by composite video, for the video encoders.

A third 32768Hz quartz oscillator is used for the RTC.

Phase relations

To do: 8M is 33high/66low, not 50/50

Signals

24M (~24MHz), 12M (12MHz), 68KCLK (12MHz), 68KCLKB (12MHz), 8M (8MHz), 6MB (6MHz), 4M (12MHz), 4MB (4MHz), 1MB (3MHz)

In CD systems

File:Cd2 quartz.jpg
System clock and video PLL circuit on a CDM3-2 board.

NEO-GRC ?