Sony SS-HQ1 Application Notes page 239

Table of Contents

Advertisement

Transmission Command Specification (External Microcomputer -> DSP)
Table 12.4-2 Transmission Command Specification for Communication with External Microcomputers
Function
Specify and read
register category
Specify and write
register category
Specify and read
EEPROM category
Specify and write
EEPROM category
Specify and read actual
EEPROM address
Specify and write actual
EEPROM address
Write all to EEPROM
Dummy
(packets for receipt only)
<Explanation of Command Transmission Specification>
Data of first byte
Data of second byte
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
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.
1
2
05h
01h
BYTEn+4
02h
05h
03h
05h
04h
05h
05h
BYTEn+4
06h
05h
07h
Sends as many 00h as the number of bytes
00h
Total number of valid bytes in a packet; if 00h, judged a dummy
Command code
Actual address in EEPROM : 0000h 0 2FFhh
Communication format (in bytes)
3
CAT
STBN
CAT
STBN
CAT
STBN
CAT
STBN
EEPROM
EEPROM
ADDRESS
ADDRESS
MSB
LSB
EEPROM
EEPROM
ADDRESS
ADDRESS
MSB
LSB
00h
received
233
- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
4
5
BYTEn
01h-1Fh
Write data
(28 bytes max.)
BYTEn
01h-1Fh
BYTEn
01h-FFh
BYTEn
01h-1Fh
Write data
(28 bytes max.)
01h
02h
6-32

Advertisement

Table of Contents
loading

Table of Contents