Marantz IS-201-RS-232C Control Specification

RS-232C Control Specification :
Rev 00
IS201
Category :
Document Version :
Accessory
1.0
Author(s) :
Date : 2006/08/30
Number of Page : 11
Marantz America, Inc.
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.
IS201 RS-232C Control Specification Page: 2 / 11
Document Version [1.0]
Table of Contents
Introduction............................................................................................................................................................ 3
1.
1-1. Purpose ............................................................................................................................................................ 3
1-2. Scope................................................................................................................................................................ 3
1-3. Abbreviations ...................................................................................................................................................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 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. 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 flowchart ................................................................................................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. Commands............................................................................................................................................................. 9
6. Revision history...................................................................................................................................................11
Company Restricted
IS201 RS-232C Control Specification Page: 3 / 11
Document Version [1.0]
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
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
HOST
(Controller)
- N.C. - 1
TxD (output) 2
RxD (input)
RS232C cable (straight)
RS232C
Level shift driver
3
SLAVE
(The product) Connector
D-SUB (9pin, male)
<The product connector> RS232C D-SUB (9pin,Male)
- N.C. - 4
-
- N.C. - 6
- N.C. - 7
- N.C. - 8
- N.C. - 9
GND
GND 5
2-4. Assumptions and Dependencies
Company Restricted
Stereo Mini Jack (Ø3.5mm)
3
5
2
IS201 RS-232C Control Specification Page: 4 / 11
Document Version [1.0]
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
IS201 RS-232C Control Specification Page: 5 / 11
Document Version [1.0]
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
‘@’
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
‘@’
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
@
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
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
‘@’
command
“xxx:”+”...”
request status
“xxx:?”+”...”
ACK
r
06h
NAK
r
15h
@
status
“xxx:”+”...”
end
0Dh
end
0Dh
CR
0Dh
CR
0Dh
end
0Dh
Company Restricted
IS201 RS-232C Control Specification Page: 6 / 11
Document Version [1.0]
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
a transaction a transaction
Example of the transactions
Status
request
max. 0.5sec
Status answer
Company Restricted
IS201 RS-232C Control Specification Page: 7 / 11
p
p
A
A
Document Version [1.0]
3-3-5. Examples of the handshaking flowchart
3-3-5-1. Example of successful handshaking
SLAVEHOST
Com m and
Status request
Com m and acce
Request acce
Changed som e status!
table
Related Status answer
or
Status answer
uto status
feedback
CK
table
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
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
IS201 RS-232C Control Specification Page: 8 / 11
Document Version [1.0]
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.
Company Restricted
IS201 RS-232C Control Specification Page: 9 / 11
Document Version [1.0]
5. Commands
POWER
AUDIO MUTE
PLAY MODE
GO TO TRACK
MENU
CURSOR
ENTER RANDOM
MODE
REPEAT MODE
DISPLAY MODE
Request
Commands
@ PWR:0
@ PWR:1
@ PWR2
@ PWR?
@ AMT:0
@ AMT:1
@ AMT2
@ PMD:1
@ PMD:2
@ PMD:3
@ PMD:?
@ GOT:0
@ GOT:1
@ MNU:0
@ CUR:1
@ CUR:2
@ ENT:0
@ RDM:0 @
@ RDM:1
@ RDM:2
@ RDM:4
@ RDM:? @
@ REP:0 @ REP:1 – REP:4
@ REP:1
@ REP:2
@ REP:4
@ REP:?
@ MOD:0
@ MOD:1
@ MOD:2
@ MOD:?
AST
Layer
@
1 @ PWR:1 1 @ PWR:2
@
@
1 @ AMT:1 1 @ AMT:2 1 @ PMD:1 orNAK 1 @ PMD:2 orNAK 1 @ PMD:3 orNAK
@ PMD:1 or 2 or 3
@ ACK
@ ACK
@ ACK
@
@
@ ACK
1 @ RDM:1
1 @ RDM:2
1 @ RDM:4
1 @ REP:1
1 @ REP:2
1 @ REP:4
@ REP:1 – REP:4
@
@ MOD:1 @ MOD:2
@
Reply from IS201 (status)
in OSD mode
PWR:1 or
PWR:2
PWR:1 or
PWR:2
AMT:1 or
AMT:2
CUR:text data
on cursor
CUR:text data
on cursor
RDM:1 –
RDM:4
RDM:1 –
RDM:4
MOD:1 or
MOD:2
MOD:1 or
MOD:2
Company Restricted
Display Mode
Notes
TOGGLE (same as RC)
OFF OFF Available Available
ON ON Available Available
OFF OFF Available Available
ON ON Available Available
STOP STOP Available Available
PAUSE PAUSE Available Available
PLAY PLAY Available Available
NEXT Available Available
PREV Available Available
MAX 18 digits UP Available Available
MAX 18 digits DOWN Available Available
OK, enter Available Available
Shuffle OFF Shuffle OFF
Shuffle SONG Shuffle Songs
Shuffle ALBUM
Repeat OFF Repeat OFF
Repeat TRACK Repeat Track
Repeat ALL Repeat All
OSD mode OSD mode Available Available
LCD mode LCD mode Available Available
Status Request
TOGGLE (same as RC)
Status Request
MENU or Return
TOGGLE (same as RC)
Shuffle Albums
Status Request
TOGGLE (same as RC)
Status Request
TOGGLE (same as RC)
Status Request
Available Available
Available Available
Available Available
Available Available
select shuffle play mode
select Repeat Play mode
Available Available
Available Available
LCD
Mode
Not
available
Available Available
Not
available
Not
available
Not
available
Not
available
Available Available
Not
available
Not
available
Not
available
Not
available
OSD
Mode
Available
Available
Available
Available
Available
Available
Available
Available
Available
IS201 RS-232C Control Specification Page: 10 / 11
Document Version [1.0]
PLAY LIST
ALBUM LIST
SORT ORDER
TRACK #
Database #
SONG TITLE
ARTIST NAME
ALBUM NAME
CONTENTS DATA
Request
Commands
@ PLL:1 @ ACK
@ PLL:2
@ ABL:1
@ ABL:2
@ SOS:0
@ SOS:1
@ SOS:2
@ SOS:3
@ SOS:5
@ SOS:7
@ SOS:8
@ SOS:?
@ IND:? 2 @ IND:xxxxxxxxxx
@ NDB:? 2 @ NDB:xxxxxxxxx
@ SON:? 2 @ SON:xxxx….X
@ ARN:? 2 @ ARN:xxxx….X
@ ALN:? 2 @ ALN :xxxx….X
@ CD1: @ CD1:xxxx….X
@ CD2:
@ CD3:
@ CD4:
@ CDR?
AST
Layer
@ ACK
@ ACK
@ ACK
@ SOS:0 Main menu Main MENU
@ SOS:1
@ SOS:2
@ SOS:3
@ SOS:5
@ SOS:7
@ SOS:8
@ SOS:0 – SOS:8
@ CD2:xxxx….X
@ CD3:xxxx….X
@ CD4:xxxx….X
@
Reply from IS201 (status)
in OSD mode
CD1:xxxx….X CD2:xxxx….X CD3:xxxx….X CD4:xxxx….X
Notes
Play List UP Available
Album List UP Available
Sort PLAY LIST
Sort ARTIST
Sort ALBUM
Sort SONG(Track)
Sort AudioBook
Sort PODCAST
Status back
Number of Playing Track
Number of database
MAX Song Title 18 diigits
MAX Artist Name 18 digits
MAX Alubum name 18 digits
MAX text = 18 digits
MAX text = 18 digits
MAX 10 digits
MAX 10 digits
If IS201 receives "CDR?", send the data of CD1, CD2, CD3, CD4
Play List DOWN
Album List DOWN
SORT PLAY LIST
SORT ARTIST
SORT ALBUM
SORT SONG(Track)
SORT AudioBook
SORT Podcast
Status Request
Max digits are 10 digits
Max digits are 10 digits
Not same as OSD limitation for text digit
Not same as OSD limitation for text digit
Not same as OSD limitation for text digit
Text data of selected Menu title
Text data of selected list title
Number of selected contents
Number of data base contents
Status Request
Available
Available
Display Mode
LCD
Mode
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
Not
available
OSD
Mode
Not
available
Not
available
Not
available
Not
available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Available
Company Restricted
IS201 RS-232C Control Specification Page: 11 / 11
Document Version [1.0]
Request
Commands
AST
Layer
Reply from IS201 (status)
in OSD mode
AST (Auto Status
@ AST:0 @ AST:0
Feedback)
@ AST:1
@ AST:1
(Default value = '0') It means
@ AST:2
@ AST:2
disable all.
Comunication
@ AST:3
@ AST:F
@ UHS:
@ AST:3
@ AST:F
status with iPod (Only IS201 send via
@ FHS:
RS232C )
@ NIP:
6. Revision history
Ver. Date Owner Change description
1.0 08/30/06 Marantz America, Inc. Issued Revision1.0
(same as commad define)
Display Mode
Notes
0=Disable all status feedback
1=Enable only Layer 1 status feedback
2=Enable only Layer 2 status feedback
3=Enable Layer 1 & 2 status feedback
F=Enable all Layer status feedback
Under 1st Hand Shaking with iPod
Finished 1st Hand Shaking with iPod
No iPod Connect
Available Available
Available Available
Available Available
LCD
Mode
Not
available
Not
available
Not
available
Not
available
Not
available
OSD
Mode
Available
Available
Available
Available
Available
Company Restricted
Loading...