- SS-HQ1 Application Notes -
Ver.1.0.0 January 7, 2005
60
9.1.4. Communication Format
A single packet consists of 2 to 32 bytes. After receiving one packet of data, the CXD3172AR analyzes the
data and performs command execution controls. See
for the command specifications.
Data are sent in category increments. The first byte sends the byte count for the number of bytes to be sent.
Commands are sent in the second byte, and communication data corresponding to the individual commands
are sent in the third and subsequent bytes.
A maximum of 32 bytes can be sent and received, including heads for commands and the like, and the valid
communication byte count.
Table 9.1-4 Command Specification Summary
Communication format
Command
Description
1
2
3
4
5
6-29
30-32
CMD 05[h]
01[h]
CAT Byte
Data Num
01[h]-1F[h]
Register
Category
specification
Read
Reply
Data Num
+1
Read Data
CMD
Data Num
+4
02[h] CAT Byte
Write
Data
Register
Category
specification
Write
Reply
Data Num
+1
Write Data
CMD 05[h]
03[h]
CAT Byte
Data Num
01[h]-1F[h]
EEPROM
Category
specification
Read
Reply
Data Num
+1
Read Data
CMD 05[h]
04[h]
CAT Byte
Data Num
01[h]-FF[h]
EEPROM
Category
specification
Write
Reply 02[h]
01[h]
CMD 05[h]
05[h]
EEPROM
Address
MSB
EEPROM
Address
LSB
Data Num
01[h]-1F[h]
EEPROM
Actual address
specification
Read
Reply
Data Num
+1
Read Data
CMD
Data Num
+4
06[h]
EEPROM
Address
MSB
EEPROM
Address
LSB
Write Data
EEPROM
Actual address
specification
Write
Reply 02[h]
01[h]
CMD 05[h] 07[h] 00[h] 01[h] 02[h]
EEPROM
Batch write
Reply 02[h]
01[h]
* CMD : A command is sent from the PC to the CXD3172AR
Reply : A reply is sent to the PC after the CXD3172AR receives a command