Clock: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
m (Phase relations)
Line 5: Line 5:
=In cartridge systems=
=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 24 by {{Chipname|NEO-D0}} from a crystal oscillator, to provide the 12MHz clock for {{Chipname|NEO-ZMC2}}, the inverted 6MHz one for [[video DAC|video output]] and also the 1MHz one for {{Chipname|NEO-B1}}.
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 {{Chipname|NEO-D0}} from a crystal oscillator, to provide the 12MHz clock for {{Chipname|NEO-ZMC2}}, the inverted 6MHz one for [[video DAC|video output]] and also the 3MHz one for {{Chipname|NEO-B1}}.


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


The cartridge connector provides the {{Sig|24M|24M}}, 12MHz, 8MHz and 4MHz inverted clock signals.
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 encoder]]s.
A second quartz oscillator is used for generating the color burst needed by composite video, for the [[video encoder]]s.
Line 17: Line 17:
[[File:clock.png]]
[[File:clock.png]]


"B" signals are phase-inverted.
==Phase relations==
 
[[File:Clockphases.png]]


==Signals==
==Signals==

Revision as of 06:09, 6 April 2016

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

Signals

In CD systems

File:Cd2 quartz.jpg
System clock and color burst generation circuit on a CDM3-2 board.

NEO-GRC ?