UPD4990: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:mvs_upd4990.jpg|right|thumb|uPD4990 RTC in a (dirty) 1FZS MVS slot.]]
[[File:mvs_upd4990.jpg|right|thumb|µPD4990AG RTC on a (dirty) {{PCB|MV1FZS}} board.]]


The uPD4990 is a RTC (Real Time Clock) chip made by NEC, used on [[MVS]] boards to keep the [[calendar]]'s time and date.
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]].


It shares the [[battery-backed RAM]]'s battery and has a separate 32.768kHz crystal clock to run even when power is off.
There are two versions used, the DIP 14 pin uPD4990AC and the SOP 16 pin uPD4990AG.


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


The [[READ_CALENDAR]] BIOS call can be used to transparently load the uPD4990 time and date to [[68k BIOS RAM]].
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|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.


==Datasheet==
=Pinouts=
==SOP16==
 
[[File:uPD4990.png|300px]]
 
[[File:uPD4990.odg]]
 
==DIP14==
[[File:UPD4990AC_pinout.png|256px]]
 
=Failure=
 
A damaged chip, oscillator or their connections can bring a [[CALENDAR ERROR]], but most of the time the system ROM just [[calendar freeze|freezes]] due to a [[System_self-test|self-test]] bug.
 
=Datasheet=
 
Official µPD4990A datasheet: [[http://www.datasheetcatalog.org/datasheet/nec/UPD4990AC.pdf]]


Official uPD4990A datasheet: [[http://www.datasheetcatalog.org/datasheet/nec/UPD4990AC.pdf]]


[[Category:Chips]]
[[Category:Chips]]
[[Category:Repairs]]

Latest revision as of 19:13, 15 June 2020

µPD4990AG 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]]