《Marantz-ST7001-rs232c-cs 电路图 维修手册.pdf》由会员分享,可在线阅读,更多相关《Marantz-ST7001-rs232c-cs 电路图 维修手册.pdf(14页珍藏版)》请在收音机爱好者资料库上搜索。
1、 ST7001 RS232C Control Specification: Rev.1.01 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. Marantz RS232C Control Specification for ST7001 Ca
2、tegory : Stereo Tuner Document Version : 1.01 Date : 2006/08/10 Number of Page : 14 RadioFans.CN 收音机爱 好者资料库 RS232C Control Specification RS232C Control Specification Page: 2 / 14 Document Version 1.01 Company Restricted Table of Contents 1. Global Description.3 1-1. Overview.3 1-2. Block Diagram.3 1
3、-3. Interface connection specification of the product.3 1-4. Assumptions and Dependencies.3 2. Detailed Description.4 2-1. Connection format.4 2-1-1. Physical connection.4 2-1-1-1. Data transmission sequence from Host to Slave.4 2-1-1-2. Data transmission sequence from Slave to Host.4 2-2. Transmiss
4、ion data format.5 2-2-1. Transmission data format from Host to Slave.5 2-2-1-1. Form1: Command.5 2-2-1-2. Form2: Status request.5 2-2-2. Transmission data format from Slave to Host.5 2-2-2-1. Form1: ACK/NAK.5 2-2-2-2. Form2: Status answer and Auto status feedback.5 2-3. The transaction sequences and
5、 the regulations.6 2-3-1. The transaction sequences.6 2-3-2. The transaction regulations.6 2-3-3. Specification of Auto status feedback.6 2-3-4. Example of the transactions.6 2-3-5. Examples of the handshaking flowchart.7 2-3-5-1. Example of successful handshaking.7 2-3-5-2. Examples of handshaking
6、error.7 3. Recommendations of Command, Status and Layer definition.8 4. Definitions of Command, Status and Layer.9 4-1. Commands.9 4-1-1. Normal Command list.9 4-2. Status request and Status answer list.12 4-2-1. Normal Status request and Status (answer and feedback) list.12 4-2-2. Special Status re
7、quest and Status answer list.13 4-2-3. Layer of the statuses.14 5. Revision history.14 RadioFans.CN 收音机爱 好者资料库 RS232C Control Specification RS232C Control Specification Page: 3 / 14 Document Version 1.01 Company Restricted 1. Global Description 1-1. Overview A Host controller can control or watch ou
8、t the product as a Slave very easily via the communication cable. 1-2. Block Diagram * The product has D-SUB 9pin male connector. * RS232C cable has to be the Straight type. 1-3. Interface connection specification of the product uP Interface Signal name Connection device D-Sub Pin Connecter - N.C. -
9、 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) 1-4. Assumptions and Dependencies HOST (Controller) SLAVE (The product) RS232C cable (straight) Connector D-SUB (9pin, male) RadioFans.CN 收音机爱 好者
10、资料库 RS232C Control Specification RS232C Control Specification Page: 4 / 14 Document Version 1.01 Company Restricted 2. Detailed Description The interface specification between the product and a Host controller is described below. 2-1. Connection format 2-1-1. Physical connection Host (Controller) Sl
11、ave (the product) (Serial setting ) Baud Rate : 9600bps Data Bits : 8bit Parity : None Stop bit : 1bit Handshaking : None 2-1-1-1. Data transmission sequence from Host to Slave Host (Controller) Slave (The product) TxD RxD RxD TxD 1. Host starts a data transmission from TxD. 2. Host performs the dat
12、a transmission of the number of required bytes, and ends a transmission. 2-1-1-2. Data transmission sequence from Slave to Host 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,
13、 and ends a transmission. TxD RxD GND RxD TxD GND RS232C Control Specification RS232C Control Specification Page: 5 / 14 Document Version 1.01 Company Restricted 2-2. Transmission data format 2-2-1. Transmission data format from Host to Slave There are two kinds of transmission data form from Host s
14、hown below. 2-2-1-1. Form1: Command Command is a data that requests some status change. Start character : COMMAND : see “Command list” End character (CR) : 0Dh 2-2-1-2. Form2: Status request Status request is a data that requests an answer of some status. Start character : Request status : see “Stat
15、us request list” Request character : ? End character (CR) : 0Dh 2-2-2. Transmission data format from Slave to Host There are two kinds of transmission data form from Slave shown below. 2-2-2-1. Form1: ACK/NAK ACK is a reply data from Slave when Slave got an acceptable command data from Host. (ACK is
16、 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 other data from Host. Start character : , NAK : 15h, End character (CR) : 0Dh 2
17、-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 sent to Host data when a Slaves status is changed. Start character : Answer character : see “Status list” End character
18、 (CR) : 0Dh A ACK 06h CR 0Dh start A NAK 15h CR 0Dh start Start Command “xxx:”+”.” End 0Dh Start Request status “xxx:?”+”.” End 0Dh Start Status “xxx:”+”.” End 0Dh RS232C Control Specification RS232C Control Specification Page: 6 / 14 Document Version 1.01 Company Restricted 2-3. The transaction seq
19、uences and the regulations 2-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 NA
20、K. *A transaction is Auto status feedback from Slave when a Slaves status changed. (If the auto status feedback is enabled.) 2-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 whe
21、n 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 ha
22、s to finish a transaction under 500ms when it sends Auto status feedback data. 2-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
23、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 a
24、ll 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. 2-3-4. Example of the transactions TxD RxD RxD TxD Example of the transactions max. 0.5sec a transa
25、ction a transaction Command Status answer, ACK or NAK Status request Status answer max. 0.5sec RS232C Control Specification RS232C Control Specification Page: 7 / 14 Document Version 1.01 Company Restricted 2-3-5. Examples of the handshaking flowchart 2-3-5-1. Example of successful handshaking S LA
26、V EH O S T C o m m and a cce pta ble R e que st a cce pta ble C o m m and A C K S ta tus re qu est S ta tus an sw er R elate d S ta tus answ e r or A u to statu s fee db ack C h ang ed so m e statu s! The product can reply ACK instead of related status, if the product can not send the related status
27、 immediatly. 2-3-5-2. Examples of handshaking error S L A V EH O S T C o m m a n d in c o rre c t R e q u e s t in c o rre c t C o m m a n d N A K S ta tu s re q u e s t N A K RS232C Control Specification RS232C Control Specification Page: 8 / 14 Document Version 1.01 Company Restricted 3. Recommend
28、ations 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
29、 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 : 36 characters ) - It permits attaching 0 x0A character to a reply characters from the product. In thi
30、s 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. RS232C Control Specification RS232C Control Specification Page: 9 / 14 Document Version 1.01 Company Restricted 4. Definitions of Comma
31、nd, Status and Layer This section is told how to define “Command”, “Status” and “Layer” of this product. 4-1. Commands This chapter will show the commands of this product. 4-1-1. Normal Command list Command Reply from Slave TOGGLE “PWR:0” OFF “PWR:1” POWER ON “PWR:2” “PWR:1” (OFF), “PWR:2” (ON) TOGG
32、LE (work on same as RC) “BND:0” BAND 1 (FM) “BND:1” BAND 2 (AM) “BND:2” BAND 3 (DAB) “BND:3” BAND BAND 4 (XM) “BND:4” “BND:1”(FM), “BND:2”(AM), “BND:3”(DAB), “BND:4”(XM) VALUE “SLP:0 xxx” OFF “SLP:1” SLEEP ON (work on same as RC) “SLP:2” “SLP:xxx” xxx = 001 120 min xxx = 000(OFF) TOGGLE (work on sam
33、e as RC) “DIM:0” DIMMER OFF “DIM:1” DIMMER 1 “DIM:2” DIMMER DIMMER 2 “DIM:3” “DIM:1”, (DIMMER OFF) “DIM:2”, (DIMMER 1) “DIM:3”, (DIMMER 2) DISPLAY TOGGLE (work on same as RC) “DIP:0” “DIP:1” (Frequency), “DIP:2” (Reserved), “DIP:3” (RDS Station Name), “DIP:4” (RDS PS), “DIP:5” (RDS PTY), “DIP:6” (RD
34、S CT), “DIP:7” (DAB DLS), “DIP:8” (DAB Ensemble Name), “DIP:9” (DAB PTY), “DIP:A” (DAB Ch. and Freq.), “DIP:B” (DAB Time and Date), “DIP:C” (DAB Bit Error), “DIP:D” (XM Default), “DIP:E” (XM Category), “DIP:F” (XM Sig. Sattus), RS232C Control Specification RS232C Control Specification Page: 10 / 14 Document Version 1.01 Company Restricted Command Reply from Slave VALUE “TFQ:0 xxxxx“ (xxxxx = freq.) UP (work on same as RC) “TFQ:1“ DOWN (work on same as RC) “TFQ:2“ Auto-UP “TFQ