UPD4990: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
mNo edit summary
m (Added information about 2 different versions present in the boards with two different pinouts)
Line 2: Line 2:


The µPD4990 is a RTC (Real Time Clock) chip made by NEC, used on [[MVS hardware]] to keep track of the time and date for [[bookkeeping]].
The µPD4990 is a RTC (Real Time Clock) chip made by NEC, used on [[MVS hardware]] to keep track of the time and date for [[bookkeeping]].
There are two versions used, the DIP 14 pin uPD4990AC and the SOP 16 pin uPD4990AG.


It shares the [[battery-backed RAM]]'s battery and has its own 32.768kHz crystal to run even when power is off.
It shares the [[battery-backed RAM]]'s battery and has its own 32.768kHz crystal to run even when power is off.


The parallel command inputs aren't used, they are all set high to enable serial commands (see [[MVS schematics]] page 1, and datasheet).
The parallel command inputs aren't used, they are all set high to enable serial commands (see [[MVS schematics]] page 1, and datasheet).


=Interface=
=Interface=
Line 13: Line 16:
Raw access is done through {{Reg|REG_STATUS_A}} for input and {{Reg|REG_RTCCTRL}} for output.
Raw access is done through {{Reg|REG_STATUS_A}} for input and {{Reg|REG_RTCCTRL}} for output.


==Pinout==
=Pinouts=
==SOP16==


[[File:uPD4990.png|256px]]
[[File:uPD4990.png|256px]]


[[File:uPD4990.odg]]
[[File:uPD4990.odg]]
==DIP14==





Revision as of 23:17, 11 June 2020

µPD4990A RTC on a (dirty) MV1FZS board.

The µPD4990 is a RTC (Real Time Clock) chip made by NEC, used on MVS hardware to keep track of the time and date for bookkeeping.

There are two versions used, the DIP 14 pin uPD4990AC and the SOP 16 pin uPD4990AG.

It shares the battery-backed RAM's battery and has its own 32.768kHz crystal to run even when power is off.

The parallel command inputs aren't used, they are all set high to enable serial commands (see MVS schematics page 1, and datasheet).


Interface

The READ_CALENDAR system ROM call can be used to conveniently load the time and date to BIOS RAM locations.

Raw access is done through REG_STATUS_A for input and REG_RTCCTRL for output.

Pinouts

SOP16

File:UPD4990.odg

DIP14

Failure

A damaged chip, oscillator or their connections can bring a CALENDAR ERROR, but most of the time the system ROM just freezes due to a self-test bug.

Datasheet

Official µPD4990A datasheet: [[1]]