MM58274CN-12 National Semiconductor, MM58274CN-12 Datasheet - Page 9

no-image

MM58274CN-12

Manufacturer Part Number
MM58274CN-12
Description
Manufacturer
National Semiconductor
Datasheet

Specifications of MM58274CN-12

Bus Type
Parallel
Operating Supply Voltage (typ)
5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
4.5V
Operating Temperature Classification
Industrial
Operating Temperature (max)
85C
Operating Temperature (min)
-40C
Pin Count
16
Mounting
Through Hole
Date Format
DW:DM:M:Y
Time Format
HH:MM:SS:hh
Lead Free Status / RoHS Status
Not Compliant
Figure 4 shows the internal clock connections when the de-
Functional Description
Both of the flags and the interrupt output are reset by the
trailing edge of the read strobe The flag information is held
latched during a control register read guaranteeing that sta-
ble status information will always be read out by the proces-
sor
Interrupt timeout is detected and stored internally if it occurs
during a read of the control register the interrupt output will
then go low only after the read has been completed
A clock setting pulse occurring during a control register read
will not affect the data-changed flag since time data read
out before or after the control read will not be affected by
the time change
METHODS OF DEVICE OPERATION
Test Mode
National Semiconductor uses test mode for functionally
testing the MM58274C-12 after fabrication and again after
packaging Test mode can also be used to set up the oscil-
lator frequency when the part is first commissioned
vice is written into test mode The 32 768 kHz oscillator is
gated onto the interrupt output to provide a buffered output
for initial frequency setting This signal is driven from a
TRI-STATE output buffer enabling easy oscillator setting in
systems where interrupt is not normally used and there is no
external resistor on the pin
If an interrupt is programmed the 32 768 kHz output is
switched off to allow high speed testing of the interrupt tim-
er The interrupt output will then function as normal
The clock start stop bit can be used to control the fast
clocking of the time registers as shown in Figure 4
Initialization
When it is first installed and power is applied the device will
need to be properly initialized The following operation steps
are recommended when the device is set up (all numbers
are decimal)
(Continued)
FIGURE 4 Test Mode Organization
9
rupt start stop bits are set to 1 ensuring that the clock and
interrupt timers are both halted Test mode and the interrupt
register are selected
interrupts programmed and that the oscillator will be gated
onto the interrupt output
the oscillator is buffered out onto the interrupt line
mode but is still halted The clock setting register is now
selected by the interrupt select bit
setting register
Leap Years and AM PM bit) may now be loaded in any
order Note that when writing to the clock setting register to
set up Leap Years and AM PM the Hours Mode bit must
not be altered from the value programmed in step 5
clock initialization by starting the time The final control reg-
ister write should be synchronized with an external time
source
1) Disable interrupt on the processor to allow oscillator set-
ting Write 15
2) Write 0 to the interrupt register Ensure that there are no
3) Set oscillator frequency All timing has been halted and
4) Write 5 to the control register The clock is now out of test
5) Write 0001 to all registers This ensures starting with a
valid BCD value in each register
6) Set 12-hour mode Write 0 to data bit 0 of the clock
7) Load Real-Time Registers All time registers (including
8) Write 0 to the control register This operation finishes the
In general timekeeping should be halted before the time
data is altered in the clock The data can however be al-
tered at any time if so desired Such may be the case if the
user wishes to keep the clock corrected without having to
stop and restart it i e winter summer time changing can be
accomplished without halting the clock This can be done in
software by sensing the state of the data-changed flag and
only altering time data just after the time has rolled over
(data-changed flag set)
10
into the control register The clock and inter-
TL F 5602 – 6

Related parts for MM58274CN-12