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

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
read to reset the data-changed flag (DCF) prior to reading
the time registers
out in a block
(logic 0) then no clock setting pulses have after occurred
since step 1 All time data is guaranteed good and time
reading is complete
ues interrupt register selected and interrupt timing stopped
register is loaded with the correct word (chosen from Table
IIB) for the time delay required and for single or repeated
interrupts
mences Writing 0 selects the clock setting register onto the
data bus writing 2 leaves the interrupt register selected
Normal timekeeping remains unaffected
Functional Description
Reading the Time Registers
Using the data-changed flag technique supports microproc-
essors with block move facilities as all the necessary time
data may be read sequentially and then tested for validity as
shown below
1) Read the control register address 0 This is a dummy
2) Read time registers All desired time registers are read
3) Read the control register and test DCF If DCF is cleared
If DCF is set (logic 1) then a time change has occurred
since step 1 and time data may not be consistent Repeat
steps 2 and 3 until DCF is clear The control read of step 3
will have reset DCF automatically repeating the step 1 ac-
tion
Interrupt Programming
The interrupt timer generates interrupts at time intervals
which are programmed into the interrupt register A single
interrupt after delay or repeated interrupts may be pro-
grammed Table IIB lists the different time delays and the
data words that select them in the interrupt register
Once the interrupt register has been used to set up the
delay time and to select for single or repeat it takes no
further part in the workings of the interrupt system All activi-
ty by the processor then takes place in the control register
Initializing
1) Write 3 to the control register (AD0) Clock timing contin-
2) Write interrupt control word to address 15 The interrupt
3) Write 0 or 2 to the control register Interrupt timing com-
On Interrupt
Read the control register and test for Interrupt Flag (bit 0)
If the flag is cleared (logic 0) then the device is not the
source of the interrupt
If the flag is set (logic 1) then the clock did generate an
interrupt The flag is reset and the interrupt output is cleared
by the control register read that was used to test for inter-
rupt
(Continued)
10
Single Interrupt Mode
When appropriate write 0 or 2 to the control register to
restart the interrupt timer
Repeated Interrupt Mode
Timing continues synchronized with the control register
write which originally started interrupt timing No further in-
tervention is necessary from the processor to maintain tim-
ing
In either mode interrupt timing can be stopped by writing 1
into the control register (interrupt start stop set to 1) Timing
for the full delay period recommences when the interrupt
start stop bit is again loaded with 0 as normal
IMPORTANT NOTE Using the interrupt timer places a con-
straint on the maximum Read Strobe width which may be
applied to the clock Normally all registers may be read from
with a t
low) When the interrupt timer is active however the maxi-
mum read strobe width that can be applied to the control
register (Addr 0) is 30 ms
This restriction is to allow the interrupt timer to properly re-
set when it times out Note that it only affects reading of the
control register all other addresses in the clock may be
accessed with DC read strobes regardless of the state of
the interrupt timer Writes to any address are unaffected
NOTES ON AC TIMING REQUIREMENTS
Although the Switching Time Waveforms show Microbus
control signals used for clock access this does not pre-
clude the use of the MM58274C-12 in other non-Microbus
systems Figure 5 is a simplified logic diagram showing how
the control signals are gated internally to control access to
the clock registers From this diagram it is clear that CS
could be used to generate the internal data transfer strobes
with RD and WR inputs set up first This situation is illustrat-
ed in Figure 6
The internal data busses of the MM58274C-12 are fully
CMOS contributing to the flexibility of the control inputs
When determining the suitability of any given control signal
pattern for the MM58274C-12 the timing specifications in
AC Switching Characteristics should be examined As long
as these timings are met (or exceeded) the MM58274C-12
will function correctly
When the MM58274C-12 is connected to the system via a
peripheral port the freedom from timing constraints allows
for very simple control signal generation as in Figure 7 For
reading ( Figure 7a ) Address CS and RD may be activated
simultaneously and the data will be available at the port
after t
and data may be applied simultaneously 70 ns later CS and
WR may be strobed together
AD
RW
-max (650 ns) For writing ( Figure 7b ) the address
down to DC (i e CS and RD held continuously

Related parts for MM58274CN-12