CXD1198AQ [SONY]

CD-ROM Subcode Decoder; CD -ROM解码器的子码
CXD1198AQ
型号: CXD1198AQ
厂家: SONY CORPORATION    SONY CORPORATION
描述:

CD-ROM Subcode Decoder
CD -ROM解码器的子码

解码器 CD
文件: 总51页 (文件大小:424K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
CXD1198AQ  
CD-ROM Subcode Decoder  
For the availability of this product, please contact the sales office.  
Description  
100 pin QFP (Plastic)  
The CXD1198AQ is a CD-ROM subcode decoder  
LSI.  
Features  
Real time error correction of subcodes  
Connection possible with DRAM up to 1 MB as  
buffer memory  
Automatic generation of sync patterns  
Error pointer buffering function (separated mode,  
Absolute Maximum Ratings (Ta=25 °C)  
mixed mode)  
Supply voltage  
Input voltage  
Output voltage  
VCC  
–0.5 to +7.0  
V
V
4 MB/s maximum rate for transferring data with  
VI –0.5 to VDD +0.5  
VO –0.5 to VDD +0.5  
SCSI control LSI  
V
Operating temperature Topr  
–20 to +75  
°C  
°C  
Applications  
Storage temperature Tstg –55 to +150  
CD-ROM drives  
Recommended Operating Conditions  
Structure  
Supply voltage  
VDD  
5.0±0.5  
V
Silicon gate CMOS IC  
Operating temperature Topr  
–20 to +75  
°C  
Sony reserves the right to change products and specifications without prior notice. This information does not convey any license by  
any implication or otherwise under any patents or other right. Application circuits shown, if any, are typical examples illustrating the  
operation of the devices. Sony cannot assume responsibility for any problems arising out of the use of these circuits.  
—1—  
E92632A78-TE  
CXD1198AQ  
Block Diagram  
18-25  
27  
31-39,41  
30  
26  
DMA  
Refresh  
Control  
DMA Controller  
(priority resolver, sequencer)  
52  
71  
HMDS  
HINT  
H
O
S
T
Drive  
DMA  
Control  
81  
88  
D
r
DDB0-7  
DDBP  
72 HINP  
i
v
e
I
n
t
e
r
f
a
c
e
Pointer  
DMA  
Control  
HOST  
DMA  
Control  
55  
Pointer  
S/P  
HBD0-7  
80  
62  
I
n
t
e
r
f
a
c
e
XDAC 75  
XHAC/  
SDRQ  
HDRQ/  
XSAC  
67  
66  
64  
63  
68  
DDRQ  
XDWR  
XDRD  
XDCA  
76  
89  
91  
92  
Sync.  
Pattern  
C
o
n
t
r
o
l
XHWR  
XHRD  
XHCS  
C
o
n
t
r
o
l
FIFO  
(10bytes x 2)  
93  
94  
DA0,1  
XDRS  
69  
70  
HA0,1  
77  
XSRS  
XHRS  
50  
51  
Error  
Corrector  
45  
44  
43  
42  
WFCK  
SCOR  
SBSO  
Subcode  
Interface  
Control  
Subcode  
DMA  
Control  
48  
HCLK  
S/P  
RAM  
1/2  
EXCK  
Internal  
Clock  
De-Interleave  
XTL2  
XTL1  
46  
47  
Reset  
Control  
CPU Interface, DMA Control  
95-100  
16  
13  
11 12  
1,2,5-10  
14  
17  
49  
—2—  
CXD1198AQ  
Pin Description  
Pin No.  
1
Symbol  
I/O  
I/O  
I/O  
Description  
DB0  
DB1  
CPU data bus  
CPU data bus  
Power supply (+5 V)  
GND  
2
3
VDD  
4
VSS  
5
DB2  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I
CPU data bus  
CPU data bus  
CPU data bus  
CPU data bus  
CPU data bus  
CPU data bus  
6
DB3  
7
DB4  
8
DB5  
9
DB6  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
DB7  
XRD  
XWR  
XCS  
XCRS  
VSS  
Register read strobe negative logic signal in this IC  
Register write strobe negative logic signal in this IC  
Chip select signal to this IC  
I
I
O
Reset negative logic signal to CPU  
GND  
INTP  
INT  
I
INT signal polarity control input signal  
Interrupt request signal to CPU  
Buffer memory data bus  
O
BDB0  
BDB1  
BDB2  
BDB3  
BDB4  
BDB5  
BDB6  
BDB7  
XWE  
XCAS  
VDD  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
O
Buffer memory data bus  
Buffer memory data bus  
Buffer memory data bus  
Buffer memory data bus  
Buffer memory data bus  
Buffer memory data bus  
Buffer memory data bus  
Strobe negative logic signal for writing in buffer memory  
O
Strobe negative logic signal for column address in buffer memory  
Power supply (+5 V)  
VSS  
GND  
XRAS  
BA0  
O
O
O
O
O
Strobe negative logic signal for row address in buffer memory  
Buffer memory address  
BA1  
Buffer memory address  
BA2  
Buffer memory address  
BA3  
Buffer memory address  
—3—  
CXD1198AQ  
Pin No.  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
60  
61  
62  
63  
64  
65  
Symbol  
BA4  
I/O  
O
Description  
Buffer memory address  
Buffer memory address  
Buffer memory address  
Buffer memory address  
Buffer memory address  
GND  
BA5  
O
BA6  
O
BA7  
O
BA8  
O
VSS  
BA9  
O
O
I
Buffer memory address  
EXCK  
SBSI  
SBSY  
WFCK  
XTL2  
XTL1  
HCLK  
XRST  
XSRS  
XHRS  
HMDS  
VDD  
Subcode data readout clock output signal to the CXD2500  
Subcode data input signal from the CXD2500  
Subcode frame sync input signal from the CXD2500  
Write frame clock input signal from the CXD2500  
Crystal oscillator circuit output  
Crystal oscillator circuit input  
Crystal 1/2 frequency-divided clock output  
Reset negative logic input signal  
SCSI bus reset negative logic input signal  
Reset negative logic output signal to host  
Host mode select input signal  
Power supply (+5 V)  
I
I
O
I
O
I
I
O
I
VSS  
GND  
HDB7  
HDB6  
HDB5  
HDB4  
HDB3  
HDB2  
HDB1  
HDB0  
XHRD  
XHWR  
VSS  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
Host data bus  
Host data bus  
Host data bus  
Host data bus  
Host data bus  
Host data bus  
Host data bus  
Host data bus  
Data read strobe signal from host or to SCSI control IC  
Data write strobe signal from host or to SCSI control IC  
GND  
HDRQ  
/XSAC  
XHAC  
/SDRQ  
Data request positive logic signal to host or DMA acknowledge negative  
logic signal to SCSI control IC  
66  
67  
O
I
DMA acknowledge negative logic signal from host or data request  
positive logic signal from SCSI control IC  
—4—  
CXD1198AQ  
Pin No.  
68  
69  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
80  
81  
82  
83  
84  
85  
86  
87  
88  
89  
90  
91  
Symbol  
XHCS  
HA0  
I/O  
I
Description  
Chip select input signal from host  
I
Host address signal  
HA1  
I
Host address signal  
HINT  
HINP  
NC1  
O
I
Interrupt request signal to host  
HINT signal polarity control input signal  
No connection; leave open.  
O
O
O
I
NC2  
No connection; leave open.  
XDAC  
DDRQ  
XDRS  
VDD  
DMA acknowledge negative logic signal to the CXD1186BQ  
Data request positive logic signal from the CXD1186BQ  
Reset negative logic signal to the CXD1186BQ  
Power supply (+5 V)  
O
VSS  
GND  
DDBP  
DDB7  
DDB6  
DDB5  
DDB4  
DDB3  
DDB2  
DDB1  
DDB0  
XDWR  
VSS  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
I/O  
O
Error pointer bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Data bus connected with the CXD1186BQ  
Host register write strobe negative logic signal to the CXD1186BQ  
GND  
XDRD  
O
O
Host register read strobe negative logic signal to the CXD1186BQ  
Chip select negative logic signal for host register read/write to the  
CXD1186BQ  
92  
XDCS  
93  
94  
95  
96  
97  
98  
99  
100  
DA1  
DA0  
A5  
O
O
I
Address signal to the CXD1186BQ  
Address signal to the CXD1186BQ  
CPU address signal  
A4  
I
CPU address signal  
A3  
I
CPU address signal  
A2  
I
CPU address signal  
A1  
I
CPU address signal  
A0  
I
CPU address signal  
—5—  
CXD1198AQ  
Electrical Characteristics  
DC characteristics  
(VDD=5.0±0.5 V, VSS=0 V, Topr=–20 to +75 °C)  
Item  
Symbol  
VIH1  
VIL1  
Conditions  
Min.  
2.2  
Typ.  
Max.  
Unit  
V
TTL input voltage  
High level  
Low level  
High level  
Low level  
0.8  
V
CMOS input voltage  
VIH2  
VIL2  
0.7VDD  
V
0.3VDD  
–240  
240  
V
Input current of pull-up input  
IIL  
VIL=0 V  
–40  
40  
–100  
100  
µA  
µA  
V
Input current of pull-down input  
IIH  
VIH=VDD  
CMOS Schmitt  
input voltage  
High level  
Vt+  
0.8VDD  
Low level  
Vt–  
0.2VDD  
V
Hysteresis  
Vt+–Vt–  
VOH1  
VOL1  
VOH2  
VOL2  
VIH3  
VIL3  
0.6  
V
Output voltage  
High level  
Low level  
High level  
Low level  
High level  
Low level  
IOH1=–2 mA  
IOL1=4 mA  
IOH2=–6 mA  
IOL2=4 mA  
VDD–0.8  
VDD–0.8  
0.7VDD  
V
0.4  
0.4  
V
Charge pump  
output voltage  
V
V
Oscillation cell Input  
voltage  
V
0.3VDD  
2.5 M  
VDD/2  
V
Logic threshold  
LVth  
RFB  
VDD/2  
1 M  
V
Feedback resistance  
VIN=VSS or VDD  
IOH3=–3 mA  
IOL3=3 mA  
250 k  
VDD/2  
V
Output  
voltage  
High level  
Low level  
VOH3  
VOL3  
V
CMOS input pins  
: DDRQ, SBSY, SBSI, A5 to 0, XWR, XRD, XCS, INTP  
CMOS Schmitt input pins : WFCK, XRST  
Pull-up input pins  
: XHCS, HA1, HA0  
: HMDS  
PUll-down input pin  
Charge pump output pins : HINT, BA9 to 0  
Oscillation cell input pin : XTL1  
Oscillation cell output pin : XTL2  
The characteristics for all other pins follow the TTL input and output voltage items. All bidirectional data buses  
are pulled up by standard 25 kresistance.  
Input/output capacitance  
VDD=VI=0 V, f=1 MHz  
Item  
Symbol  
CIN  
Min.  
Typ.  
Max.  
9
Unit  
pF  
Input pin  
Output pin  
I/O pin  
COUT  
CI/O  
11  
pF  
11  
pF  
—6—  
CXD1198AQ  
AC characteristics  
(Ta=–20 to +75 °C, VDD=5 V±10 %, output load=75 pF, f24 MHz)  
1. CPU interface  
(1) Read  
A0 to 5  
XCS  
tSRC  
tHRC  
tRRL  
XRD  
tSRA  
tHRA  
DB0 to 7  
tDRD  
tFRD  
Item  
Symbol  
tSRA  
Min.  
20  
0
Typ.  
Max.  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
Address setup time (vs. XRD)  
Chip select setup time (vs. XRD)  
Data delay time (vs. XRD)  
Data float time (vs. XRD)  
tSRC  
tDRD  
tFRD  
80  
10  
3
0
Chip select hold time (vs. XRD)  
Address hold time (vs. XRD)  
Low-level XRD pulse width  
tHRC  
tHRA  
0
tRRL  
100  
(2) Write  
A0 to 5  
XCS  
tSCW  
tHWC  
tWWL  
tHWA  
tHWD  
XWR  
tSAW  
DB0 to 7  
tSDW  
Item  
Symbol  
tSAW  
Min.  
20  
0
Typ.  
Max.  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
Address setup time (vs. XWR)  
Chip select setup time (vs. XWR)  
Data setup time (vs. XWR)  
Data hold time (vs. XWR)  
tSCW  
tSDW  
40  
10  
0
tHWD  
tHWC  
tHWA  
Chip select hold time (vs. XWR)  
Address hold time (vs. XWR)  
Low-level XWR pulse width  
0
tWWL  
50  
—7—  
CXD1198AQ  
2. DRAM interface  
(1) Read  
tRC  
tRAS  
XRAS  
tRCD  
tCAS  
tRAD  
tRAH  
XCAS  
tASR  
tASC tCAH  
BA0 to 9  
ROW  
COLUMN  
high  
XWE  
BB0 to 7  
tRDD  
tCDH  
(2) Write  
tRC  
tRAS  
XRAS  
tRCD  
tCAS  
XCAS  
tRAD  
tRAH  
tASR  
tASC tCAH  
BA0 to 9  
ROW  
COLUMN  
tWCS  
tWCH  
XWE  
tDS  
tDH  
BB0 to 7  
Item  
Symbol  
tRC  
Min.  
2TW+5  
TW+5  
Typ.  
4TW  
Max.  
Unit  
Random read/write cycle time  
RAS pulse width  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
tRAS  
tRCD  
tCAS  
tRAD  
tASR  
tRAH  
tASC  
tCAH  
tRDD  
tCDH  
tWCS  
tWCH  
tDS  
2TW+19  
RAS/CAS delay time  
TW  
CAS pulse width  
TW+19  
RAS/column address delay time  
Row address setup time  
Row address hold time  
Column address setup time  
Column address hold time  
Delay time from RAS  
TW/2+5  
10  
TW/2+17  
TW/2  
0
TW/2  
2TW  
Hold time from CAS  
0
Write command setup time  
Write command hold time  
Data output setup time  
Data output hold time  
10  
20  
10  
20  
tDH  
TW is 1/f here.  
—8—  
CXD1198AQ  
3. Host interface  
(1) Read  
HA0 to 5  
XHCS  
tSRC  
tHRC  
tRRL  
XHRD  
tSRA  
tHRA  
HDB0 to 7  
tDRD  
tFRD  
Item  
Symbol  
tSRA  
Min.  
20  
0
Typ.  
Max.  
70  
Unit  
Address setup time (vs. XHRD)  
Chip select setup time (vs. XHRD)  
Data delay time (vs. XHRD)  
Data float time (vs. XHRD)  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
tSRC  
tDRD  
tFRD  
2
0
Chip select hold time (vs. XHRD)  
Address hold time (vs. XHRD)  
Low-level XHRD pulse width  
tHRC  
tHRA  
0
tRRL  
100  
(2) Write  
HA0 to 5  
XHCS  
tSCW  
tHWC  
tWWL  
XHWR  
tHWA  
tHWD  
tSAW  
HDB0 to 7  
tSDW  
Item  
Symbol  
tSAW  
Min.  
20  
0
Typ.  
Max.  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
Address setup time (vs. XHWR)  
Chip select setup time (vs. XHWR)  
Data setup time (vs. XHWR)  
Data hold time (vs. XHWR)  
tSCW  
tSDW  
40  
10  
0
tHWD  
tHWC  
tHWA  
Chip select hold time (vs. XHWR)  
Address hold time (vs. XHWR)  
Low-level XHWR pulse width  
0
tWWL  
50  
—9—  
CXD1198AQ  
4. Host DMA cycle (80-series bus)  
(1) Read  
HDRQ  
tDAR1  
tDAR2  
XHAC  
tSAR  
tHRA  
tRRL  
XHRD  
tDRD  
tFRD  
HDB0 to 7  
Item  
Symbol  
Min.  
Typ.  
Max.  
Unit  
HDRQ fall time (vs. XHAC)  
HDRQ rise time (vs. XHAC)  
XHAC setup time (vs. XHRD)  
XHAC hold time (vs. XHRD)  
Low-level XHRD pulse width  
Data delay time (vs. XHRD)  
Data float time (vs. XHRD)  
tDAR1  
tDAR2  
tSAR  
tHRA  
tRRL  
35  
55  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
0
0
100  
tDRD  
tFRD  
70  
0
(2) Write  
HDRQ  
tDAR1  
tDAR2  
XHAC  
tSAW  
tHWA  
tWWL  
XHWR  
tSDW  
tHWD  
HDB0 to 7  
Item  
Symbol  
tDAR1  
tDAR2  
tSAW  
Min.  
Typ.  
Max.  
35  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
HDRQ fall time (vs. XHAC)  
HDRQ rise time (vs. XHAC)  
55  
XHAC setup time (vs. XHWR)  
XHAC hold time (vs. XHWR)  
Low-level XHWR pulse width  
Data setup time (vs. XHWR)  
Data float time (vs. XHWR)  
0
tHWA  
0
tWWL  
tSDW  
50  
40  
10  
tHWD  
—10—  
CXD1198AQ  
5. Host DMA cycle (SCSI bus)  
(1) Read  
SDRQ  
tDDA  
tDARS  
XSAC  
tDRA  
tDAR  
tRRL  
XHRD  
tSRD  
tHRD  
HDB0 to 7  
Item  
Symbol  
tDDA  
Min.  
Typ.  
Max.  
Unit  
XSAC fall time (vs. SDRQ)  
HDRQ cycle time (vs. XSAC)  
XHRD delay time (vs. XSAC)  
XSAC delay time (vs. XHRD)  
Low-level XHRD pulse width  
Data setup time (vs. XHRD)  
Data hold time (vs. XHRD)  
TW+31  
TW  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
tDARS  
tDAR  
0
tDRA  
23  
tRRL  
2TW  
tSRD  
15  
5
tHRD  
TW is 1/f here.  
(2) Write  
SDRQ  
tDDA  
tDARS  
XSAC  
tDWA  
tDAW  
tWWL  
XHWR  
tDWD  
tFWD  
HDB0 to 7  
Item  
Symbol  
tDDA  
Min.  
Typ.  
Max.  
TW+31  
TW  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
XSAC fall time (vs. SDRQ)  
SDRQ rise time (vs. XSAC)  
XHWR delay time (vs. XSAC)  
XSAC delay time (vs. XHWR)  
Low-level XHWR pulse width  
Data delay time (vs. XHWR)  
Data float time (vs. XHWR)  
tDARS  
tDAW  
0
tDWA  
24  
tWWL  
tDWD  
tFWD  
2TW  
38  
10  
TW is 1/f here.  
—11—  
CXD1198AQ  
6. Drive interface  
(1) Read  
A0 to 1  
XCS  
tSCR  
XRD  
tDAD  
DA0 to 1  
tDRR2  
tDRR1  
XDCS, XDRD  
tFRD  
DDB0 to 7  
DB0 to 7  
tDDD  
(2) Write  
XCS  
tSCW  
XWR  
tHWD  
DB0 to 1  
XDCS, XDWR  
DDB0 to 7  
tDWW2  
tDWW1  
tDDD2  
tFWD  
Item  
Symbol  
Min.  
0
Typ.  
Max.  
45  
Unit  
Drive address delay time (vs. A1 to 0)  
Chip select setup time (vs. XRD)  
Drive read signal delay time (vs. XRD)  
CPU data delay time (vs. DDB0 to 7)  
Drive read signal delay time (vs. XRD)  
Data float time (vs. XDRD)  
tDAD  
tSCR  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
tDRR1  
tDDD  
35  
70  
tDDR2  
tFRD  
27  
24  
0
0
Chip select setup time (vs. XWR)  
tSCW  
tDWW1  
tDDD2  
tHWD  
tDWW2  
tFWD  
Drive write signal delay time (vs. XWR)  
Data delay time (vs. DB0 to 7)  
Data hold time (vs. XWR)  
30  
70  
10  
Drive write signal delay time (vs. XWR)  
Data float time (vs. XWR)  
TW  
TW is 1/f here.  
—12—  
CXD1198AQ  
7. Drive DMA cycle  
(1) Read  
DDRQ  
tDDA  
tDAR  
tDARS  
XDAC  
tDRA  
tRRL  
XDRD  
tSRD  
tHRD  
DDB0 to 7  
Item  
Symbol  
tDDA  
Min.  
0
Typ.  
Max.  
Unit  
XDAC fall time (vs. DDRQ)  
DDRQ cycle time (vs. XDAC)  
XDRD delay time (vs. XDAC)  
XDAC delay time (vs. XDRD)  
Low-level XDRD pulse width  
Data setup time (vs. XDRD)  
Data hold time (vs. XDRD)  
TW+32  
TW  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
tDARS  
tDAR  
8
tDRA  
TW–5  
tRRL  
2TW+10  
tSRD  
25  
0
tHRD  
TW is 1/f here.  
(2) Write  
DDRQ  
tDDA  
tDAR  
XDAC  
tDWA  
tDAW  
tWWL  
XDWR  
tDDW  
tFWD  
DDB0 to 7  
Item  
Symbol  
tDDA  
Min.  
Typ.  
Max.  
TW+32  
TW  
Unit  
ns  
ns  
ns  
ns  
ns  
ns  
ns  
XDAC fall time (vs. DDRQ)  
DDRQ rise time (vs. XDAC)  
XDWR delay time (vs. XDAC)  
XDAC delay time (vs. XDWR)  
Low-level XDWR pulse width  
Data delay time (vs. XDWR)  
Data float time (vs. XDWR)  
tDARS  
tDAW  
5
tDWA  
TW  
tWWL  
tDDW  
tFWD  
2TW+5  
10  
2TW+18  
60  
TW is 1/f here.  
—13—  
CXD1198AQ  
Description of Functions  
1. Pin description  
1-1. Drive interface (16 pins)  
(1) DDB0 to 7 (Drive Data Bus : bidirectional)  
Data bus input/output signals connected with the CXD1186BQ; connected to the HDB0 to 7 pins of the  
CXD1186BQ.  
(2) DDBP (Drive Data Pointer : bidirectional)  
Error pointer input/output signal connected with the CXD1186BQ; connected to the HDBE pin of the  
CXD1186BQ.  
(3) XDCS (Drive Chip Select : negative logic output)  
Chip select negative logic output signal for reading/writing host interface registers of the CXD1186BQ;  
connected to the XHCS pin of the CXD1186BQ. The host interface registers of the CXD1186BQ are  
mapped in 20H to 23H within register address space (00H to 3FH) of this IC.  
(4) XDWR (Drive Write Strobe : negative logic output)  
Strobe negative logic output signal for writing data into host interface registers of the CXD1186BQ;  
connected to the XHWR pin of the CXD1186BQ.  
(5) XDRD (Drive Read Strobe : negative logic output)  
Strobe negative logic output signal for reading data into host interface registers of the CXD1186BQ;  
connected to the XHRD pin of the CXD1186BQ.  
(6) DA0, 1 (Drive Address : output)  
Address output signals to the CXD1186BQ; connected to the HA0 and 1 pins of the CXD1186BQ.  
(7) DDRQ (Drive DMA Request : positive logic input)  
DMA request input signal from the CXD1186BQ; connected to the HDRQ pin of the CXD1186BQ.  
(8) XDAC (Drive Acknowledge : negative logic output)  
DMA acknowledge negative logic output signal to the CXD1186BQ in response to DDRQ; connected to  
the XHAC pin of the CXD1186BQ.  
1-2. Host interface (18pins)  
(1) HDB0 to 7 (Host Data Bus : bidirectional)  
Data bus input/output signals connected with host or SCSI control LSI (CXD1185); connected to the D0 to  
7 pins for the SCSI control LSI (CXD1185).  
(2) HMDS (Host Mode Select : input)  
Input signal for selecting host mode. When connected with Intel 80-series CPU bus, set to low or open;  
when connected with the SCSI control LSI (CXD1185), set to high.  
—14—  
CXD1198AQ  
(3) HDRQ/XSAC (Host DMA Request/SCSI DMA Acknowledge : output)  
HMDS = low :  
HMDS = high :  
DMA request positive logic signal to host  
DMA acknowledge negative logic signal to SCSI control LSI (CXD1185)  
(4) XHAC/SDRQ (Host DMA Acknowledge/SCSI DMA Request : input)  
HMDS = low :  
HMDS = high :  
DMA acknowledge negative logic signal from host  
DMA request positive logic signal from SCSI control LSI (CXD1185)  
(5) XHWR (Host Write Strobe : negative logic input/output)  
HMDS = low :  
HMDS = high :  
Data write strobe negative logic input signal from host  
Data write strobe negative logic output signal to SCSI control LSI (CXD1185);  
connected to the /WED pin of SCSI control LSI (CXD1185)  
(6) XHRD (Host Read Strobe : negative logic input/output)  
HMDS = low :  
HMDS = high :  
Data read strobe negative logic input signal from host  
Data read strobe negative logic output signal to SCSI control LSI (CXD1185);  
connected to the /RED pin of SCSI control LSI (CXD1185)  
(7) XHCS (Host Chip Select : negative logic input)  
Pulled up by standard 50 kresistance in the IC.  
HMDS = low :  
HMDS = high :  
Chip select negative logic input signal of host  
Not used; set to high or open  
(8) HA0, 1 (Host Address : inputs)  
Pulled up by standard 50 kresistance in the IC.  
HMDS = low :  
HMDS = high :  
Address input signal from host  
Not used; set to high or open  
(9) HINT (Host Interrupt : output)  
Open drain output.  
HMDS = low:  
Interrupt request signal to host  
Not used  
HMDS = high :  
(10) HINP (Host Interrupt Polarity : input)  
Selects the polarity of the HINT signal; set to low when the HINT signal turns to Low active and high when  
it turns to High active.  
1-3. Buffer Memory Interface (21 pins)  
(1) BDB0 to 7 (Buffer Data Bus : input/output)  
Buffer memory data bus signals  
(2) BA0 to 9 (Buffer Address : output)  
Buffer memory address signals; the addresses are output to different pins depending on the setting value  
of Bits 2 and 3 (Buffer Memory Size) of the Configuration Register: to BA0 to 7 at 64 kB, to BA0 to 8 at  
256 kB and to BA0 to 9 at 1 MB.  
—15—  
CXD1198AQ  
(3) XRAS (Row Address Strobe : negative logic output)  
Strobe negative logic output signal for row address in dynamic RAM.  
(4) XCAS (Column Address Strobe : negative logic output)  
Strobe negative logic output signal for column address in dynamic RAM.  
(5) XWE (Write Enable : negative logic output)  
Strobe negative logic output signal for writing in dynamic RAM.  
(Note) Use a DRAM with an access time of 80 ns or less in this IC.  
1-4. Subcode Interface (4 pins)  
(1) WFCK (Write Frame Clock : input)  
Write frame clock input signal from the CXD2500; connected to the WFCK pin of the CXD2500.  
(2) SBSY (Subcode Sync : positive logic input)  
Subcode frame sync input signal from the CXD2500; connected to the SCOR pin of the CXD2500.  
(3) SBSI (Subcode Serial Input : input)  
Channel P-W subcode data input signal from the CXD2500; connected to the SBSO pin of the CXD2500.  
(4) EXCK (External Clock : output)  
Readout clock signal to the CXD2500 for reading channel P-W subcode data input to SBSI; connected to  
the EXCK pin of the CXD2500.  
1-5. CPU Interface (19 pins)  
(1) DB0 to 7 (CPU Data Bus : input/output)  
8-bit CPU data bus signals  
(2) A0 to 5 (CPU Address : input)  
Address input signals for selecting this IC internal register and the host interface registers of the  
CXD1186BQ from the CPU  
(3) XWR (CPU Write : negative logic input)  
Strobe negative logic input signal for the CPU to write data into this IC internal register and the host  
interface registers of the CXD1186BQ.  
(4) XRD (CPU Read : negative logic input)  
Strobe negative logic input signal for the CPU to read data from this IC internal register and the host  
interface registers of the CXD1186BQ.  
—16—  
CXD1198AQ  
(5) XCS (Chip Select : negative logic input)  
Chip select negative logic input signal for the CPU to read/write data with the register in this IC and the  
host interface registers of the CXD1186BQ.  
(6) INT (CPU Interrupt : output)  
Interrupt request signal to CPU  
(7) INTP (CPU Interrupt Polarity : input)  
Selects the polarity of the INT signal; set to low when the INT signal turns to Low active and high when it  
turns to High active.  
1-6. Clock Signals (3 pins)  
(1) XTL1 (X’tal1 : input)  
(2) XTL2 (X’tal2 : output)  
Inserts a crystal oscillator with a 24 MHZ oscillation frequency between the XTL1 and XTL2 pins.  
Alternatively, inputs a 24 MHZ clock signal to the XTL1 pin.  
(3) HCLK (Half Clock : output)  
Half frequency divided clock of XTL2.  
1-7. Reset Signals (5 pins)  
(1) XRST (Reset : negative logic input)  
Power on reset negative logic input signal  
(2) XSRS (SCSI Bus Reset : negative logic input)  
SCSI bus reset negative logic input signal  
(3) XCRS (CPU Reset : negative logic output)  
Reset negative logic output signal to the CPU; it is low in either of the cases below.  
1) XRST = Low  
2) XSRS = low  
(4) XHRS (SCSI Reset : negative logic output)  
Reset negative logic output signal to the SCSI LSI (CXD1185); it is low in any of the cases below.  
1) XRST = Low  
2) XSRS = low  
3) SCSI reset bit (Bit 2) of reset control register = high  
(5) XDRS (Drive Reset : negative logic output)  
Reset negative logic output signal to drive block; it is low either of the cases below.  
1) XRST = low  
2) Drive reset bit (Bit 1) of reset control register = high  
—17—  
CXD1198AQ  
2. Description of Register Functions  
2-1. Write Registers  
(1) Reset Control Register (00H)  
Bit 0 : BMM Reset  
When this bit is “1”, all the circuits in this IC except for this register and the HCLK frequency  
divider circuit are initialized. This bit is automatically set to “0” after the IC has been initialized.  
Bit 1 : Drive Reset  
When this bit is “1”, the XDRS pin is set to low (activated).  
Bit 2 : SCSI Reset  
When this bit is “1”, the XSRS pin is set to low (activated).  
Bit 3 : Reserved  
Bit 4 : Reserved  
Bit 5 : Reserved  
Bit 6 : Reserved  
Bit 7 : Reserved  
(2) DMA Control Register-1 (01H)  
Bit 0 : Drive DMA Enable  
DMA with the CXD1186BQ is enabled when “1” is written in this bit.  
Bit 1 : Drive DMA Source  
Selects the transfer direction of DMA with the CXD1186BQ : when “0”, data is transferred from  
the buffer memory to the CXD1186BQ and when “1”, from the CXD1186BQ to the buffer  
memory. This bit is valid only when Bits 0 is “1”.  
Bit 2 : Error Pointer Transfer Enable  
When this bit is “1”, the error pointers are written into the buffer memory together with the main  
channel data. This bit is valid only when Bits 0 and 1 are both “1”.  
Bit 3 : Error Pointer Transfer Mode  
Selects the format for writing the error pointers into the buffer memory. When “0”, all the error  
pointers starting from the address selected by the Pointer DMA Address Counter are written  
separately from the main channel data (separated mode). When “1”, 1 byte of the error pointer  
is written immediately after 8-byte of the main channel data (mixed mode). (The value of  
Pointer DMA Address Counter is ignored in this case.) This bit is valid only when Bits 0, 1 and  
2 are all “1”.  
Bit 4 : Sync Pattern Enable  
When this bit is “1” a 12-byte dummy sync pattern is written starting with the address selected  
by the Drive DMA Address Counter before the data is written from the CXD1186BQ into the  
buffer memory. (It is assumed in this case that the error pointer of the sync byte is “0”.) This  
bit is valid only when Bits 0 and 1 are both “1”.  
Bit 5 : Reserved  
Bit 6 : Reserved  
Bit 7 : Reserved  
—18—  
CXD1198AQ  
(3) DMA Control Register-2 (02H)  
Bit 0 : Host DMA Enable  
DMA with the host is enabled when “1” is written in this bit.  
Bit 1 : Host DMA Source  
Selects the transfer direction of DMA with the host : when “0”, from the buffer memory to the  
host; and when “1”, from the host to the buffer memory. This bit is valid only when Bit 0 is “1”.  
Bit 2 : CPU DMA Enable  
DMA with the CPU is enabled via the CPU DMA Data Register when “1” is written in this bit.  
Bit 3 : CPU DMA Source  
Selects the transfer direction of DMA with the CPU : when “0”, data is transferred from the  
buffer memory to the CPU DMA Data Register; and when “1”, from the CPU DMA Data  
Register to the buffer memory. This bit is valid only when Bit 2 is “1”.  
Bit 4: Subcode P-W Decode Enable  
Decoding of the channel P-W subcode from the CXD2500 is enabled when this bit is “1”.  
Subcodes are decoded inside this IC.  
Bit 5 : Subcode P-W DMA Enable  
The channel P-W subcodes decoded inside this IC can be written into the buffer memory when  
“1”. However, even when this bit is “1”, DMA will commence 3 sectors after Bit 4 has been set  
to “1”.  
Bit 6 : Subcode P-W ECC Enable  
When this bit is “1”, errors in the channel R-W subcodes are corrected. This bit is a valid only  
when Bit 4 is “1”.  
Bit 7 : Subcode P-W ECC Strategy  
When this bit is “1”, double correction is provided while the channel R-W subcodes are  
corrected. This bit is valid only when Bit 4 is “1”.  
(4) CPU DMA Data Register (03H)  
Data is written into this register when it is written from the CPU into the buffer memory.  
(5) Interrupt Mask Register (04H)  
When “1” is written in all the bits of this register and one or more of the interrupt causes corresponding to  
these bits (with “1” written) arise, the INT pin is activated. The values of Bits 0 to 5 of this register do not  
affect the values of the interrupt status register. Use Bit 6 (Sub Q Interrupt) as the enable register rather  
than mask register. When Bit 6 (Sub Q Interrupt) is “1” and a Sub Q interrupt arrives, the values of  
Interrupt Status Register are set to “1”.  
Bit 0 : Drive DMA Complete  
BIt 1 : Subcode P-W DMA Complete  
Bit 2 : Host DMA Complete  
Bit 3 : Host Chip Reset Issued  
BIt 4 : Host Command  
BIt 5 : Error Pointer DMA Complete  
Bit 6 : Sub Q Interrupt  
Bit 7 : Reserved  
—19—  
CXD1198AQ  
(6) Clear Interrupt Status Register (05H)  
When any of respective bits of this register is set to “1”, the corresponding interrupt status is cleared. The  
bit is automatically turns to “0” after the interrupt status have been cleared.  
Bit 0 : Drive DMA Complete  
Bit 1 : Subcode P-W DMA Complete  
Bit 2 : Host DMA Complete  
Bit 3 : Host Chip Reset Issued  
Bit 4 : Host Command  
Bit 5 : Error Pointer DMA Complete  
Bit 6 : Sub Q Interrupt  
Bit 7 : Reserved  
(7) Host Result Register (06H)  
This register is utilized to transfer the command execution result to the host when the HMDS pin is low. It  
consists of a 10-byte FIFO.  
(8) Host Interface Control Register (07H)  
Controls the host interface hardware when the HMDS pin is low. It has the same specifications as the  
host interface control register of the CXD1186BQ.  
Bit 0 : Host Interrupt #1  
This bit value becomes the value of HINTSTS#1 (bit 0) of the Status register on the host side.  
Bit 1 : Host Interrupt #2  
This bit value becomes the value of HINTSTS#2 (bit 1) of the Status register on the host side.  
Bit 2 : Host Interrupt #3  
This bit value becomes the value of HINTSTS#3 (bit 2) of the Status register on the host side.  
(Note) Once “1” has been written into Bits 0 to 2, the bits will keep at “1” until they are cleared from the  
host or the chip is reset. This register cannot be accessed from the CPU to set Bits 0 to 2 from  
“1” to “0”. Accordingly, to set any of these bits, it is not necessary to take into consideration the  
value of the other bits. Writing “1” into these bits is prohibited when the corresponding Host  
Interrupt Status #1 to #3 bits of the Host Interface Status Register are “1”. Therefore, before  
writing “1” into these bits, the CPU must read the Host Interface Status Register and confirm  
that the corresponding Host Interrupt Status #1 to #3 bits are “0”.  
Bit 3 : Reserved  
Bit 4 : Reserved  
Bit 5 : Reserved  
Bit 6 : Clear Result  
The host result register is cleared when “1” is written into this bit. This bit is automatically turns  
to “0” when the clearing of the host result register has been completed. There is therefore no  
need for the CPU to write “0” again.  
Bit 7 : Clear Busy  
The busy status bit of the host interrupt status register is cleared when “1” is written into this bit.  
This bit is automatically turns to “0” when the clearing of the busy status bit has been  
completed. There is therefore no need for the CPU to write “0” again.  
—20—  
CXD1198AQ  
(9) Drive DMA Address Counter Lower (08H)  
(10) Drive DMA Address Counter Middle (09H)  
(11) Drive DMA Address Counter Upper (0AH)  
These are 20-bit registers for setting the address from which to start the DMA transfer with the  
CXD1186BQ. Their values are incremented each time 1 byte has been transferred by DMA.  
(12) Drive DMA Transfer Counter Lower (0BH)  
(13) Drive DMA Transfer Counter Upper (0CH)  
These are 12-bit registers for setting the number of bytes to be transferred by DMA with the CXD1186BQ.  
Their values are decremented each time 1 byte has been transferred by DMA.  
(14) Error Pointer DMA Address Counter Lower (0DH)  
(15) Error Pointer DMA Address Counter Middle (0EH)  
(16) Error Pointer DMA Address Counter Upper (0FH)  
These are 20-bit registers for setting the address from which to start writing error pointers from the  
CXD1186BQ when Bit 3 (pointer transfer mode) of the DMA Control Register is “0”. Their values are  
incremented each time 8 bits (1 byte) have been transferred by DMA.  
(17) Subcode P-W DMA Address Counter Lower (10H)  
(18) Subcode P-W DMA Address Counter Middle (11H)  
(19) Subcode P-W DMA Address Counter Upper (12H)  
These are 20-bit registers for setting the address from which to start writing the channel P-W subcodes  
from the CXD2500. Their values are incremented each time 1 byte (1 symbol) has been transferred by  
DMA.  
(20) Host DMA Address Counter Lower (13H)  
(21) Host DMA Address Counter Middle (14H)  
(22) Host DMA Address Counter Upper (15H)  
These are 20-bit registers for setting the address from which to start the data transfer by DMA with the  
host. Their values are incremented each time 1 byte has been transferred by DMA.  
(23) Host DMA Transfer Counter Lower (16H)  
(24) Host DMA Transfer Counter Upper (17H)  
These are 16-bit registers for setting the number of bytes transferred by DMA with the host. Their values  
are decremented each time 1 byte has been transferred by DMA.  
—21—  
CXD1198AQ  
(25) CPU DMA Address Counter Lower (18H)  
(26) CPU DMA Address Counter Middle (19H)  
(27) CPU DMA Address Counter Upper (1AH)  
These are 20-bit registers for setting the address from which to start the data transfer by DMA with the  
CPU. Their values are incremented each time 1 byte has been transferred by DMA.  
(28) Configuration Register (1BH)  
Bit 0 : CDL 3 × Series  
This bit is set to “1” when connected to the CDL30 or 35 series LSI.  
Bit 1 : Packet Mode  
When this bit is “0”, transfers the decoded data in 4 packs to the DRAM for each subcode sync;  
when it is “1”, transfers the decoded data in 4 packs starting from the pack prior to the fifth pack  
to the DRAM for each subcode sync.  
Bit 2 : Buffer Memory Size 1  
Bit 3 : Buffer Memory Size 2  
Select the buffer memory size : 64 kB with (Bit 3, Bit 2) = (0, 0), 256 kB with (0, 1) and 1 MB  
with (1, x).  
Bit 4 : Error Pointer Write Data  
Sets the error pointer (DDBP) value when data is transferred by DMA from the buffer memory  
to the CXD1186BQ.  
Bit 5 : HCLK Disable Mode  
The HCLK output remains low when this bit is “1”. When “0”, a clock signal with half the  
frequency of XTL2 is output from the HCLK output.  
Bit 6 : Reserved  
Bit 7 : Reserved  
(29) Drive Command Register (20H)  
The command register for the host interface of the CXD1186BQ is mapped in the register address space  
of this IC.  
(30) Drive Parameter Register (21H)  
The parameter register for the host interface of the CXD1186BQ is mapped in the register address space  
of this IC.  
(31) Drive Write Data Register (22H)  
The write data register for the host interface of the CXD1186BQ is mapped in the register address space  
of this IC.  
(32) Drive Control Register (23H)  
The control register for the host interface of the CXD1186BQ is mapped in the register address space of  
this IC.  
—22—  
CXD1198AQ  
2-2. Read Registers  
(1) BMM Status Register (00H)  
Bit 0 : Reset Condition  
This bit is set to “1” when XSRS is low and “0” when XRST is low or when “1” is written into Bit  
0 (BMM Reset) of the Reset Control Register. It is used for determining whether the CPU  
which was reset externally was the SCSI bus or power-on.  
Bit 1 : CPU Buffer Read Ready  
This bit is set to “1” when the 1-byte data read from the buffer memory is provided in the CPU  
DMA Data Register. It returns to “0” when the data in the CPU DMA Data Register is read.  
Bit 2 : CPU Buffer Write Ready  
This bit is set to “0” when1-byte data is written into the CPU MDA Data Register. It is set to “1”  
when the data in the CPU DMA data register is written into the buffer memory.  
Bit 3 : Pointer Status Flag  
This bit is set to “1” when one or more error pointers were set in 1 block of data transferred  
from the CXD1186BQ. It is cleared to “0” by setting a value in the Drive DMA Transfer  
Counter.  
Bit 4 : Subcode ECC Status #0  
Indicates the results of the error correction in channel R-W subcode pack #0. It is set to “1”  
when uncorrectable data errors occur.  
Bit 5 : Subcode ECC Status #1  
Indicates the results of the error correction in channel R-W subcode pack #1. It is set to “1”  
when uncorrectable data errors occur.  
Bit 6 : Subcode ECC Status #2  
Indicates the results of the error correction in channel R-W subcode pack #2. It is set to “1”  
when uncorrectable data errors occur.  
Bit 7 : Subcode ECC Status #3  
Indicates the results of the error correction in channel R-W subcode pack #3. It is set to “1”  
when uncorrectable data errors occur.  
(2) DMA Status Register-1 (01H)  
The setting values of DMA Control Register-1 can be read from this register.  
Bit 0 : Drive DMA Enable  
Bit 1 : Drive DMA Source  
Bit 2 : Pointer Transfer Enable  
Bit 3 : Pointer Transfer Mode  
Bit 4 : Sync Pattern Enable  
Bit 5 : Reserved  
Bit 6 : Reserved  
Bit 7 : Reserved  
—23—  
CXD1198AQ  
(3) DMA Status Register-2 (02H)  
The setting values of DMA Control Register-2 can be read from this register.  
Bit 0 : Host DMA Enable  
Bit 1 : Host DMA Source  
Bit 2 : CPU DMA Enable  
Bit 3 : CPU DMA Source  
Bit 4 : Reserved  
Bit 5 : Subcode P-W DMA Enable  
Bit 6 : Subcode P-W ECC Enable  
Bit 7 : Subcode P-W ECC Strategy  
(4) CPU DMA Data Register (03H)  
The data read from the buffer memory by DMA with the CPU is written into this register.  
(5) Interrupt Status Register (04H)  
The values of this register’s bits indicate the corresponding interrupt statuses respectively.  
Bit 0 : Drive DMA Complete  
This is set to “1” when data transfer by DMA with the CXD1186BQ is completed.  
Bit 1 : Subcode P-W DMA Complete  
This is set to “1” when the channel P-W subcodes have been written into the buffer memory.  
Bit 2 : Host DMA Complete  
This is set to “1” when data transfer by DMA with the host is completed.  
Bit 3 : Host Chip Reset Issued  
This is set to “1” when the host writes “1” into Bit 7 (Chip Reset Bit) of the Host Control Register  
and this IC is reset.  
Bit 4 : Host Command  
This is set to “1” when the host writes a 1 byte command into the Host Command Register.  
Bit 5 : Pointer DMA Complete  
This is set to “1” when the DMA transfer of pointers is completed.  
Bit 6 : Sub Q Interrupt  
This is set to “1” if the falling edge of the SBSY pin (connected to the SCOR pin of the  
CXD2500) is detected when “1” has been written into Bit 6 (Sub Q Interrupt) of the Interrupt  
Mask Register.  
Bit 7 : Reserved  
(6) Host Command Register (05H)  
This register is used to know the commands from the host when the HMDS pin is low.  
(7) Host Parameter Register (06H)  
This register is used to know the command parameters from the host when the HMDS pin is low. It  
consists of a 10-byte FIFO.  
—24—  
CXD1198AQ  
(8) Host Interface Status Register (07H)  
This register is used to know the status of the host interface hardware when the HMDS pin is low. It has  
the same specifications as the Host Interface Control Register of the CXD1186BQ.  
Bit 0 : Host Interrupt Status #1  
This bit turns to “1” when the CPU writes “1” into host interrupt #1 (Host Interface Control  
Register Bit 0). It is set to “0” when the host writes “1” into CLRINT #1 (Control Register Bit 0).  
This bit is used to monitor the interrupt status to the host.  
Bit 1 : Host Interrupt Status #2  
This bit turns to “1” when the CPU writes “1” into host interrupt #2 (Host Interface Control  
Register Bit 1). It is set to “0” when the host writes “1” into CLRINT #2 (Control Register Bit 1).  
This bit is used to monitor the interrupts status to the host.  
Bit 2 : Host Interrupt Status #3  
This bit turns to “1” when the CPU writes “1” into host interrupt #3 (Host Interface Control  
Register Bit 2). It is set to “0” when the host writes “1” into CLRINT #3 (Control Register Bit 2).  
This bit is used to monitor the interrupts status to the host.  
Bit 3: Parameter Read Ready  
When this bit is “1”, it indicates that the Parameter Register of the host is not empty and  
parameter data can be read from the CPU. When “0”, the Parameter Register is empty.  
Bit 4: Parameter Full  
When this bit is “1”, it indicates that the Parameter Register of the host is full.  
Bit 5: Result Write Ready  
When this bit is “1”, it indicates that the Host Result Register is not full and result data can be  
written from the CPU. When “0”, the Host Result Register is full and the CPU cannot write the  
result data into the register.  
Bit 6: Result Empty  
When this bit is “1”, it indicates that the Host Result Register is empty.  
Bit 7: Busy Status  
This bit has the same value as Bit 7 of the Host Status Register. It is set to “1” when the host  
writes a command in the Command Register. It is set to “0” when the CPU writes “1” into the  
Clear Busy Bit of the Host Interface Control Register.  
(9) Drive DMA Address Counter Lower (08H)  
(10) Drive DMA Address Counter Middle (09H)  
(11) Drive DMA Address Counter Upper (0AH)  
Indicate the Drive DMA Address Counter values.  
(12) Drive DMA Transfer Counter Lower (0BH)  
(13) Drive DMA Transfer Counter Upper (0CH)  
Indicate the Drive DMA Transfer Counter values.  
(14) Error Pointer DMA Address Counter Lower (0DH)  
(15) Error Pointer DMA Address Counter Middle (0EH)  
—25—  
CXD1198AQ  
(16) Error Pointer DMA Address Counter Upper (0FH)  
Indicate the Error Pointer DMA Address Counter values.  
(17) Subcode P-W DMA Address Counter Lower (10H)  
(18) Subcode P-W DMA Address Counter Middle (11H)  
(19) Subcode P-W DMA Address Counter Upper (12H)  
Indicate the Subcode P-W DMA Address Counter values.  
(20) Host DMA Address Counter Lower (13H)  
(21) Host DMA Address Counter Middle (14H)  
(22) Host DMA Address Counter Upper (15H)  
Indicate the Host DMA Address Counter values.  
(23) Host DMA Transfer Counter Lower (16H)  
(24) Host DMA Transfer Counter Upper (17H)  
Indicate the Host DMA Transfer Counter values.  
(25) CPU DMA Address Counter Lower (18H)  
(26) CPU DMA Address Counter Middle (19H)  
(27) CPU DMA Address Counter Upper (1AH)  
Indicate the CPU DMA Address Counter values.  
(28) Drive Status Register (20H)  
The Status Register for the host interface of the CXD1186BQ is mapped in the register address space of  
this IC.  
(29) Drive Result Register (21H)  
The Result Register for the host interface of the CXD1186BQ is mapped in the register address space of  
this IC.  
(30) Drive Read Data Register (22H)  
The Read Data Register for the host interface of the CXD1186BQ is mapped in the register address  
space of this IC.  
(31) Drive FIFO Status Register (23H)  
The FIFO Status Register for the host interface of the CXD1186BQ is mapped in the register address  
space of this IC.  
—26—  
CXD1198AQ  
Write Register  
Reset Control Register (00H)  
bit7 bit6  
bit5  
bit4  
bit4  
bit3  
bit3  
bit2  
bit1  
Drive  
bit0  
BMM  
SCSI IC  
Reset  
Reset  
Reset  
DMA Control Register - 1 (01H)  
bit7 bit6 bit5  
bit2  
bit1  
bit0  
Sync  
Pointer  
Transfer  
Mode  
Pointer  
Transfer  
Enable  
Drive  
Drive  
DMA  
Pattern  
Enable  
DMA  
Source  
Enable  
DMA Control Register - 2 (02H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Subcode  
ECC  
Subcode  
ECC  
Subcode  
DMA  
Subcode  
Decode  
Enable  
CPU  
CPU  
Host  
Host  
DMA  
DMA  
DMA  
DMA  
Strategy  
Enable  
Enable  
Source  
Enable  
Source  
Enable  
CPU DMA Data Register (03H)  
bit7  
bit6  
bit5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
D0  
D7  
D6  
D5  
Interrupt Mask Register (04H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Pointer  
DMA  
Host Chip  
Reset  
Host  
DMA  
Subcode  
DMA  
Drive  
Sub Q  
Host  
DMA  
interrupt  
Command  
Complete  
Issued  
Complete Complete  
Complete  
Clear Interrupt Register (05H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
Host  
DMA  
bit1  
bit0  
Pointer  
DMA  
Host Chip  
Reset  
Subcode  
DMA  
Drive  
Sub Q  
Host  
DMA  
interrupt  
Command  
Complete  
Issued  
Complete Complete  
Complete  
Host Result Register (06H)  
bit7  
bit6  
bit5  
D5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
D0  
D7  
D6  
—27—  
CXD1198AQ  
Host Interface Control Register (07H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
Host  
bit1  
Host  
bit0  
Host  
Clear  
Busy  
Clear  
Interrupt  
#3  
Interrupt  
#2  
Interrupt  
#1  
Result  
Drive DMA Address Counter Lower (08H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
Drive DMA Address Counter Middle (09H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
Drive DMA Address Counter Upper (0AH)  
bit7 bit6 bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Drive DMA Transfer Counter Lower (0BH)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
Drive DMA Transfer Counter Upper (0CH)  
bit7 bit6 bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A11  
A10  
Pointer DMA Address Counter Lower (0DH)  
bit7  
bit6  
bit5  
bit4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
A4  
—28—  
CXD1198AQ  
Pointer DMA Address Counter Middle (0EH)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A15  
A14  
A13  
A12  
A11  
A10  
A8  
Pointer DMA Address Counter Upper (0FH)  
bit7 bit6 bit5 bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Subcode P-W DMA Address Counter Lower (10H)  
bit7  
bit6  
bit5  
bit4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
A4  
Subcode P-W DMA Address Counter Middle (11H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
Subcode P-W DMA Address Counter Upper (12H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Host DMA Address Counter Lower (13H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
Host DMA Address Counter Middle (14H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
—29—  
CXD1198AQ  
Host DMA Address Counter Upper (15H)  
bit7 bit6 bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Host DMA Transfer Counter Lower (16H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
Host DMA Transfer Counter Upper (17H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
CPU DMA Address Counter Lower (18H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
CPU DMA Address Counter Middle (19H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
CPU DMA Address Counter Upper (1AH)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Configuration Register (1BH)  
bit7 bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
HCLK  
Disable  
Mode  
Error  
Buffer  
Buffer  
Packet  
Mode  
CDL3X  
Series  
Pointer  
Memory  
Size 2  
Memory  
Size 1  
Write Data  
—30—  
CXD1198AQ  
Drive Command Register (20H)  
Drive Parameter Register (21H)  
Drive Write Data Register (22H)  
Drive Control Register (23H)  
Internal RAM-1 Write (30H)  
Internal RAM-2 Write (31H)  
Test Register (35H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
REF  
bit0  
SUB  
Reset  
Signal  
Sync  
HCLK  
Reset  
TSTE  
TSTD  
Block  
Test  
Block  
Test  
—31—  
CXD1198AQ  
Read register  
BMM Status Register (00H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Subcode  
ECC  
Subcode  
ECC  
Subcode  
ECC  
Subcode  
ECC  
Pointer  
Status  
Flag  
CPU Buffer CPU Buffer  
Reset  
Write  
Read  
Condition  
Status #3 Status #2 Status #1 Status #0  
Ready  
Ready  
DMA Status Register - 1 (01H)  
bit7  
bit6  
bit5  
bit4  
Sync  
bit3  
bit2  
bit1  
bit0  
Pointer  
Transfer  
Mode  
Pointer  
Transfer  
Enable  
Drive  
Drive  
DMA  
Pattern  
Enable  
DMA  
Source  
Enable  
DMA Status Register -2 (02H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Subcode  
ECC  
Subcode  
ECC  
Subcode  
DMA  
CPU  
CPU  
Host  
Host  
DMA  
DMA  
DMA  
DMA  
Strategy  
Enable  
Enable  
Source  
Enable  
Source  
Enable  
CPU DMA Data Register (03H)  
bit7  
bit6  
bit5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
D0  
D7  
D6  
D5  
Interrupt Status Register (04H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Pointer  
DMA  
Host Chip  
Reset  
Host  
DMA  
Subcode  
DMA  
Drive  
Sub Q  
Host  
DMA  
interrupt  
Command  
Complete  
Issued  
Complete Complete  
Complete  
Host Command Register (05H)  
bit7  
bit6  
bit5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
D0  
D7  
D6  
D5  
Host Parameter Register (06H)  
bit7  
bit6  
bit5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
D0  
D7  
D6  
D5  
—32—  
CXD1198AQ  
Hot Interface Status Register (07H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
Host  
bit0  
Host  
Result  
Write  
Parameter Host  
Busy  
Result  
Empty  
Parameter  
Full  
Read  
Interrupt  
#3  
Interrupt  
#2  
Interrupt  
#2  
Status  
Ready  
Ready  
Drive DMA Address Counter Lower (08H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
A2  
Drive DMA Address Counter Middle (09H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
Drive DMA Address Counter Upper (0AH)  
bit7 bit6 bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Drive DMA Transfer Counter Lower (0BH)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
Drive DMA Transfer Counter Upper (0CH)  
bit7 bit6 bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A11  
A10  
Pointer DMA Address Counter Lower (0DH)  
bit7  
bit6  
bit5  
bit4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
A4  
—33—  
CXD1198AQ  
Pointer DMA Address Counter Middle (0EH)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A15  
A14  
A13  
A12  
A11  
A10  
A8  
Pointer DMA Address Counter Upper (0FH)  
bit7 bit6 bit5 bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Subcode P-W DMA Address Counter Lower (10H)  
bit7  
bit6  
bit5  
bit4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
A4  
Subcode P-W DMA Address Counter Middle (11H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
Subcode P-W DMA Address Counter Upper (12H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Host DMA Address Counter Lower (13H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
Host DMA Address Counter Middle (14H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
—34—  
CXD1198AQ  
Host DMA Address Counter Upper (15H)  
bit7 bit6 bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A19  
A18  
A17  
A16  
Host DMA Transfer Counter Lower (16H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
Host DMA Transfer Counter Upper (17H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
CPU DMA Address Counter Lower (18H)  
bit7  
bit6  
bit5  
bit4  
A4  
bit3  
A3  
bit2  
A2  
bit1  
A1  
bit0  
A0  
A7  
A6  
A5  
CPU DMA Address Counter Middle (19H)  
bit7  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
A9  
bit0  
A8  
A15  
A14  
A13  
A12  
A11  
A10  
CPU DMA Address Counter Upper (1AH)  
bit7 bit6 bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
A18  
A17  
A16  
A19  
—35—  
CXD1198AQ  
Drive Status Register (20H)  
Drive Result Register (21H)  
Drive Read Data Register (22H)  
Drive FIFO Status Register (23H)  
Internal RAM-1 Read (30H)  
Internal RAM-2 Read (31H)  
Internal LOG Read (32H)  
Internal ALOG Read (33H)  
Internal FPAL Read (34H)  
—36—  
CXD1198AQ  
3. DMA Functions  
3-1. Overview  
This IC accepts requests for DMA to the buffer memory from the six DMA channels of drive  
(CXD1186BQ), error pointer (CXD1186BQ), subcode P-W (CXD2500), host CPU and buffer memory  
(DRAM) refresh. Then, it generates memory cycle signals for an external buffer memory (DRAM), and  
executes DMA cycles.  
3-2. DMA Address Counters  
The DMA address counters hold the buffer memory addresses of each DMA channel, which are divided  
into row and column addresses as the memory addresses of the external DRAM buffer memory in  
accordance with the Configuration Register Bits 2 and 3 (buffer memory size) setting, and output the  
addresses from BA0 to 9. The address counter values for each DMA channel are incremented each time  
the DMA cycle is executed. The DMA address counter values of five channels (except the buffer memory  
refresh channel ) can be set or read from the CPU.  
3-3. DMA Transfer Counters  
The DMA transfer counters hold the number of bytes to be transferred for each DMA channel, they are  
decremented each time a DMA cycle is executed, and DMA is completed when their values reach zero.  
The values of the DMA transfer counters for the drive (CXD1186BQ) and host DMA channels can be set  
or read from the CPU but the initial setting of the DMA transfer counter for the subcode P-W (CXD2500)  
channel is fixed and its value cannot be set or read from the CPU. The CPU and buffer memory refresh  
channels do not have DMA transfer counters.  
3-4. Drive DMA Channel  
(1) Execution of DMA cycle  
DMA transfer for the drive DMA channel is requested by making the DDRQ signal activated, and the DMA  
cycle is executed.  
(2) Procedure of control from CPU  
Described below is the procedure of control exercised by this IC when DMA transfer for the drive DMA  
channel is to be executed.  
The number of bytes to be transferred is written into the drive DMA transfer counter.  
The head address of the buffer memory to be accessed is written into the drive DMA address  
counter (and also into the error pointer DMA address counter if necessary).  
“1” is written into Bit 0 (drive DMA enable) of DMA Control Register-1, and the prescribed values  
are written into Bits 1 to 4. (This causes the DMA cycle execution to start.)  
When the DMA transfer of the number of bytes written into the drive DMA transfer counter is  
completed, Interrupt Status Register Bit 0 (drive DMA complete) is set to “1”. Also, the drive DMA  
transfer register is zero, and the drive DMA address counter holds the address following the buffer  
memory address in which data was last transferred by DMA.  
—37—  
CXD1198AQ  
(3) Variations of DMA transfer for drive DMA channel  
Depending on the settings of Bits 0 to 4 of DMA Control Register-1, options such as the addition of a  
dummy sync pattern or DMA transfer of error pointers can be selected for the DMA transfer of the drive  
DMA channel, as shown in the table below.  
Bit 0 Bit 1 Bit 2 Bit 3 Bit 4  
Description of DMA transfer  
DMA transfer prohibited  
0
×
×
×
×
DMA transfer of main channel data and error pointers from buffer  
memory to the CXD1186BQ  
1
0
×
×
×
Writing of main channel data from the CXD1186BQ into buffer  
memory  
1
1
1
1
1
1
1
1
1
1
1
1
0
0
1
1
1
1
×
×
0
0
1
1
0
1
0
1
0
1
Addition of dummy sync pattern at head of above data  
Writing of main channel data and error pointers from the CXD1186BQ  
into buffer memory (separated mode)  
Addition of dummy sync pattern at head of above data  
Writing of main channel data and error pointers from the CXD1186BQ  
into buffer memory (mixed mode)  
Addition of dummy sync pattern at head of above data  
(4) DMA transfer of pointers  
When DMA transfer from the CXD1186BQ (9-bit data) into the buffer memory (8-bit data), the error  
pointers sent together with the drive main channel data are serial-to-parallel converted in the IC and the  
data is written one byte at a time into the buffer memory. When executing DMA for error pointers,  
therefore, the number of drive DMA transfer must be a multiple of 8.  
When DMA transfer from the buffer memory (8-bit data) to the CXD1186BQ (9-bit data), the value  
selected by Bit 4 (error pointer write data) of the Configuration Register is used as the error pointer, and  
only the number of transferring bytes set in the drive DMA transfer counter is output from the DDBP pin  
along with the main channel data.  
When DMA transfer from the CXD1186BQ (9-bit data) into the buffer memory (8-bit data), 8-byte of the  
main channel data are first written, and then 8-bit of the error pointer corresponding to this data is written  
as 1-byte data. As described below, there are two modes for writing the main channel data and error  
pointers.  
Separated mode  
The main channel data and error pointers are separated and written in different locations on the  
buffer memory. The write head address for each is set in the drive DMA address counter and  
pointer DMA address counter. The number of transferring bytes of the main channel data is set in  
the drive DMA transfer counter.  
Mixed mode  
8-byte of the main channel data and 1 byte of the error pointer are repeated in this sequence and  
written in a continuous buffer memory address. The write head address is set in the drive DMA  
address counter, and the pointer DMA address counter value is ignored. The number of bytes  
transferred of the main channel data is set in the drive DMA transfer counter.  
—38—  
CXD1198AQ  
(5) Writing of dummy sync patterns into buffer memory  
If Bit 4 (sync pattern enable) of DMA Control Register-1 is set to “1” when DMA transfer from the  
CXD1186BQ to the buffer memory, a 12-byte dummy sync pattern is generated in the IC and written into  
the buffer memory prior to data transfer from the CXD1186BQ. Following the dummy sync pattern from  
the buffer memory address set in the drive DMA address counter, the data from the CXD1186BQ is  
written into the buffer memory. The number of bytes for data transferred from the CXD1186BQ must be  
set in the drive DMA transfer counter. (Exclude the number of dummy sync patterns.)  
3-5. Subcode P-W DMA Channel  
When Bit 5 (subcode P-W DMA enable) of DMA Control Register-2 is set to “1”, the channel P-W  
subcodes decoded in this IC are written into the buffer memory. The number of bytes transferred is fixed  
(at 96).  
(1) Execution of DMA cycle  
DMA transfer of the subcode P-W DMA channel is requested by the timing generator signal used to read  
the subcode P-W in this IC, and the DMA cycle is executed.  
(2) Procedure for controlling IC from CPU  
Described below is the procedure for controlling this IC when subcode P-W channel DMA is to be  
executed.  
Write “1” into Bit 4 (subcode P-W decode enable) of DMA Control Register-2 to execute DMA of  
the subcode P-W channel. As a result, subcode P-W decoding commences.  
Write the head address of the buffer memory to be directly accessed into the Subcode P-W DMA  
Address Counter.  
Write “1" into Bit 5 (subcode P-W DMA enable) of DMA Control Register-2. (As a result, the DMA  
cycle is executed when the decoding has been completed.)  
When the DMA transfer of 96 bytes is completed, Bit 1 (subcode P-W DMA complete) of the  
Interrupt Status Register is set to “1”. The Subcode P-W DMA Address Counter holds the  
address value following the buffer memory address which was last transferred by DMA.  
(3) Subcode P-W error correction  
Subcode P-W errors are corrected when “1” is written into Bit 6 (subcode P-W ECC enable) of DMA  
Control Register-2 at the same time as “1” is written into Bit 5 (subcode P-W DMA enable of the same  
register). In this case, Bit 1 (subcode P-W DMA complete) of the Interrupt Status Register-1 is set to “1”  
when all the operations up to the DMA transfer have been completed. Double correction is performed  
when “1” is written into Bit 7 (subcode P-W ECC strategy) of DMA Control Register-2.  
(4) Error discrimination  
Upon completion of the DMA transfer, the presence or absence of errors in each of 4 packs is written into  
Bits 4 to 7 of the BMM Status Register. These statuses are valid for about 13 ms after DMA transfer is  
completed.  
—39—  
CXD1198AQ  
3-6. Host DMA Channel  
(1) Execution of DMA cycle  
DMA transfer of the host DMA channel is requested when the HDRQ signal becomes activated, and the  
DMA cycle is executed. For further details, refer to chapter 4.  
(2) Procedure for controlling IC from CPU  
Described below is the procedure for controlling this IC when DMA transfer of the host DMA channel is  
executed.  
Write the number of bytes transferred into the Host DMA Transfer Counter.  
Write the head address of the buffer memory, to which the data is transferred by DMA, into the  
Host DMA Address Counter.  
Write “1” into Bit 0 (host DMA enable) of DMA Control Register-2 and “0” or “1” into Bit 1 (host  
DMA source) depending on the transfer direction. (When these are written, the DMA cycle  
execution commences.)  
When the DMA transfer of the number of bytes written into the Host DMA transfer counter is  
completed, Bit 3 (host DMA complete) of the Interrupt Status Register is set to “1”. Also, the Host  
DMA Transfer Register is zero, and the Host DMA address counter holds the value of the address  
following the buffer memory address which was last transferred by DMA.  
3-7. CPU DMA Channel  
(1) Execution of DMA cycle  
DMA transfer of the CPU DMA channel is requested by read/write with the CPU DMA Data Register, and  
the DMA cycle is executed.  
(2) Procedure for controlling IC from CPU  
Described below is the procedure for controlling this IC when DMA transfer of the CPU DMA channel is  
executed.  
Write the head address of the buffer memory, to which the data is transferred by DMA, into the  
CPU DMA Address Counter.  
Write “1” into Bit 3 (CPU DMA enable) of DMA Control Register-2 and “0” or “1” into Bit 4 (CPU  
DMA source) depending on the direction of transfer. (When these are written, the DMA cycle  
execution commences.)  
In reading data from the buffer memory, Bit 1 (CPU buffer read ready) of the BMM Status Register  
is set to “1” when the data read from the buffer memory is written into the CPU DMA Data  
Register. Therefore, first check this status and then read the data from the CPU DMA Data  
Register. When the data is read from the CPU DMA Data Register, Bit 1 returns to “0" and the  
CPU DMA Address Register is incremented. When the next data is written into the CPU DMA  
Data Register from the buffer memory, the Bit is again set to “1”. Check this status and then read  
the next data from the CPU DMA Data Register.  
In writing data into the buffer memory, first check that Bit 2 (CPU buffer write ready) of the BMM  
Status Register is “1” and then write the data into the CPU DMA Data Register. Bit 2 (CPU buffer  
write ready) is set to “0” when the data is written in the CPU DMA Data Register but when this  
data is written into the buffer memory, it returns to “1” and the CPU DMA Address Register is  
incremented. Check that Bit 2 is set to “1” again and then write the next data into the CPU DMA  
Data Register.  
—40—  
CXD1198AQ  
4. Host Interfaces  
4-1. Overview  
The CXD1198AQ can be connected with the Intel 80-series host bus or SCSI control LSI (CXD1185, etc.)  
as the host interface. The selection can be made by the HMDS pin as follows.  
When connecting with the Intel 80-series host bus, input a low logic level to the HMDS pin or leave it  
open; when connecting with the SCSI control LSI, input a high logic level to the HMDS pin.  
Except for the fact that the XTC pin is not supported, the host interface specifications of this IC are the  
same as those for the CXD1186BQ.  
4-2. When connecting with the Intel 80-series host bus  
When connecting this IC with the Intel 80-series host bus, input a low logic level to the HMDS pin or leave  
it open. Fig. 4-1 shows and example of the connection.  
(1) Commands/statuses transfer between host and CPU  
The host can access each of the four write and read registers using the HA0, HA1, XHCS, XHRD and  
XHWR pins. The DMA transfer mode is also supported by the WRDATA and RDDATA registers and,  
regardless of the HA0, HA1 and XHCS pin values, the registers are selected by the XHAC, XHRD and  
XHWR pins, and DMA transfer is conducted between the host and buffer memory. The Parameter  
Register and Result Register are 10-byte FIFO registers.  
Inputting a low logic level to both the XHAC and XHCS pins is prohibited at the same time.  
Write registers  
Command register (00H)  
The host writes commands into this register. When it does this, and interrupt request is applied  
from this IC to the CPU. Bit assignment and function attribution is performed by the drive control  
program.  
Parameter register (01H)  
The host writes into this register command parameters required for the CPU to execute the  
commands. This is a 10-byte FIFO register.  
WRDATA (write data) register (02H)  
This register is for writing data into the buffer memory from the host. Data can be written in either  
the I/O mode or DMA mode.  
Control register (03H)  
This register is for the direct control of the hardware in this IC by the host.  
Bit 0 to 2 : INTCLR#1 to 3 (interrupt clear #1 to 3)  
By writing “1” into any of these bits, the corresponding interrupt status is cleared. These bits  
automatically return to “0” after the interrupt status interrupt is cleared. So, there is no need to  
write “0” again.  
Bit 3 to 5 : ENINT #1 to 3 (enable interrupt #1 to 3)  
By writing “1” into any of these bits, the corresponding interrupt status is enabled. The host can  
also read the values of these bits from the Status register.  
Writing “1" into a bit is prohibited when its corresponding interrupt status is high. Therefore,  
before writing “1” into any of these bits, the host must read the Status register and check its  
interrupt status.  
—41—  
CXD1198AQ  
Bit 6 : CLRPRM (clear parameter)  
The Parameter register can be cleared by writing “1” into this bit. This bit automatically returns to  
“0” after the Parameter register is cleared. So, there is no need to write “0” again.  
Bit 7 : CHPRST (chip reset)  
This IC is internally initialized by writing “1” into this bit. This bit automatically returns to “0” upon  
completion of the initializing. So, there is no need to write “0” again. An interrupt request can be  
generated to the CPU by writing “1” into this bit.  
Read registers  
Status register (00H)  
This register is for the host to read the statuses in this IC.  
Bit 0 to 2 : INTSTS #1 to 3 (interrupt status #1 to 3)  
The values of these bits correspond to that of Bits 0 to 2 in the CPU’s Host Interface Control  
Register respectively. When each bit is “1”, an interrupt request is generated to the host provided  
that the corresponding interrupt of the bit is enabled.  
Bit 3 to 5 : ENINTST #1 to 3 (enable interrupt status #1 to 3)  
The values of these bits correspond to that of Bits 3 to 5 in the control register.  
Bit 6 : Data request status  
This bit has the same value as the HDRQ pin, and it indicates that the IC has requested the host  
for buffer memory data transfer. When transferring data in the I/O mode, access the WRDATA or  
RDDATA registers after the host has checked that this bit is “1”.  
Bit 7 : Busy status  
This bit is set to “1” by the host writing a command in the Command register. It is set to “0” by the  
CPU writing “1” into the clear busy bit of the Host Interface Control Register.  
Result register (01H)  
The host reads the results after the command execution from this register. This is a 10-byte FIFO  
register.  
RDDATA (read data) register (02H)  
This register is for the host to read the data from the buffer memory. Data can be read in the I/O  
mode or DMA mode.  
FIFO status register (03H)  
This register is for the host to read the status of the parameter register or the host result register.  
Bit 0 : Parameter write ready  
When this bit is “1”, it indicates that the Parameter register is not full and the host can write  
parameter data.  
Bit 1 : Parameter empty  
When this bit is “1”, it indicates that the Parameter register is empty.  
Bit 2 : Result read ready  
When this bit is “1”, it indicates that the Host Result register is not empty and the host can read  
result data.  
Bit 3 : Result full  
When this it is “1”, it indicates that the Host Result register is full.  
Bit 4 to 7 : Reserved  
—42—  
CXD1198AQ  
Write registers  
Command Register (00H)  
bit7  
bit6  
bit5  
D5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
D7  
D6  
0
Parameter Register (01H)  
bit7  
bit6  
bit5  
D5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
0
D7  
D6  
Write Data Register (02H)  
bit7  
bit6  
bit5  
D5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
0
D7  
D6  
Control Register (03H)  
bit7  
Chip  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Clear  
FIFO  
ENINT  
#3  
ENINT  
#2  
ENINT  
#1  
INTCLR  
#3  
INTCLR  
#2  
INTCLR  
#2  
Reset  
Read registers  
Status Register (00H)  
bit7  
Busy  
Status  
bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Data Request  
Status  
ENINTST ENINTST ENINTST INTSTS  
#3  
INTSTS  
#2  
INTSTS  
#1  
#3  
#2  
#1  
Result Register (01H)  
bit7  
bit6  
bit5  
D5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
0
D7  
D6  
Read Data Register (02H)  
bit7  
bit6  
bit5  
D5  
bit4  
D4  
bit3  
D3  
bit2  
D2  
bit1  
D1  
bit0  
0
D7  
D6  
FIFO Status Register (03H)  
bit7 bit6  
bit5  
bit4  
bit3  
bit2  
bit1  
bit0  
Result Read  
Ready  
Parameter  
Result  
Full  
Parameter  
Empty  
Write Ready  
—43—  
CXD1198AQ  
(2) Host and CPU control procedure  
Fig. 4-2 shows and example of the host and CPU control procedure. In this example, the host gets to  
know the interrupt status by polling the Status register.  
(3) Data transfer between host and buffer memory  
This IC contains 2 × 8-bit FIFO registers (WRDATA, RDDATA), and data can be transferred at 4 MB/s  
maximum.  
(3-1)Data transfer in DMA mode  
Data is transferred between the host and this IC by means of handshaking using the HDRQ/XSAC and  
XHAC/SDRQ pins.  
The HDRQ/XSAC pin outputs the HDRQ signal requesting data transfer from the IC to the host and the  
XHAC/SDRQ becomes the corresponding acknowledge signal XHAC.  
Data transfer from host to buffer memory (host DMA source bit = “1”)  
When the host DMA enable bit is “1” while FIFO is not full and the XHAC pin is high, this IC sets  
the HDRQ pin high. When the acknowledge signal returns from the host, the HDRQ pin is set  
low. Data from the host is retrieved in this IC at the XHAC pin rising. The data retrieved is written  
in sequence into the addresses of the buffer memory selected by the Host Address Counter  
Register.  
Data transfer from buffer memory to host (host DMA source bit = “0”)  
When the host DMA enable bit is “1”, the data in the address of the buffer memory selected by the  
Host Address Counter Register is retrieved in this IC. When the buffer memory data is retrieved,  
this IC sets the HDRQ pin high if the XHAC pin is “1”. When the acknowledge signal returns from  
the host, the HDRQ pin is set low. While this pin is low, this IC outputs the data retrieved from the  
buffer memory to host bus HDB0 to 7.  
(3-2)Data transfer in the I/O mode  
The host can transfer data with the buffer memory by writing or reading the WRDATA or RDDATA  
registers. In this case, the control of this IC by the CPU is not different from that in the DMA mode. Fig.  
4-3 shows the host control flow when data is transferred between the host and buffer memory in the I/O  
mode.  
(3-3)Completion of data transfer  
There are two following methods to complete data transfer.  
By using the Host Transfer Counter. (This is the usual method.)  
By setting the host DMA enable bit to “0”.  
When using the Host Transfer Counter  
When transferring data using the Host Transfer Counter, the CPU should perform the following  
operations prior to the data transfer.  
· Write the number of bytes for data transferred into the Host Transfer Counter.  
· Write the data transfer direction (host DMA source) and “1” into the host DMA enable bit.  
When these are written, data transfer commences.  
The Host Transfer Counter is decremented each time data is written into FIFO. When its value is  
reduced to zero, further data is not written into FIFO. When all the FIFO data is read out, the host  
DMA complete status (Interrupt Status Register Bit 2) sets on.  
—44—  
CXD1198AQ  
When the host DMA enable bit is set to “0”  
Data transfer is stopped when the host DMA enable bit is set to “0” during actual transfer. Then  
the transfer of data between this IC and the host or buffer memory may be suspended so that the  
values of the Host Address Counter and Host Transfer Counter after suspension cannot be  
guaranteed.  
In this case, the host DMA complete status does not set on.  
(4) Procedure for controlling IC from CPU  
Described below is the procedure for controlling this IC when DMA transfer of the host DMA channel is to  
be executed.  
Write the number of bytes transferred into the Host DMA Transfer Counter.  
Write the head address of the buffer memory, to which the data is transferred by DMA, into the  
Host DMA Address Counter.  
Write “1” into Bit 0 (host DMA enable) of DMA Control Register-2 and “0” or “1” into Bit 1 (host  
DMA source), depending on the transfer direction. (When these are written, the DMA cycle  
execution commences.)  
When the DMA transfer of the number of bytes written into the Host DMA Transfer Counter is  
completed, Bit 3 (host DMA complete) of the Interrupt Status Register is set to to “1”. Also, the  
Host DMA Transfer Register is zero, and the Host DMA Address Counter holds the value of the  
address following the buffer memory address which was last transferred by DMA.  
4-3. When connecting this IC with the SCSI control LSI  
When connecting this IC to the SCSI control LSI, input a high logic level to the HMDS pin. Fig. 4-4 shows  
an example of the connections.  
(1) Data transfer between SCSI control LSI and buffer memory  
Data is transferred between the SCSI control LSI and this IC by means of handshaking using the  
HDRQ/XSAC and XHAC/SDRQ pins.  
The XHAC/SDRQ pin outputs the SDRQ signal requesting data transfer from the SCSI control LSI to this  
IC, and the HDRQ/XSAC pin becomes the corresponding acknowledge signal XSAC.  
Data transfer from SCSI control LSI to buffer memory (host DMA source bit = “1”)  
When the host DMA enable bit is “1”, and the SDRQ signal is input, this IC outputs a low-level  
signal from the XSAC pin provided that FIFO is not full. The data is retrieved in this IC at the  
XHWR pin rising. The data retrieved is written in sequence into the addresses of the buffer  
memory selected by the host address counter.  
Data transfer from buffer memory to SCSI control LSI (host DMA source bit = “0”)  
When the host DMA enable bit is “1”, the data in the address of the buffer memory selected by the  
Host Address Counter is retrieved in this IC. When, with the buffer memory data retrieved, the  
SDRQ signal X is input, this IC outputs a low-level signal from the XSAC pin and, while this pin is  
low, the IC outputs the data retrieved from the buffer memory to host bus HDB0 to 7.  
—45—  
CXD1198AQ  
(2) Completion of data transfer  
For details on how to complete the data transfer, refer to section “(3-3) Completion of data transfer” on  
the previous page.  
(3) Procedure for controlling IC from CPU  
When data is to be transferred between the SCSI control LSI and buffer memory, the procedure for  
controlling this IC from the CPU is the same as for the Intel 80-series host bus described in the previous  
section. Refer to “(4) Procedure for controlling IC from CPU” in the previous section.  
—46—  
CXD1198AQ  
Buffer Memory  
Buffer Memory  
64k/256k/1M Byte D-RAM  
8k × 9Bit S-RAM  
DDB0-7, P  
HDB0-7  
HBD0-7, P  
DATA  
BCLK  
LRCK  
C2PO  
XDAC  
DDRQ  
CXD1198AQ  
XHAC  
HDRQ  
XDWR/XDRD  
XDCS/DA0, 1  
XDRS  
XHWR  
XHRD  
XHCS  
HA0, 1  
HINT  
XHWR/XHRD  
XHCS/DA0, 1  
XRST  
WFCK  
CXD1186BQ  
SCOR  
SBSO  
EXCK  
HMDS  
XHRS  
CXD2500  
WFCK  
SCOR  
SBSO  
EXCK  
Reset  
DB0-7  
A0-5  
XRD  
XWR  
INT1  
INT2  
Control  
CPU  
XCS1  
XCS2  
Address  
Decoder  
A6-15  
Fig. 4-1 Example of connection with Intel 80-series host bus  
—47—  
CXD1198AQ  
START  
Interrupt Processing  
Read Interrupt Status  
Read Status Register  
NO  
Host Command  
=“1” ?  
YES  
Busy Status ?  
NO  
YES  
Read Host Command  
Write Parameter  
Write Command  
Read Host Parameter  
Interrupt Clear  
Command Start  
Read Status Register  
Return  
NO  
Interrupt Status  
YES  
Command  
Completed  
?
NO  
Read Result  
END  
YES  
Write Result  
Write Host Interface  
Control Register  
Fig. 4-2 Example of commands/statuses transfer between host and CPU  
—48—  
CXD1198AQ  
START  
n = N  
N : Number of bytes transferred  
Read Status Register  
DREQSTS  
= “1” ?  
NO  
YES  
Read Data or Write Data  
n = n–1  
NO  
n = 0 ?  
YES  
END  
Fig. 4-3 Example of data transfer control in I/O mode  
—49—  
CXD1198AQ  
Buffer Memory  
64k/256k/1M Byte D-RAM  
HDB0-7  
DDB0-7, P  
XDAC  
DDRQ  
XHAC/SDRQ  
XDRQ/XSAC  
XHWR  
XDWR/XDRD  
XDCS/DA0, 1  
XDRS  
CXD1198AQ  
XHRD  
CXD1185  
WFCK  
SCOR  
SBSO  
EXCK  
HMDS  
XHRS  
HCLK  
XSRS  
DB0-7  
A0-5  
Control  
CPU  
XRD  
XWR  
Refer to FIg. 4-1 for the example of  
connection on the CXD1186BQ and  
CXD2500 sides.  
INT1  
XCS1  
XCS2  
Address  
Decoder  
A6-15  
Fig. 4-4 Example of connection with SCSI control LSI  
—50—  
CXD1198AQ  
Package Outline Unit : mm  
100PIN QFP (PLASTIC)  
23.9 ± 0.4  
+ 0.1  
0.15 – 0.05  
+ 0.4  
20.0 – 0.1  
80  
51  
50  
81  
A
31  
100  
1
30  
+ 0.15  
0.65  
+ 0.35  
2.75 – 0.15  
0.3 – 0.1  
0.24  
0.15  
M
+ 0.2  
0.1 – 0.05  
0° to 15°  
DETAIL A  
PACKAGE STRUCTURE  
PACKAGE MATERIAL  
LEAD TREATMENT  
EPOXY RESIN  
SOLDER PLATING  
QFP-100P-L01  
QFP100-P-1420  
SONY CODE  
EIAJ CODE  
LEAD MATERIAL  
PACKAGE MASS  
42/COPPER ALLOY  
1.7g  
JEDEC CODE  
—51—  

相关型号:

CXD1199AQ

CD-ROM DECODER
SONY

CXD12-12

Analog IC
ETC

CXD12-15

Analog IC
ETC

CXD1217

Synchronizing Signal Generator for Video Camera
SONY

CXD1217M

Synchronizing Signal Generator for Video Camera
SONY

CXD1217Q

Synchronizing Signal Generator for Video Camera
SONY

CXD1230M

Telecommunication Filter
ETC

CXD1231Q-Z

RF Modulator/Demodulator
ETC

CXD1233BM

Cordless Phone Circuit
ETC

CXD1233BM/BQ

Cordless Phone Circuit
ETC

CXD1233BQ

Cordless Phone Circuit
ETC

CXD1237Q

Telecommunication Filter
ETC