English
Language : 

MC68HC68T1 Datasheet, PDF (16/26 Pages) Motorola, Inc – Real-Time Clock plus RAM with Serial Interface
After the status register is read, the first time–up bit is set low
if the POR pin is high. Conversely, if the POR pin is held low,
the first time–up bit remains set high.
Interrupt True
A high in this bit signifies that one of the three interrupts
(power sense, alarm, or clock) is valid.
Power–Sense Interrupt
This bit set high signifies that the power–sense circuit has
generated an interrupt. This bit is not reset after a read of this
register.
Alarm Interrupt
When the contents of the seconds, minutes, and hours
time counters and alarm latches are equal, this bit is set high.
The status register must be read before loading the interrupt
control register for valid alarm indication after the alarm acti-
vates.
Clock Interrupt
A periodic interrupt sets this bit high (see Table 3).
SERIAL PERIPHERAL INTERFACE (SPI)
The serial peripheral interface (SPI) utilized by the
MC68HC68T1 is a serial synchronous bus for address and
data transfers. The shift clock (SCK), which is generated by
the microcomputer, is active only during address and data
transfer. In systems using the MC68HC05C4 or
MC68HC11A8, the inactive clock polarity is determined by
the clock polarity (CPOL) bit in the microcomputer’s control
register.
A unique feature of the MC68HC68T1 is that the level of
the inactive clock is determined by sampling SCK when SS
becomes active. Therefore, either SCK polarity is accom-
modated. Input data (MOSI) is latched internally on the inter-
nal strobe edge and output data (MISO) is shifted out on the
shift edge (see Table 4 and Figure 13). There is one clock for
each bit transferred. Address as well as data bits are trans-
ferred in groups of eight.
Table 4. Function Table
Signal
Mode SS
SCK
MOSI
MISO
Disabled L
Reset
Input
Disabled
Input
Disabled
High–Z
Write
H CPOL = 1
Data Bit
Latch
High–Z
CPOL = 0
Read
H CPOL = 1
CPOL = 0
X
Next Data
Bit Shifted
Out*
* MISO remains at a High–Z until eight bits of data are ready to be
shifted out during a read. MISO remains at a High–Z during the entire
write cycle.
ADDRESS AND DATA FORMAT
There are three types of serial transfers:
1. Read or write address
2. Read or write data
3. Watchdog reset (actually a non–transfer)
The address and data bytes are shifted MSB first, into the
serial data input (MOSI) and out of the serial data output
(MISO). Any transfer of data requires the address of the byte
to specify a write or read Clock or RAM location, followed by
one or more bytes of data. Data is transferred out of MISO for
a read operation and into MOSI for a write operation (see
Figures 14 and 15).
MC68HC68T1
16
MOTOROLA