- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
233
Transmission Command Specification (External Microcomputer -> DSP)
Table 12.4-2 Transmission Command Specification for Communication with External Microcomputers
Communication format (in bytes)
Function
1
2
3
4
5
6-32
Specify and read
register category
05h 01h CAT
STBN
BYTEn
01h-1Fh
Specify and write
register category
BYTEn+4
02h CAT STBN
Write data
(28 bytes max.)
Specify and read
EEPROM category
05h 03h CAT
STBN
BYTEn
01h-1Fh
Specify and write
EEPROM category
05h 04h CAT
STBN
BYTEn
01h-FFh
Specify and read actual
EEPROM address
05h 05h
EEPROM
ADDRESS
MSB
EEPROM
ADDRESS
LSB
BYTEn
01h-1Fh
Specify and write actual
EEPROM address
BYTEn+4
06h
EEPROM
ADDRESS
MSB
EEPROM
ADDRESS
LSB
Write data
(28 bytes max.)
Write all to EEPROM
05h
07h
00h
01h
02h
Dummy
(packets for receipt only)
00h
Sends as many 00h as the number of bytes
received
<Explanation of Command Transmission Specification>
Data of first byte
Total number of valid bytes in a packet; if 00h, judged a dummy
Data of second byte
Command code
CAT Write/read
category
number
STBN
Write/read start byte number
BYTEn Number of bytes to write/read (if CAT is specified, only in the same category)
EEPROM ADDRESS MSB/LSB
Actual address in EEPROM : 0000h
02FFhh
Note
CAT can be designated in a range of 01h-18h. However, for CAT 5, 22, and 23, there is no writing to EEPROM.
Thus, 05h, 16h, and 17h cannot be designated when specifying the EEPROM category in write/read
commands.
For category-specific commands (codes 01h, 02h, 03h, and 04h), errors will occur from instructions for a
numbers of bytes exceeding the same category.
The CXD3172AR returns echo backs in response to write commands, so for the following commands, send
dummy data that conforms to the reception specification.