Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 1 page of 40 Specification For Serial Interface DCM-390 D&M Holdings Inc.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 2 page of 40 Contents Serial communication interface............................................................................................................. 3 1 1.1 Physical interface..................................................................................................................... 3 1.2 Transfer format of serial data ...............................................................................................
Revision1.40 Date 24.May.’07 1 DCM390 Serial Interface Specification 3 page of 40 Serial communication interface 1.1 Physical interface a) DCM280 has pin Dsub female connector for serial interface. b) Table 1 indicates pin assignment of connector signals. 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 - Table 1. Pin Assignment c) Figure 1 indicates diagram of RS232C and RS422A. RS-232C CPU TXD RXD Figure 1.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 4 page of 40 1.
Revision1.40 Date 24.May.’07 2 DCM390 Serial Interface Specification 5 page of 40 Command format and answer format The DCM380X 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 DCM380X shall complete command receive with correct BCC codes.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 6 page of 40 2.1 Protocol for data transmission and reception This unit is based on half-duplex communication. The unit shall therefore transmit commands and receive answers according to the following procedure. Basic procedure 1) The host shall select commands for this unit and transmit them to this unit. Command interval time is MIN 40µsec.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 7 page of 40 2.2 Command / Answer sequence Shown below are the command sequence and the answer sequence of this unit.
Revision1.40 Date 24.May.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 9 page of 40 3) When a command with an answer parameter is normally received by [unit] and an answer is abnormally received by [host].
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 10 page of 40 3) When a command with an answer parameter is normally received by [unit] and an answer is normally received with ETB [host].
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 11 page of 40 2.3 List of command codes Following table is command code list. 3Xh:Command related to the acquisition of player information (such as status and name) 4Xh~5Xh:Operation instruction command to the player No. Command Code(ASCII) Operation 1 Reset 0x20(‘SP’) Reset the device.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 12 page of 40 2.5 Status List Following table is a list of answer code types. 3Xh:Status of the entire system 4Xh:Status of each action No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 D&M Status Ready Not Ready Disc Loading Disc Loading Complete Tray Opening Tray Closing Carousel rotating Play Stop Pause No Disc CD Error Search Disc Read Error Stand-by Code Description (ASCII) 0x30 (‘0’) Device is ready to receive a command.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 13 page of 40 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 STX (0x02) Command code (‘SP’) Reserve (0x00) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 2 1 0 2 1 0 Table 5.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 14 page of 40 2.6.2REQUEST 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. 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 (‘0’) CD Time Code (Elapsed: ‘0’, Remain: ‘1’, Total Remain: ‘2’) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 0 Table7.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 15 page of 40 Code Disc Number 0x31(‘1’) 0x32(‘2’) 0x33(‘3’) 0x34(‘4’) 0x35(‘5’) Disc1 Disc2 Disc3 Disc4 Disc5 Table 9. Disc No.code Code 0x31(‘1’) 0x32(‘2’) 0x33(‘3’) 0x34(‘4’) 0x35(‘5’) 0x36(‘6’) 0x37(‘7’) Disc Type Reserved Reserved Reserved CD-DA CD-ROM Reserved Unknown Table 10. Disc type code Code 0x31(‘1’) 0x32(‘2’) 0x33(‘3’) 0x34(‘4’) 0x35(‘5’) 0x36(‘6’) Audio Format Reserved Reserved MP3 LPCM Reserved WMA Table 11.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 16 page of 40 2.6.3 REQUEST CPU Version command This command requests the microprocessor CPU firmware version 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 13. Request Firmware Revision command 2) Answer format Byte/bit 0 1 2 3 4 5 6 7 8 9 7 6 Table 14.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 17 page of 40 2.6.4 REQUEST ERROR CODE command With this command the host can get ERROR CODE from the device in case of something wrong. 1) Command format Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX (0x02) Command code (‘2’) Reserve (0x00) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 2 1 0 2 1 0 Table 15.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 18 page of 40 2.6.5 Request Disc status This obtains the information on the disk number reproduced now and each disk. Byte/bit 0 1 2 3 4 5 6 7 8 7 Byte/bit 0 1 2 3 4 5 6 7 8 9 10 11 7 6 5 4 3 STX (0x02h) Command code (‘ 3’) Reserve (0x00) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (03h) BCCH (high-level) BCCH (low-level) Table 18.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 19 page of 40 2.6.6 Request Program Table command This command acquires the 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 STX (0x02) Command code (‘4’) Program Table Num (‘0’ – ‘3’) (Table 23) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 1 0 1 0 Table 22.
Revision1.40 Date 24.May.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 21 page of 40 2.6.7 REQUEST CD TOC command This command requests the device to send CD TOC data and MP3/WMA file 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 (‘5’) Reserve (0x00) Track number 100 digits (Table 26) Track number 10 digits (Table 26) Track number 1 digits (Table 26) ETX (0x03) BCCH (high-level) BCCL (low-level) 1 0 Table 25.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 22 page of 40 3) Special conditions - Track number ‘0A0’,’0A1’,’0A2’,’0A3’ and ‘0A4’ have special meaning. Refer the Table 26.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 23 page of 40 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 (‘6’) Data Type (Table 29) Track number 100 digits (Table 30) Track number 10 digits (Table 30) Track number 1 digits (Table 30) ETX (0x03) BCCH (high-level) BCCL (low-level) 1 Table 28.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 24 page of 40 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 (‘6’) Answer code (Table 3) Data Type (Table 29) Track number 100 digits (Table 30) Track number 10 digits (Table 30) Track number 1 digits (Table 30) Text Data (30charactors) ETX (0x03) BCCH (high-level) BCCL (low-level) 1 Table 31.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 25 page of 40 2.6.9 PLAY command The device starts playback. (CD) 1) Command format Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX (0x02) Command code (‘@’) Reserve (0x00) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 2 1 0 2 1 0 Table 32.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 26 page of 40 2.6.8 STOP command This command stops playback, recording, fast forward and rewind. 1) Command format Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX (0x02) Command code (‘A’) Reserve (0x00) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 2 1 0 2 1 0 Table 34.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 27 page of 40 2.6.9 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 2 1 0 Table 36.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 28 page of 40 2.6.10 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 38.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 29 page of 40 2.6.11 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 41) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 1 0 1 0 Table 40.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 30 page of 40 2.6.12 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 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) 1 0 1 0 Table 43.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 31 page of 40 2.6.13 Program / Direct command This command selects a program mode or a direct mode. (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 (‘F’) Program / Direct Code (Direct: ‘0’, Program: ‘1’) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 0 Table 45.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 32 page of 40 2.6.14 Track Num Entry command This command designates the truck that should program playback truck, in the case of program mode or 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 (‘G’) 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 47.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 33 page of 40 2.6.15 RANDOM command This command does random function ON/OFF. (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 (‘H’) RANDOM Code (OFF: ‘0’, ON: ‘1’) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 1 0 1 0 Table 49.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 34 page of 40 2.6.16 A-B command This command designates a point, B point in an A-B point designated repeating function. (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 (‘I’) 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 51.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 35 page of 40 2.6.17 Time command This command changes Elapse/Remain/Total Remain time display. (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 (‘J’) Time Mode Code (Elapsed: ‘0’, Remain: ‘1’, Total Remain: ‘2’) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 0 Table 53.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 36 page of 40 2.6.18 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 1 STX (0x02) Command code (‘R’) Repeat Code (OFF: ‘0’, 1track: ‘1’,1disc:’2’,All disc:’3’) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCL (low-level) 0 Table 55.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 37 page of 40 2.6.19 Disc Select It changes to the selected disk. 1) Command format Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX (0x02) Command code (‘L’) Disc code(Table 58) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCH (low-level) 2 1 0 2 1 0 Table 57. Disc Select command Code 31h (1) 32h (2) 33h (3) 34h (4) 35h (5) Select Disc Disc1 Disc2 Disc3 Disc4 Disc5 Table 58.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 38 page of 40 2.6.20 Disc skip command It changes to the following disk (for DVD changer). Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 STX (0x02) Command code (‘M’) Skip code (Forward: ’+’, Reverse: ’-‘) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCH (low-level) 1 0 1 0 Table 60.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 39 page of 40 2.6. 21 Power ON command This command releases the “Stand-by” status. After “Power ON” 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 STX (0x02) Command code (‘N’) Reserve (0x00) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCH (low-level) 2 1 0 2 1 0 Table 61.
Revision1.40 Date 24.May.’07 DCM390 Serial Interface Specification 40 page of 40 2.6. 21 Power OFF This command changes to the “Stand-by” status. It turns off the display and stops servo rotation. 1) Command format Byte/bit 0 1 2 3 4 5 6 7 8 7 6 5 4 3 STX (0x02) Command code (‘O’) Reserve (0x00) Reserve (0x00) Reserve (0x00) Reserve (0x00) ETX (0x03) BCCH (high-level) BCCH (low-level) 2 1 0 2 1 0 Table 63.