Text preview for : Serial Interface DN-C635.pdf part of DENON Serial Interface DN-C635 DENON CD Player CD Player Denon - DN-C635 Serial Interface DN-C635.pdf



Back to : Serial Interface DN-C635. | Home

Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 1 page of 39




Specification

for

Serial Interface DN-C635




Denon, Ltd.
Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 2 page of 39



Histories
Rev. Date Name Description

1.0 Jan.,28,'03 J.Watanabe
Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 3 page of 39




Contents
1 Serial communication interface ---------------------------------------------------------------------------- 4
1.1 Physical interface ------------------------------------------------------------------------------------------- 4
1.2 Transfer format of serial data --------------------------------------------------------------------------- 5
2 Command format and answer format -------------------------------------------------------------------- 6
2.1 Protocol for data transmission and reception ---------------------------------------------------- 7
Basic procedure ------------------------------------------------------------------------------------------------------------------------------------ 7

Communication errors ---------------------------------------------------------------------------------------------------------------------------- 7

2.2 Command / Answer sequence ------------------------------------------------------------------------- 8
2.3 List of command codes ----------------------------------------------------------------------------------- 9
2.4 List of answer codes ------------------------------------------------------------------------------------- 10
2.5 Status List ---------------------------------------------------------------------------------------------------- 10
2.6 Command specification --------------------------------------------------------------------------------- 11
2.6.1 RESET command ------------------------------------------------------------------------------------------------------------------------ 11

2.6.2 SLEEP command ------------------------------------------------------------------------------------------------------------------------ 12

2.6.3 REQUEST CD PLAY STATUS command --------------------------------------------------------------------------------------- 13

2.6.4 REQUEST FIRMWARE REVISION command --------------------------------------------------------------------------------- 15

2.6.5 REQUEST ERROR CODE command --------------------------------------------------------------------------------------------- 16

2.6.6 REQUEST MACHINE ID command ------------------------------------------------------------------------------------------------ 17

2.6.7 REQUEST CD TOC command ------------------------------------------------------------------------------------------------------ 18

2.6.8 REQUEST TEXT DATA command ------------------------------------------------------------------------------------------------- 19

2.6.9 Request Display Status command --------------------------------------------------------------------------------------------------- 21

2.6.10 Request Program Table command ------------------------------------------------------------------------------------------------ 22

2.6.11 PLAY command ------------------------------------------------------------------------------------------------------------------------- 24

2.6.12 STOP command ------------------------------------------------------------------------------------------------------------------------ 25

2.6.13 CD PAUSE command ----------------------------------------------------------------------------------------------------------------- 26

2.6.14 Skip command --------------------------------------------------------------------------------------------------------------------------- 27

2.6.15 SEARCH command -------------------------------------------------------------------------------------------------------------------- 28

2.6.16 Open / Close Command -------------------------------------------------------------------------------------------------------------- 29

2.6.17 Cue command --------------------------------------------------------------------------------------------------------------------------- 30

2.6.18 Program / Direct command ---------------------------------------------------------------------------------------------------------- 31

2.6.19 Track Num Entry command --------------------------------------------------------------------------------------------------------- 32

2.6.20 A-B command --------------------------------------------------------------------------------------------------------------------------- 33

2.6.21 Pitch command ------------------------------------------------------------------------------------------------------------------------- 34

2.6.22 Pitch Set command -------------------------------------------------------------------------------------------------------------------- 35

2.6.23 Time command ------------------------------------------------------------------------------------------------------------------------- 36

2.6.24 Title command -------------------------------------------------------------------------------------------------------------------------- 37

2.6.25 Repeat command ---------------------------------------------------------------------------------------------------------------------- 38

2.6.26 Play Mode command ----------------------------------------------------------------------------------------------------------------- 39
Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 4 page of 39




1 Serial communication interface


