|
MC68HC68T1 Datasheet, PDF (18/26 Pages) Motorola, Inc – Real-Time Clock plus RAM with Serial Interface | |||
|
◁ |
Address Byte
The address byte is always the first byte entered after SS
goes true. To transmit a new address, SS must first be
brought low and then taken high again.
MSB
LSB
A7 A6 A5 A4 A3 A2 A1 A0
A7 â High initiates one or more write cycles.
Low initiates one or more read cycles.
A6 â Must be low (zero) for normal operation.
A5 â High signifies a clock/calendar location.
Low signifies a RAM location.
A0 â A4 â Remaining address bits (see Figure 5).
Address and Data
Data transfers can occur one byte at a time or in multiâbyte
burst mode (see Figures 16 and 17). After the MC68HC68T1
is enabled (SS = high), an address byte selects either a read
or a write of the Clock/Calendar or RAM. For a singleâbyte
read or write, one byte is transferred to or from the Clock/Cal-
endar register or RAM location specified by an address.
Additional reading or writing requires reâenabling the device
and providing a new address byte. If the MC68HC68T1 is not
disabled, additional bytes can be read or written in a burst
mode. Each read or write cycle causes the Clock/Calendar
register or RAM address to automatically increment. Incre-
menting continues after each byte transfer until the device is
disabled. After incrementing to $1F or $9F, the address
wraps to $00 and continues if the RAM is selected. When the
Clock/Calendar is selected, the address wraps to $20 after
incrementing to $32 to $B2.
SS
WRITE
MMSOOCSSKÃÃÃÃÃÃÃII ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃAADDDDRREESSSSBBYYTTEEÃÃÃÃÃÃÃÃÃÃÃÃDATAÃÃÃÃBYTÃÃÃÃE ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ
READ
MISO
DATA BYTE
Figure 16. SingleâByte Transfer Waveforms
SS
WRITE
MMSOOCÃÃÃÃÃÃSSKII ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ
ADDRESS
ADDRESS
BBYYTTÃÃÃÃEE ÃÃÃÃDAÃÃÃÃTABÃÃÃÃYTEÃÃÃÃ0 ÃÃÃÃDÃÃÃÃATABÃÃÃÃYTEÃÃÃÃ1 ÃÃÃÃÃÃÃÃDAÃÃÃÃTABÃÃÃÃYTEÃÃÃÃn ÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ
READ
MISO
DATA BYTE 0
DATA BYTE 1
DATA BYTE n
MC68HC68T1
18
W/R ADDRESS
ADDRESS BYTE
ADDRESS BYTE + 1
ADDRESS BYTE + n
Figure 17. MultipleâByte Transfer Waveforms
MOTOROLA
|
▷ |