Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 1 page of 39 Specification for Serial Interface DN-C635 Denon, Ltd.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 2 page of 39 Histories Rev. 1.0 Date Name Jan.,28,’03 J.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 3 page of 39 Contents 1 Serial communication interface ---------------------------------------------------------------------------- 4 1.1 Physical interface ------------------------------------------------------------------------------------------- 4 1.
Revision1.0 Date 2003-01-28 1 DN-C635 Serial Interface Specification 4 page of 39 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. Terminal # 1 2 3 4 5 6 7 8 9 RS-232C Signal NC TxD RxD NC S.GROUND NC NC NC NC I/O O I - RS-422A Signal NC TxDRxD NC S.GROUND NC TXD RXDNC I/O O I O I - Table 1.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 5 page of 39 1.
Revision1.0 Date 2003-01-28 2 DN-C635 Serial Interface Specification 6 page of 39 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.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 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µsec because the device cannot receive within 40µsec after previous byte.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 8 page of 39 2.2 Command / Answer sequence Figure 3 is examples of command and answer sequence for DN-T645/625. DEVICE HOST STX Command Transmission CC PC0 PC1 PC2 Min 40µsec Max 40msec PCn ETX BCC Check BCC Max 5 sec. STX RC AC PC0 PC1 PCn ETX Check BCC Next Command Transmission BCC STX CC PC0 Figure 3.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 9 page of 39 2.3 List of command codes No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Command Code (ASCII) Destination Syste CD m 0x20(‘SP’) X 0x21(‘!’) X PLAY 0x30(‘0’) X Reset Sleep Request CD Status Request Firmware Rev.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 10 page of 39 2.4 List of answer codes No. 1 2 3 4 5 6 Status Command OK Invalid Format Error None track requested None time requested Condition Error Code (ASCII) 0x20(SP) 0x30(‘0’) 0x31(‘1’) 0x32(‘2’) 0x33 (‘3’) 0x35 (‘5’) Description Received the command correctly. Received invalid command or parameter. Received inappropriate format command. Requested track does not exit. Requested time does not exit. Condition error occurs.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 11 page of 39 2.6 Command specification 2.6.1 RESET command This command resets the device. After RESET command the device will do some operations for reset and return Answer code. At last the device resets itself. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code(‘SP’) Reserve( 0x00 ) Reserve( 0x00 ) Reserve( 0x00 ) Reserve( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 5.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 12 page of 39 2.6.2 SLEEP command The SLEEP command forces the device to enter sleep mode. The device will stop all of operations, turns off displays and returns Answer code. To wake up, send Operation command (ex. Play, Pause, Stop…).
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 13 page of 39 2.6.3 REQUEST CD PLAY STATUS command Using this command, the host can get CD player information. The host shall send this command repeatedly to sense the CD player’s status.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 14 page of 39 Code 0x31(‘1’) 0x32(‘2’) 0x33(‘3’) 0x34(‘4’) 0x35(‘5’) 0x36(‘6’) 0x37(‘7’) Disc Type Reserved Reserved Reserved CD-DA MP3 UNKNOWN CD-Text Table 11. Disc type code Code 0x31(‘1’) 0x32(‘2’) 0x33(‘3’) Code 0x31(‘1’) 0x32(‘2’) 0x33(‘3’) 0x34(‘4’) 0x35(‘5’) 0x36(‘6’) Audio Format Reserved Reserved MPEG LPCM Reserved UNKNOWN Table 12. Audio format code Play mode Normal Program Random Table 14.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 15 page of 39 2.6.4 REQUEST FIRMWARE REVISION command This command requests the microprocessor firmware revision code. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX( 0x02 ) Command code (‘1’) Reserve( 0x00 ) Reserve( 0x00 ) Reserve( 0x00 ) Reserve( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 2 1 0 1 0 Table 17.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 16 page of 39 2.6.5 REQUEST ERROR CODE command With this command the host can get ERROR CODE from the device in case of something wrong.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 17 page of 39 2.6.6 REQUEST MACHINE ID command This command requests the machine ID.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 18 page of 39 2.6.7 REQUEST CD TOC command This command requests the device to send CD TOC data. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘7’) Reserve ( 0x00 ) Track number 100 digits (Table 36) Track number 10 digits (Table 36) Track number 1 digits (Table 36) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 Table 35.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 19 page of 39 2.6.8 REQUEST TEXT DATA command This command requests the device to send text data. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘8’) Data Type (Table 39) Track number 100 digits (Table 40) Track number 10 digits (Table 40) Track number 1 digits (Table 40) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 Table 38.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 20 page of 39 2) Answer format byte/bit 0 1 2 3 4 5 6 7-36 37 38 39 7 6 5 4 3 2 STX( 0x02 ) Reply code (‘8’) Answer code (Table 3) Data Type (Table 39) Track number 100 digits (Table 40) Track number 10 digits (Table 40) Track number 1 digits (Table 40) Text Data ( 30charactors ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) Table 41. Request Text Data answer 3) Special conditions • None.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 21 page of 39 2.6.9 Request Display Status command This command acquires the display condition of the display. 1) Command format Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX( 0x02 ) Command code (‘9’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 2 1 0 Table 42.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 22 page of 39 2.6.10 Request Program Table command This command acquires 10 occurrences of information that is registered to program with unit. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 STX( 0x02 ) Command code (‘;’) Program Table Num (‘0’ – ‘9’) (Table 47) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 0 Table 46.
Revision1.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 24 page of 39 2.6.11 PLAY command 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘@’) Mechanism select ( CD : ‘0’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 49.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 25 page of 39 2.6.12 STOP command This command stops playback. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘A’) Mechanism select ( CD : ‘0’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 51.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 26 page of 39 2.6.13 CD PAUSE command This command pause the CD. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX( 0x02 ) Command code (‘B’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 2 1 0 4 3 2 STX( 0x02 ) Reply code (‘B’) Answer code (Table 3) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 Table 53.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 27 page of 39 2.6.14 Skip command This command does the music search of the CD. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘C’) Skip code (Forward : ’+’, Reverse : ’-‘) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 55.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 28 page of 39 2.6.15 SEARCH command This command does the music search at designated speed in the CD playback. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘D’) Search Speed (Table 58) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 57.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 29 page of 39 2.6.16 Open / Close Command This command opens and closes the loader of the CD. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 STX( 0x02 ) Command code (‘E’) Open / Close Code(Close : ‘0’, Open : ‘1’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 0 Table 60.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 30 page of 39 2.6.17 Cue command This command transfers playback position in the queue point and Pause.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 31 page of 39 2.6.18 Program / Direct command This command Selects a program mode or a direct mode. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 0 STX( 0x02 ) Command code (‘G’) Program / Direct Code (Direct : ‘0’, Program : ‘1’, Program input : ‘2’, Program input end: ‘3’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) Table 64.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 32 page of 39 2.6.19 Track Num Entry command This command designates the truck that should program playback truck, in the case of program mode in the case of a direct mode. 1) Command format Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘H’) Reserve ( 0x00 ) Track number 100 digits Track number 10 digits Track number 1 digits ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 66.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 33 page of 39 2.6.20 A-B command This command designates A point, B point in an A-B point designated repeating function. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 STX( 0x02 ) Command code (‘L’) A-B Code(A-B OFF : ‘0’, A-set : ‘1’, B-Set : ‘2’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 0 Table 75.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 34 page of 39 2.6.21 Pitch command This command does pitch function On/off. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘N’) Pitch code (OFF : ‘0’, ON : ‘1’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 79.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 35 page of 39 2.6.22 Pitch Set command This command sets up the numerical value of pitch function. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX( 0x02 ) Command code (‘O’) Pitch symbol (‘+’,’-‘) Pitch 10 digits Pitch 1 digits Pitch 0.1 digits ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 2 1 0 4 3 2 STX( 0x02 ) Reply code (‘O’) Answer code (table 3) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 Table 81.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 36 page of 39 2.6.23 Time command This command changes Elapse/Remain/Total Remain time display. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 0 STX( 0x02 ) Command code (‘P’) Time Mode Code(Elapsed : ‘0’, Remain : ‘1’, Total Remain : ‘2’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) Table 83.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 37 page of 39 2.6.24 Title command This command changes display. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX( 0x02 ) Command code (‘Q’) Title code(Table 86) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 2 1 0 4 3 2 STX( 0x02 ) Reply code (‘Q’) Answer code (Table 3) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 Table 85.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 38 page of 39 2.6.25 Repeat command This command changes repeating function. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘R’) Repeat Code(OFF : ‘0’, ON : ‘1’) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 88.
Revision1.0 Date 2003-01-28 DN-C635 Serial Interface Specification 39 page of 39 2.6.26 Play Mode command This command changes playback function. 1) Command format byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX( 0x02 ) Command code (‘S’) Play Mode Code (Table 91) Reserve ( 0x00 ) Reserve ( 0x00 ) Reserve ( 0x00 ) ETX( 0x03 ) BCCH( high-level ) BCCL( low-level ) 1 0 1 0 Table 90. Play Mode command CODE Play Mode Code 0x30 (‘0’) Single 0x31 (‘1’) Continue Table 91.