- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
234
Reception Command Specification (DSP -> External Microcomputer)
Table 12.4-3 Reception Command Specification for Communication with External Microcomputers
Function
Communication format (in bytes)
1
2
3
4-32
Specify and read
register category
BYTEn+1
Read data (the specified amount)
Specify and write
register category
BYTEn+1
Write data
(the specified amount)
Specify and read
EEPROM category
BYTEn+1
Read data (the specified amount)
Specify and write
EEPROM category
02h 01h
Specify and read actual
EEPROM address
BYTEn+1
Read data (the specified amount)
Specify and write actual
EEPROM address
02h 01h
Write all to EEPROM
02h
01h
<Explanation of Command Reception Specification>
Data of first byte
Total number of valid bytes in a packet; otherwise, an error code (Fnh)
Data of second byte
Dummy (01h), read data, or echo back (write data)
BYTEn Number of bytes to write/read
<Error codes>
FCH Communication error (overrun or other protocol violation)
F0H Error in number of valid bytes for transmission
F1H Command code error
F2H Category
number
error
F3H Byte number error
F4H Illegal access (communication data out of range, etc.)
F5H EEPROM
busy
If an error code is sent, no bytes after the second byte are sent.