1.1 Physical interface
a) DN-C635 has pin Dsub female connector for serial interface.
b) Table 1 indicates pin assignment of connector signals. RS-232C and RS-422A can be selected with
software switch on DN-C635.


RS-232C RS-422A
Terminal # Signal I/O Signal I/O
1 NC - NC -
2 TxD O TxD- O
3 RxD I RxD I
4 NC - NC -
5 S.GROUND - S.GROUND -
6 NC - NC -
7 NC - TXD O
8 NC - RXD- I
9 NC - NC -
Table 1. Pin Assignment


c) Figure 1 indicates diagram of RS232C and RS422A.


RS-232C RS-422A


TXD+
TXD
TXD-
CPU CPU RXD+
RXD
RXD-

Figure 1. Serial Driver/Receiver
Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 5 page of 39




1.2 Transfer format of serial data
- Interface RS-232C RS-422A selectable
- Communication system Half-duplex communication
- Data transfer mode Start stop synchronization
- Transfer rate 9,600bps
- Start bit ( ST ) 1 bit
- Data bit ( b0-b7 ) 8 bits
- Parity ( P ) Even number
- Stop bit ( SP ) 1 bit
- Transfer data ASCII code
- Control characters STX (0x02)
ETX (0x03)
NAK (15h)
ACK (06h)


ST b0 b1 b2 b3 b4 b5 b6 b7 P ST




11/9600 sec



Figure 2. Command Data Array
Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 6 page of 39




2 Command format and answer format
The DN-C635 uses commands each of which consists of a data row (some commands no need PC)
composed of command codes (CC) and parameter codes (PC). The host shall be designed to send block
check characters (BCC) following ETX, with the data row enclosed in STX (text start: 0x02) and ETX (text
termination: 0x03). The DN-C635 shall complete command receive with correct BCC codes.


Here are the formats.
Commands <...........>
STX (Start of TeXt) 0x02

CC (Command Code) Command code

PC (Parameter Code) Numbers of parameters are defined for each command.

ETX (End of TeXt) 0x03

BCC (Block Check Character) CC + PC0 + PC1 + PC2 + + PCn + ETX = XY (hex)

Each of X and Y is 4 bit long, X, Y=0,1,2,3,4,5,6,7,8,9,A, B, C, D, E, F

BCCH is an ASCII code converted from X (higher 4 bits of sum) and BCCL is converted from Y (lower 4 bit

of sum).

BCCH and BCCL are ASCII coded data.



Answers <>
STX (Start of TeXt) 0x02

RC (Reply Code) Reply code (=Command code)

AC (Answer Code) Answer code

PC (Parameter Code) Numbers of parameters are defined for each command.

ETX (End of TeXt) 0x03

BCC (Block Check Character) RC+AC + PC0 + PC1 + PC2 + + PCn + ETX = XY (hex)

Each of X and Y is 4 bit long, X, Y=0,1,2,3,4,5,6,7,8,9,A, B, C, D, E, F

BCCH is an ASCII code converted from X (higher 4 bits of sum) and BCCL is converted from Y (lower 4 bit

of sum).

BCCH and BCCL are ASCII coded data.



For BCC;
1) Add from command through STX.
2) Take two lowest digits in BCC sum. ("tens" & "ones" place)
3) Convert tens & ones place numbers in to hex.
Examples: BCC=337 BCCH=33, BCCL=37 (discard hundredths place 3)
BCC=107 BCCH=30, BCCL=37 (discard hundredths place 1)
BCC= 45 BCCH=34, BCCL=35 (convert directly)
BCC= AC BCCH=41, BCCL=43 (convert directly)
Revision1.0 DN-C635 Serial Interface Specification
Date 2003-01-28 7 page of 39




2.1 Protocol for data transmission and reception


This device's serial protocol is based on half-duplex communication. Therefore the host shall
transmit commands and receive answers according to the following procedure.


Basic procedure

1) The host selects a prefer command and transmit codes to device. The host shall not send each byte
within 40