English
Language : 

W88113C Datasheet, PDF (93/102 Pages) Winbond – ATAPI CD-ROM DECODER & CONTROLLER
W88113C
disc format
CD-DA
yellow book Mode 1
yellow book Mode 2
CD-ROM XA M2F1
CD-ROM XA M2F2
SIEN
(0Bh.7)
1
1
1
1
1
SDEN
(0Bh.6)
0
1
1
1
1
DESCREN
(0Bh.5)
0
1
1
1
1
CWEN
(0Bh.4)
0
1
0
1
x
M2RQ
(0Bh.3)
0
0
0
1
1
F2RQ
(0Bh.2)
0
0
0
0
1
5.4.9 CD-DA data & Q-channel Extraction
There are no sync bytes in CD-DA format, so MSF bytes of Q-channel information can be utilized as
synchronization when reading CD-DA data. Q-channel extraction can be enabled by setting both
QEN (80h.w5) and SCEN (2Ch.w6) high. Once decoder and Q-channel extraction are both enabled,
the extracted Q-channel bytes are written into the DRAM starting from offset 9E0h of each block
regardless of what mode of data is set. The absolute MSF information can be retrieved from offset
9E7h, 9E8h and 9E9h of each block.
There is an alternative way to access MSF of Q-channel information. If control bit QMSF (80h.w4) is
set high, the corresponding MSF bytes in Q-channel information would be automatically loaded into
HEAD0-2 (04h-06h,r) when each byte is ready from DSP. Notice that the value in register HEAD3
(07h,r) and SUBH0-3 (14h-17h,r) are not available if QMSF (80h.w4) is set high.
If Q-channel extraction is enabled, device firmware can check flag QCRCOK (22h.r4) to see if there
is a CRC error in the latest Q-channel information.
<example> SMD1 format setting:
• BIAH/L (09h/08h) = 000Ch
• CTRLW (10h.w) = 30h
• SICTL1 (2Ch,w) = 55h (SMD1 mode)
• QEN (80h.w5) = 1 and QMSF (80h.w4) = 1
• SDBS (88h.w4) = 1 and SBCK (88h.w3) = 1
• CTRL1 (0Bh.w) = 80h
• CTRL0 (0Ah.w) = 84h
• SCIb (01h.r0)
• SUBSTA (22h.r)
Following the above setting, there is no need to set SICTL (21h.w), SCBH/L (27h/26h,w) and SCTC
(5Ah,w). In order to transfer the whole sector to host, 2352 bytes, the value in TWCH/L (03h/02h)
should be 0497h and the value in TACH/L (05h/04h) should be 0000h.
- 89 -
Publication Release Date: Mar. 1999
Revision 0.61