Revision1.30
DCM390 Serial Interface Specification
Date 25.Apr.’06
21 page of 40
D&M
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
7
6
5
4
3
2
1
0
0 STX
(0x02)
1
Command code (‘5’)
2 Reserve
(0x00)
3
Track number 100 digits (Table 26)
4
Track number 10 digits (Table 26)
5
Track number 1 digits (Table 26)
6 ETX
(0x03)
7 BCCH
(high-level)
8 BCCL
(low-level)
Table 25. Request CD Data command
Track
number
Content
TOC data format
Remark
‘000’ Reserved
’0000000’
‘001’ Track
1
‘mmmssff’
| |
|
‘512’
Track
512
Track
99
512
‘mmm’
: minute
’ss’: second,
‘ff’: frame
‘0A0’
First track number
‘xxx0000’
‘xxx’
: first track number
‘0A1’
Last track number
‘xxx0000’
‘xxx’
: last track number
‘0A2’
Total time
‘mmmssff’
‘0A3’
Total track
‘xxx0000’
‘xxx’: total track number
‘0A4’
Total folder
‘xx00000’
‘xx’: total folder number
Table 26. Track number, TOC data
2) Answer format
Byte/bit
7
6
5
4
3
2
1
0
0 STX
(0x02)
1
Reply code (‘5’)
2
Answer code (Table 3)
3 Reserve
(0x00)
4
Track number 100 digits (Table 26)
5 Track
number 10 digits (Table 26)
6
Track number 1 digits (Table 26)
7
TOC data 0 (Minute 100 digits)
8
TOC data 1 (Minute 10 digits)
9
TOC data 2 (Minute 1 digits)
10
TOC data 3 (Second 10 digits)
11
TOC data 4 (Second 1 digits)
12
TOC data 5 (Frame 10 digits)
13
TOC data 6 (Frame 1 digits)
14 ETX
(0x03)
15 BCCH
(high-level)
16 BCCL
(low-level)
Table 27. Request CD Data answer