Marantz SR7002 User Manual

RS-232C Control Specification :
Rev 00
SR8002/SR7002
Category :
Document Version :
AV Reciever
0.01
Date : 2007/10/16
Author(s) :
Number of Page : 32
Marantz America, Inc.
Marantz America, Inc. 2007
All rights are reserved. Reproduction in whole or in part is prohibited without the written consent of copyright.
All specifications might be subject to change without notice.
SR8002/SR7002 RS-232C Control Specification Page: 2 / 32
Document Version [1.00]
Table of Contents
Introduction............................................................................................................................................................ 3
1.
1-1. Purpose ............................................................................................................................................................ 3
1-2. Scope................................................................................................................................................................ 3
1-3. Abbreviations ................................................................................................................................................... 3
1-4. References ....................................................................................................................................................... 3
2. Global Description ................................................................................................................................................4
2-1. Overview........................................................................................................................................................... 4
2-2. Block Diagram..................................................................................................................................................4
2-3. Interface connection specification of the product...........................................................................................4
2-4. Assumptions and Dependencies .................................................................................................................... 4
3. Detailed Description..............................................................................................................................................5
3-1. Connection format ........................................................................................................................................... 5
3-1-1. Physical connection................................................................................................................................. 5
3-1-1-1. Data transmission sequence from Host to Slave ..........................................................................5
3-1-1-2. Data transmission sequence from Slave to Host ..........................................................................5
3-2. Transmission data format................................................................................................................................6
3-2-1. Transmission data format from Host to Slave........................................................................................ 6
3-2-1-1. Form1: Command ........................................................................................................................... 6
3-2-1-2. Form2: Status request ..................................................................................................................... 6
3-2-2. Transmission data format from Slave to Host........................................................................................6
3-2-2-1. Form1: ACK/NAK ............................................................................................................................ 6
3-2-2-2. Form2: Status answer and Auto status feedback.......................................................................... 6
3-3. The transaction sequences and the regulations............................................................................................ 7
3-3-1. The transaction sequences..................................................................................................................... 7
3-3-2. The transaction regulations..................................................................................................................... 7
3-3-3. Specification of Auto status feedback ..................................................................................................... 7
3-3-4. Example of the transactions.................................................................................................................... 7
3-3-5. Examples of the handshaking flowchart ................................................................................................8
3-3-5-1. Example of successful handshaking..............................................................................................8
3-3-5-2. Examples of handshaking error...................................................................................................... 8
4. Recommendations of Command, Status and Layer definition.....................................................................9
5. Definitions of Command, Status and Layer...................................................................................................... 9
5-1. Commands.......................................................................................................................................................9
5-1-1. Normal Command list.............................................................................................................................. 9
5-1-2. Specific Commands...............................................................................................................................18
5-2. Status request and Status answer list...........................................................................................................19
5-2-1. Normal Status request and Status (answer and feedback) list...........................................................19
5-2-2. Layer of the statuses .............................................................................................................................29
6. Revision history...................................................................................................................................................32
Company Restricted
SR8002/SR7002 RS-232C Control Specification Page: 3 / 32
Document Version [1.00]
1. Introduction
1-1. Purpose
This document was written as a reference specification of products that are controled by the host controller.
1-2. Scope
This document would be using by software or hardware engineers for production of the product.
1-3. Abbreviations
Abbreviation Description
1-4. References
- Hardware Software Interface (HSI) SR8002/SR7002 SW-A0811-HSI-002
Host I/F Command DefinitionHost Controller Interface Specification ver. 0.3 / author: N.Sakamoto
Company Restricted
SR8002/SR7002 RS-232C Control Specification Page: 4 / 32
Document Version [1.00]
2. Global Description
2-1. Overview
A Host controller can control or watch out the product as a Slave very easily via the communication cable.
2-2. Block Diagram
* The product connector is using D-SUB 9pin male. * RS232C cable must use D-SUB 9pin female to connect the products.
2-3. Interface connection specification of the product
uP Interface Signal name Connection device D-Sub Pin Connecter
UART
2-4. Assumptions and Dependencies
HOST
(Controller)
- N.C. - 1
TxD (output) 2 RxD (input)
- N.C. - 4
-
- N.C. - 6
- N.C. - 7
- N.C. - 8
- N.C. - 9
GND GND 5
RS232C cable (Straight)
RS232C
Level shift driver
3
SLAVE
(The product)
Connector
D-SUB (9pin, male)
<The product connector> RS232C D-SUB (9pin,Male)
Company Restricted
SR8002/SR7002 RS-232C Control Specification Page: 5 / 32
Document Version [1.00]
3. Detailed Description
The interface specification between the product and a Host controller is described below.
3-1. Connection format
3-1-1. Physical connection
Host (Controller) Slave (the product)
(Serial setting <RS232C basic>) Baud Rate : 9600bps
TxD
Data Bits : 8bit Parity : None
RxD
Stop bit : 1bit
Handshaking : None
3-1-1-1. Data transmission sequence from Host to Slave
Host (Controller) Slave (The product)
3-1-1-2. Data transmission sequence from Slave to Host
GND
TxD RxD
RxD TxD
1. Host starts a data transmission from TxD.
2. Host performs the data transmission of the number of required bytes, and ends a transmission.
Host (Controller) Slave (The product)
TxD RxD
RxD TxD
1. Slave starts a data transmission from TxD.
2. Slave performs the data transmission of the number of required bytes, and ends a transmission.
RxD
TxD
GND
Company Restricted
SR8002/SR7002 RS-232C Control Specification Page: 6 / 32
Document Version [1.00]
3-2. Transmission data format
3-2-1. Transmission data format from Host to Slave
There are two kinds of transmission data form from Host shown below.
3-2-1-1. Form1: Command
Command is a data that requests some status change. Start character : ’@’ COMMAND : see “Command list”
End character (CR) : 0Dh
Start
@
Command
“xxx:”+”...”
3-2-1-2. Form2: Status request
Status request is a data that requests a answer of some status. Start character : ’@’ Request status : see “Status request list”
Request character : ‘?’ End character (CR) : 0Dh
Start
@
Command
“xxx:?”+”...”
3-2-2. Transmission data format from Slave to Host
There are two kinds of transmission data form from Slave shown below.
3-2-2-1. Form1: ACK/NAK
ACK is a reply data from Slave when Slave got an acceptable command data from Host.
(ACK is sent to Host when Slave has no related status by the Command.)
Start character : ’@’, ACK : 06h, End character (CR) : 0Dh
Start
@
ACK
06h
End
0Dh
NAK is a reply data from Slave when Slave got an incorrect Command data, Status request data or
some other data from Host.
Start character : ’@’, NAK : 15h, End character (CR) : 0Dh
Start
@
NAK
15h
End
0Dh
3-2-2-2. Form2: Status answer and Auto status feedback
Status answers are reply data when Slave got an acceptable Request status or Command data from
Host. Auto status feedbacks are send to Host data when a Slave’s status is changed. Start character : ’@’ Answer character : see “Status list”
End character (CR) : 0Dh
Start
@
Status
“xxx:”+”...”
End
0Dh
End
0Dh
End
0Dh
Company Restricted
SR8002/SR7002 RS-232C Control Specification Page: 7 / 32
Document Version [1.00]
3-3. The transaction sequences and the regulations
3-3-1. The transaction sequences
The transactions have three kinds of sequence.
*A transaction is a Command from Host then Slave will be an answer by Status answer, ACK or NAK.
*A transaction is a Status request from Host then Slave will be an answer by Status answer or NAK.
*A transaction is Auto status feedback from Slave when a Slave’s status changed. (If the auto status
feedback is enabled.)
3-3-2. The transaction regulations
The transactions have some kinds of regulation.
* An answer (ACK, NAK or Status answer) transmittion by Slave has to finish within 500ms when got a
Command or a Status request from Host.
* Host must not transmit an another Command or Status request until "it receives a answer by a
previous Command or Status request" or "it passes a term of waitinng time from a finishing of previous
transmission of a Command or a Status request ".
* Slave has to finish a transaction under 500ms when it sends Auto status feedback data.
3-3-3. Specification of Auto status feedback
There are some specific regulations about Auto status feedback.
* The product status has segmented into four layers of 1, 2, 3 and 4.
* The status of layer 1 are assigned most kindly status to Host. (The statuses of layer 2 are assigned
kindly status, the statuses of layer 3 are not so need status to Host and the statuses of layer 4 are
probably no wished statuses.)
* Each layer status can control transmit enable or disable by Host command. (The product default
would be all disables.)
* Slave sends auto status feedback by itself when the status is changed and if the status feedback is
enabled.
* The product defined and segmentationed layers are takeing in status list.
3-3-4. Example of the transactions
<Host> <Slave>
TxD RxD
RxD TxD
Command
Max. 0.5sec
Status answer
ACK or NAK
Transaction Transaction
Example of the transactions
Company Restricted
Status
request
Max. 0.5sec
Status answer
SR8002/SR7002 RS-232C Control Specification Page: 8 / 32
p
p
A
A
Document Version [1.00]
3-3-5. Examples of the handshaking flowchart
3-3-5-1. Example of successful handshaking
SLAVEHOST
Com m and
Status request
The product can reply ACK instead of related status, if the product can not send the related status
immediatly.
3-3-5-2. Examples of handshaking error
Com m and acce
Request acce
Changed som e status!
table
Related Status answer
or
Status answer
uto status
feedback
CK
table
SLAVEHOST
Com m and
Com m and in c o rre c t
NAK
Status request
Request in c o rre c t
NAK
Company Restricted
SR8002/SR7002 RS-232C Control Specification Page: 9 / 32
Document Version [1.00]
4. Recommendations of Command, Status and Layer definition
- All Commands, Statuses and Layers will be defined other specific document.
- [MANDATORY] The product MUST have Commands and the Statuses same as a remote controller
buttons (IR controller) of the product.
- All Commands are required working by discreate as ON/OFF commands. (It means that do not support TOGGLE command only. )
- All Commands and Statuses are defined same chharacter size except ACK/NAK on the product. ( Recommended character length : 3~6 characters )
-
It permits attaching 0x0A character to a reply characters from the product. In this case, must suppose that the object
is followed altogether.
- Recommend to supports numbers or values direct setting command, if it has variable numbers or values.
5. Definitions of Command, Status and Layer
This section is told how to define “Command”, “Status” and “Layer” of this product.
5-1. Commands
This chapter will show the commands of this product.
5-1-1. Normal Command list
Command Reply from Slave
POWER
AUDIO ATT
AUDIO MUTE
VIDEO MUTE
VOLUME
TONE BASS
TONE TREBLE
SOURCE Select
TOGGLE “PWR:0” OFF “PWR:1” ON “PWR:2”
Global Power Off “PWR:3”
TOGGLE “ATT:0” OFF “ATT:1” ON “ATT:2” TOGGLE “AMT:0” OFF “AMT:1” ON “AMT:2” TOGGLE “VMT:0” OFF “VMT:1” ON “VMT:2” VALUE “VOL:0xxxy” UP “VOL:1”
DOWN UP-FAST
DOWN-FAST “VOL:4” VALUE “TOB:0xxx” UP “TOB:1” DOWN “TOB:2” VALUE “TOT:0xxx” UP “TOT:1” DOWN “TOT:2” TV “SRC:1” DVD “SRC:2” VCR1 “SRC:3” DSS/VCR2 “SRC:5” AUX1 “SRC:9”
“VOL:2”
“VOL:3”
xxx = vol. value as +18~-80db,
xxx = vol. value as +06 ~-06
xxx = vol. value as +06 ~-06
“SRC:va”, (v ,a= ‘0’ ~ ‘Z’) (v = video, a = audio.)
“PWR:1”,
“PWR:2”
“ATT:0”, (None)
“ATT:1”, (OFF)
“ATT:2” (ON)
“AMT:1”,
“AMT:2”
“VMT:1”,
“VMT:2”
“VOL:xxxy”
y = .0 or .5 db
00.0 = ”VOL: 000”,
- = “VOL:-ZZZ”
“TOB:xxx”
“TOT:xxx”
v = 0 (V-OFF) a = N (7.1CH)
Company Restricted
SR8002/SR7002 RS-232C Control Specification Page: 10 / 32
Document Version [1.00]
Command Reply from Slave
7.1 Channel Input
SPEAKER Select
HDMI OUT CH Select
HDMI AUDIO MODE
IP CONVERTER
COMPONENT2 SELECT
AUX2 “SRC:A” CD/CD-R “SRC:C” TAPE “SRC:E” TUNER1 “SRC:F” FM1 “SRC:G” AM1 “SRC:H” XM1 “SRC:J” TOGGLE “71C:0” OFF “71C:1” ON “71C:2” SPKR SEL “SPK:0” SPKR-A OFF “SPK:1” SPKR-A ON “SPK:2” SPKR-B OFF “SPK:3” SPKR-B ON “SPK:4” TOGGLE “HDM:0” HDMI OUT CH1 “HDM:1” HDMI OUT CH2 “HDM:2” ENABLE “HAM:1” THROIUGH “HAM:2” DISABLE “IPC:1” ENABLE “IPC:2”
“CM2:1”
MAIN
This command is available
“SPK:ab”, a=SPK-A,b=SPK-B
for SR8002 only.
“CM2:2”
MULTI
This command is available
“71C:1”,(OFF)
“71C:2”(ON)
“SPK:11”(A-OFF,B-OFF),
“SPK:21”(A-ON,B-OFF),
“SPK:12”(A-OFF,B-ON),
“SPK:22”(A-ON,B-ON),
“HDM:1”(CH1),
“HDM:2”(CH2)
“HAM:1”(ENABLE),
“HAM:2”(THROUGH)
“IPC:1”(DISABLE),
“IPC:2”(ENABLE)
“CM2:1”(MAIN),
“CM2:2”(MULTI)
for SR8002 only.
SLEEP
MENU
CURSOR
DC TRG.
FRONT KEY LOCK
VALUE “SLP:0xxx” (xx=”000”~”120”) OFF “SLP:1” TOGGLE “MNU:0” (work same as RC) OFF “MNU:1” ON “MNU:2” ENTER “MNU:3”
UP “CUR:1” DOWN “CUR:2” LEFT “CUR:3” RIGHT “CUR:4” TRG. 1 OFF “DCT:11” (DC TRG. 1 OFF) TRG. 1 ON “DCT:12” (DC TRG. 1 ON) TRG. 2 OFF “DCT:21” (DC TRG.2 OFF )
TRG. 2 ON “DCT:22” (DC TRG.2 ON )
OFF “FKL:1” ON “FKL:2”
“SLP:010~120” ( ON ),
“SLP:000” (OFF)
“MNU:1”, (Not on Menu)
“MNU:2” (On Menu )
ACK
“DCT:ab”
( a,b, = 1:OFF, 2:ON),
a = TRG.1, b = TRG.2,
eg.) “DCT:11” (all OFF),
“DCT:21” (TRG.1 ON),
“DCT:12” (TRG.2 ON)
“DCT:22” (all ON)
“FKL:1” ( OFF ),
FKL:2” (ON)
Company Restricted
Loading...
+ 22 hidden pages