
MOTOROLA
10-32
DEVELOPMENT SUPPORT
CPU16
REFERENCE MANUAL
WDMEM
Description:
Write Data Space Memory
WDMEM
A byte, word, or long word is received via the serial link and written
to an address in data space.
Two extension words specify 20-bit memory address and operand
size. Third and fourth (long word operands only) words contain data
to be written. Bits [3:0] of the first word are the bank address. Bits
[15:14] are encoded to specify operand size. Bits [13:4] are reserved
for future use. The second word is the operand address. When byte
data is written, the upper byte of the third extension word is not used
— these bits are reserved for future use.
Table 10-7 Operand Size Encoding
Operand:
Result:
Command complete status ($FFFF) is returned after memory is writ-
ten.
Command Format:
15
14
13
12
11
10
9
8
Command Sequence Diagram:
Bits
[15:14]
00
01
1X
Operand
Size
Byte
Word
Long Word
7
6
5
4
3
2
1
0
0
0
0
1
0
1
1
1
1
0
0
0
0
1
0
1
NOT USED
ILLEGAL
EXT WD 2
NOT READY
*
LONG
WORD
WDMEM
EXT WD 1
NOT READY
LSW DATA
NOT READY
WRITE
LSW
LOCATION
WRITE
MSW
LOCATION
WRITE
MEMORY
LOCATION
NOT USED
NOT READY
NEXT CMD
COMPLETE
NOT USED
NOT READY
NOT USED
NOT READY
NEXT CMD
COMPLETE
BYTE
WORD
MSW DATA
NOT READY
DATA
NOT READY
NOT READY
NEXT CMD
*RESULTS OF PREVIOUS COMMAND
OR COMMAND COMPLETE STATUS
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.