Byte Operand To 16-Bit Port, Odd (A0 = 1); Word Operand To 8-Bit Port, Aligned - Motorola MC68340 User Manual

Integrated processor with dma
Hide thumbs Also See for MC68340:
Table of Contents

Advertisement

3.2.3.3 BYTE OPERAND TO 16-BIT PORT, ODD (A0 = 1). The MC68340 drives the
address bus with the desired address and the SIZx pins to indicate a single-byte operand.
BYTE OPERAND
DATA BUS
CYCLE 1
For a read operation, the slave responds by placing data on bits 7–0 of the data bus and
asserting DSACK1 to indicate a 16-bit port. The MC68340 then reads the operand byte
from bits 7–0 and ignores bits 15–8.
For a write operation, the MC68340 drives the single-byte operand on both bytes of the
data bus because it does not know the port size until the DSACK signals are read. The
slave device reads the operand from bits 7–0 of the data bus and uses the address to
place the operand in the specified location. The slave then asserts DSACK1 to terminate
the bus cycle.
3.2.3.4 WORD OPERAND TO 8-BIT PORT, ALIGNED. The MC68340 drives the address
bus with the desired address and the SIZx pins to indicate a word operand.
WORD OPERAND
DATA BUS
CYCLE 1
CYCLE 2
For a read operation, the slave responds by placing the most significant byte of the
operand on bits 15–8 of the data bus and asserting DSACK0 to indicate an 8-bit port. The
MC68340 reads the most significant byte of the operand from bits 15–8 and ignores bits
7–0. The MC68340 then decrements the transfer size counter, increments the address,
and reads the least significant byte of the operand from bits 15–8 of the data bus.
For a write operation, the MC68340 drives the word operand on bits 15–0 of the data bus.
The slave device then reads the most significant byte of the operand from bits 15–8 of the
data bus and asserts DSACK0 to indicate that it received the data but is an 8-bit port.
The MC68340 then decrements the transfer size counter, increments the address, and
writes the least significant byte of the operand to bits 15–8 of the data bus.
MOTOROLA
Freescale Semiconductor, Inc.
OP0
0
7
D15
D8
D7
D0
(OP0)
OP0
OP0
OP1
8
15
7
0
D15
D8
D7
D0
(OP1)
OP0
(OP1)
OP1
MC68340 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
SIZ1
SIZ0
A0
DSACK1
0
1
1
SIZ1
SIZ0
A0
DSACK1
1
0
0
0
1
1
DSACK0
0
X
DSACK0
1
0
1
0
3- 9

Advertisement

Table of Contents
loading

Table of Contents