《Marantz-SR9600XM-rs232c-cs 维修电路原理图.pdf》由会员分享,可在线阅读,更多相关《Marantz-SR9600XM-rs232c-cs 维修电路原理图.pdf(24页珍藏版)》请在收音机爱好者资料库上搜索。
1、 RS-232C Control Specification : Rev 00 Marantz America, Inc. 2006 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. SR9600XM RS-232C Control Specification Category : A/V Rec
2、eiver Document Version : 1.0 Author(s) : Marantz America, Inc. Date : 2006/08/18 Number of Page : 24 RadioFans.CN 收音机爱 好者资料库SR9600XM RS-232C Control Specification Page: 2 / 24 Document Version 1.0 Company Restricted Table of Contents 1. Introduction.3 1-1. Purpose.3 1-2. Scope.3 1-3. Abbreviations .
3、3 1-4. References.3 2. Global Description.3 2-1. Overview.3 2-2. Block Diagram.3 2-3. Interface connection specification of the product.3 2-4. Assumptions and Dependencies.3 3. Detailed Description.4 3-1. Connection format.4 3-1-1. Physical connection.4 3-1-1-1. Data transmission sequence from Host
4、to Slave.4 3-1-1-2. Data transmission sequence from Slave to Host.4 3-2. Transmission data format.5 3-2-1. Transmission data format from Host to Slave.5 3-2-1-1. Form1: Command.5 3-2-1-2. Form2: Status request.5 3-2-2. Transmission data format from Slave to Host.5 3-2-2-1. Form1: ACK/NAK.5 3-2-2-2.
5、Form2: Status answer and Auto status feedback.5 3-3. The transaction sequences and the regulations.6 3-3-1. The transaction sequences.6 3-3-2. The transaction regulations.6 3-3-3. Specification of Auto status feedback.6 3-3-4. Example of the transactions.6 3-3-5. Examples of the handshaking flowchar
6、t.7 3-3-5-1. Example of successful handshaking.7 3-3-5-2. Examples of handshaking error.7 4. Recommendations of Command, Status and Layer definition.8 5. Definitions of Command, Status and Layer.9 5-1. Commands.9 5-1-1. Normal Command list.9 5-1-2. Specific Commands.17 5-2. Status request and Status
7、 answer list.18 5-2-1. Normal Status request and Status (answer and feedback) list.18 5-2-2. Layer of the statuses.22 6. Revision history.24 RadioFans.CN 收音机爱 好者资料库SR9600XM RS-232C Control Specification Page: 3 / 24 Document Version 1.0 Company Restricted 1. Introduction 1-1. Purpose This document w
8、as 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 Specificat
9、ion ver. 1.02 / author: N.Sakamoto - 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 connec
10、t the products. 2-3. Interface connection specification of the product uP Interface Signal name Connection device D-Sub Pin Connecter - N.C. - 1 TxD (output) 2 UART RxD (input) RS232C Level shift driver 3 - N.C. - 4 - GND GND 5 - N.C. - 6 - N.C. - 7 - N.C. - 8 - N.C. - 9 RS232C D-SUB (9pin,Male) 2-4
11、. Assumptions and Dependencies HOST (Controller) SLAVE (The product) RS232C cable (straight) Connector D-SUB (9pin, male) SR9600XM RS-232C Control Specification Page: 4 / 24 Document Version 1.0 Company Restricted 3. Detailed Description The interface specification between the product and a Host con
12、troller is described below. 3-1. Connection format 3-1-1. Physical connection Host (Controller) Slave (the product) (Serial setting ) Baud Rate : 9600bps Data Bits : 8bit Parity : None Stop bit : 1bit Handshaking : None 3-1-1-1. Data transmission sequence from Host to Slave Host (Controller) Slave (
13、The product) 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. 3-1-1-2. Data transmission sequence from Slave to Host Host (Controller) Slave (The product) TxD RxD RxD TxD 1. Slave starts a da
14、ta transmission from TxD. 2. Slave performs the data transmission of the number of required bytes, and ends a transmission. TxD RxD GND RxD TxD GND SR9600XM RS-232C Control Specification Page: 5 / 24 Document Version 1.0 Company Restricted 3-2. Transmission data format 3-2-1. Transmission data forma
15、t 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 3-2-1-2. Form2: Status request Status request is a data that r
16、equests a answer of some status. Start character : Request status : see “Status request list” Request character : ? End character (CR) : 0Dh 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
17、 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 NAK is a reply data from Slave when Slave got an incorrect Command data, Status request data or some ot
18、her data from Host. Start character : , NAK : 15h, End character (CR) : 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 Slaves status is
19、changed. Start character : Answer character : see “Status list” End character (CR) : 0Dh AACK 06h CR 0Dh start ANAK 15h CR 0Dh start start command “xxx:”+”.” end 0Dh start request status “xxx:?”+”.” end 0Dh start status “xxx:”+”.” end 0Dh SR9600XM RS-232C Control Specification Page: 6 / 24 Document
20、Version 1.0 Company Restricted 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 H
21、ost then Slave will be an answer by Status answer or NAK. *A transaction is Auto status feedback from Slave when a Slaves 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 answe
22、r) 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 tra
23、nsmission 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,
24、 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 d
25、isable 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 TxD RxD R
26、xD TxD Example of the transactions max. 0.5sec a transaction a transaction Command Status answer , ACK or NAK Status request Status answer max. 0.5sec SR9600XM RS-232C Control Specification Page: 7 / 24 Document Version 1.0 Company Restricted 3-3-5. Examples of the handshaking flowchart 3-3-5-1. Exa
27、mple of successful handshaking S LA V EH O S TC o m m anda cce pta bleR e que sta cce pta bleC o m m andA C KS ta tusre qu estS ta tusan sw erR elate dS ta tus answ e rorA u to statu sfee db ackC h ang edso m e statu s! The product can reply ACK instead of related status, if the product can not send
28、 the related status immediatly. 3-3-5-2. Examples of handshaking error S L A V EH O S TC o m m a n din c o rre c tR e q u e s tin c o rre c tC o m m a n dN A KS ta tu sre q u e s tN A K SR9600XM RS-232C Control Specification Page: 8 / 24 Document Version 1.0 Company Restricted 4. Recommendations of
29、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
30、 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 : 36 characters ) - It permits attaching 0 x0A character to a reply characters from the product. In this case, mu
31、st suppose that the object is followed altogether. - Recommend to supports numbers or values direct setting command, if it has variable numbers or values. SR9600XM RS-232C Control Specification Page: 9 / 24 Document Version 1.0 Company Restricted 5. Definitions of Command, Status and Layer This sect
32、ion 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 TOGGLE “PWR:0” OFF “PWR:1” POWER ON “PWR:2” “PWR:1”, “PWR:2” TOGGLE “ATT:0” OFF “ATT:1” AUDIO ATT ON “ATT:
33、2” “ATT:0”, (None) “ATT:1”, (OFF) “ATT:2” (ON) TOGGLE “AMT:0” OFF “AMT:1” AUDIO MUTE ON “AMT:2” “AMT:1”, “AMT:2” TOGGLE “VMT:0” OFF “VMT:1” VIDEO MUTE ON “VMT:2” “VMT:1”, “VMT:2” VALUE “VOL:0 xxxy” UP “VOL:1” DOWN “VOL:2” UP-FAST “VOL:3” VOLUME DOWN-FAST “VOL:4” “VOL:xxxy” xxx = vol. value as +18-80
34、db, y = .0 or .5 db 00.0 = ”VOL: 000”, - = “VOL:-ZZZ” VALUE “TOB:0 xxx” UP “TOB:1” TONE BASS DOWN “TOB:2” “TOB:xxx” xxx = vol. value as +06 -06 VALUE “TOT:0 xxx” UP “TOT:1” TONE TREBLE DOWN “TOT:2” “TOT:xxx” xxx = vol. value as +06 -06 TV “SRC:1” DVD “SRC:2” VCR1 “SRC:3” VCR2 “SRC:4” DSS “SRC:5” LD
35、“SRC:6” AUX1 “SRC:9” AUX2 “SRC:A” CD “SRC:C” CD-R “SRC:D” TAPE “SRC:E” TUNER1 “SRC:F” FM1 “SRC:G” AM1 “SRC:H” TUNER2 / XM “SRC:J” FM2 “SRC:K” AM2 “SRC:L” SOURCE Select “SRC:va”, (v ,a= 0 Z) (v = video, a = audio.) v = 0 (V-OFF) a = N (7.1CH) TOGGLE “71C:0” OFF “71C:1” 7.1 Channel Input ON “71C:2” “7
36、1C:1”,(OFF) “71C:2”(ON) SR9600XM RS-232C Control Specification Page: 10 / 24 Document Version 1.0 Company Restricted Command Reply from Slave SPKR SEL “SPK:0” SPKR-A OFF “SPK:1” SPKR-A ON “SPK:2” SPKR-B OFF “SPK:3” SPEAKER Select SPKR-B ON “SPK:4” “SPK:ab”, a=SPK-A,b=SPK-B “SPK:11”(A-OFF,B-OFF), “SP
37、K:21”(A-ON,B-OFF), “SPK:12”(A-OFF,B-ON), “SPK:22”(A-ON,B-ON), Command Reply from Slave VALUE “SLP:0 xx” (xx=”00”90”) SLEEP OFF “SLP:1” “SLP:0190” ( ON ), “SLP:00” (OFF) TOGGLE “MNU:0” (work same as RC) OFF “MNU:1” ON “MNU:2” MENU ENTER “MNU:3” “MNU:1”, (Not on Menu) “MNU:2” (On Menu ) UP “CUR:1” DOW
38、N “CUR:2” LEFT “CUR:3” CURSOR RIGHT “CUR:4” ACK Command Reply from Slave 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 ) TRG. 3 OFF “DCT:31” (DC TRG.3 OFF ) TRG. 3 ON “DCT:32” (DC TRG.3 ON ) TRG. 4 OFF “DCT:4
39、1” (DC TRG.4 OFF ) DC TRG. TRG. 4 ON “DCT:42” (DC TRG.4 ON ) “DCT:abcd” ( a,b,c,d = 1:OFF, 2:ON), a = TRG.1, b = TRG.2, c = TRG. 3, d = TRG. 4 eg.) “DCT:1111” (all OFF),“DCT:2111” (TRG.1 ON),“DCT:1211” (TRG.2 ON)“DCT:2222” (all ON) SR9600XM RS-232C Control Specification Page: 11 / 24 Document Versio
40、n 1.0 Company Restricted Command Reply from Slave AUTO “SUR:00” STEREO “SUR:01” DOLBY “SUR:02” PL(x) MOVIE “SUR:03” - PL(x) MUSIC “SUR:05” - PL(x) GAME “SUR:07” - - - EX/ES “SUR:0A” DTS ES “SUR:0E” NEO6 CINEMA “SUR:0F” NEO6 MUSIC “SUR:0G” Multi Ch. STEREO “SUR:0H” CS CINEMA “SUR:0I CS MUSIC “SUR:0J”
41、 CS MONO “SUR:0K” VIRTUAL “SUR:0L” DTS “SUR:0M” - - DD+ PLx MOVIE “SUR:0O” DD+ PLx MUSIC “SUR:0P” - “SUR:0S” SOURCE DIRECT “SUR:0T” PURE DIRECT “SUR:0U” - “SUR:0X” - “SUR:0Y” NEXT “SUR:1” Surr. Mode PREV “SUR:2” see Surr. Mode Status Command Reply from Slave THX TOGGLE “THX:0” THX AUTO “THX:0” THX O
42、FF “THX:1” THX+DOLBY DIGITAL “THX:2” THX ON “THX:2” THX+PLx MOVIE “THX:3” THX EX “THX:3” THX+PL MOVIE “THX:4” THX ULTRA “THX:4” THX+EX/ES “THX:A” THX CINEMA “THX:5” THX EX+DD “THX:C” THX GAMES “THX:6” THX+DTS ES “THX:E” THX MUSIC “THX:7” THX+NEO6 CINEMA “THX:F” THX+DTS “THX:M” THX+DD+PLx “THX:O” THX
43、+AAC+PLx “THX:Q” THX+AAC “THX:S” THX EX+AAC “THX:V” THX +ULTRA2 “THX:Z” THX 5.1 “THX:a” THX MUSIC “THX:b” THX GAMES “THX:c” 2.0 THX GAMES “THX:d” THX CINEMA “THX:e” THX “SUR:x”(x = 0Z) SR9600XM RS-232C Control Specification Page: 12 / 24 Document Version 1.0 Company Restricted Command Reply from Sla
44、ve BYPASS “DHM:0” “DHM:1” “DHM:2” (+PL MOVIE) DH1 “DHM:3” (+PL MUSIC) “DHM:4” “DHM:5” (+PL MOVIE) DH2 “DHM:6” (+PL MUSIC) “DHM:7” “DHM:8” (+PL MOVIE) Dolby Headphone Mode DH3 “DHM:9” (+PL MUSIC) “DHM:x” x = Dolby Headphone mode Command Reply from Slave TOGGLE “NGT:0” OFF “NGT:1” NIGHT MODE ON “NGT:2
45、” “NGT:0”, (invalid) “NGT:1”, (OFF) “NGT:2” (ON) VALUE “LIP:0 xxx” (xxx = value ms) UP “LIP:1” (up 10ms) Lip Sync. DOWN “LIP:2” (down 10ms) “LIP:xxx”, (xxx = value ms) xxx = “000” (OFF) xxx = “010” “200” (ON) TOGGLE “TTO:0” OFF “TTO:1” ON “TTO:2” NEXT “TTO:3” Test Tone (Force start/stop Test Tone wi
46、th Auto mode) PREV “TTO:4” “TTO:1xy” (OFF), “TTO:2xy” (ON) (x= auto(0)/manual(1), y= ch.) Command Reply from Slave VALUE “TFQ:0 xxxxx“ (xxxxx = freq.) UP “TFQ:1“ DOWN “TFQ:2“ Auto-UP “TFQ:3“ Tuner1 Frequency Auto-DOWN “TFQ:4“ “TFQ:xxxxx” xxxxx02000 :xxx.xx kHz (AM) 01999xxxxx :xxx.xx MHz (FM) VALUE
47、“TPR:0ww” UP “TPR:1” DOWN “TPR:2” P-Scan start “TPR:3” Tuner1 Preset P-Scan stop “TPR:4” “TPR:ww” (ww = current preset nr.) (ww = 01 ?) TOGGLE “TMD:0” OFF(MONO) “TMD:1” Tuner1 mode ON(AUTO) “TMD:2” “TMD:0”( - ), “TMD:1” (MONO), “TMD:2” (AUTO) TOGGLE “TPI:0” OFF “TPI:1” Tuner Preset Info. ON “TPI:2”
48、“TPI:1” (OFF), “TPI:2” (ON) Tuner1 MEMO - “MEM:0” ACK Tuner1 CLEAR - “CLR:0” ACK SR9600XM RS-232C Control Specification Page: 13 / 24 Document Version 1.0 Company Restricted Command Reply from Slave TOGGLE “XDP:0” SONG “XDP:1” CATEGORY “XDP:2” STATUS “XDP:3” XM Display mode OSD “XDP:4” “XDP:1”(SONG)
49、 “XDP:2”(CATEGORY) “XDP:3”(STATUS) “XDP:4”(OSD) VALUE “CAT:0 xx” CH. UP “CAT:1” CH. DOWN “CAT:2” CAT. NEXT “CAT:3” XM Category Search CAT. PREV “CAT:4” “CAT:yxx” y = 1(un search), 2(in search) xx= Category No. 00(none), 01 to 32 Command Reply from Slave VALUE “TFQ*0 xxxxx“ (xxxxx = freq.) UP “TFQ*1“
50、 Tuner2 / XM Frequency DOWN “TFQ*2“ “TFQ*xxxxx” xxxxx00256 :ChNo.xxxxx (XM) VALUE “TPR*0ww” UP “TPR*1” DOWN “TPR*2” P-Scan start “TPR*3” Tuner2 / XM Preset P-Scan stop “TPR*4” “TPR*ww” (ww = current preset nr.) (ww = 01 ?) Tuner2 MEMO - “MEM*0” ACK Tuner2 CLEAR - “CLR*0” ACK SR9600XM RS-232C Control