Freescale Semiconductor, Inc.
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
OP0
OP0
0
7
DATA BUS
CYCLE 1
D15
(OP0)
D8 D7
D0
SIZ1
SIZ0
A0
DSACK1 DSACK0
0
1
1
0
X
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
OP0
OP1
8
15
7
0
DATA BUS
CYCLE 1
CYCLE 2
SIZ1
1
0
SIZ0
0
1
A0
0
1
DSACK1 DSACK0
D15
D8 D7
D0
1
1
0
0
(OP1)
(OP1)
OP0
OP1
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
MC68340 USER’S MANUAL
3- 9
For More Information On This Product,
Go to: www.freescale.com