Part Number Hot Search : 
LA38B 752E2416 LZ95650 6S2TR1PB BZX55C10 MC7906 HT6P235A 2SAA1
Product Description
Full Text Search
 

To Download CXD1198AQ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 CXD1198AQ
CD-ROM Subcode Decoder For the availability of this product, please contact the sales office.
Description 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, mixed mode) * 4 MB/s maximum rate for transferring data with SCSI control LSI Applications CD-ROM drives Structure Silicon gate CMOS IC 100 pin QFP (Plastic)
Absolute Maximum Ratings (Ta=25 C) * Supply voltage VCC -0.5 to +7.0 V * Input voltage VI -0.5 to VDD +0.5 V * Output voltage VO -0.5 to VDD +0.5 V * Operating temperature Topr -20 to +75 C * Storage temperature Tstg -55 to +150 C Recommended Operating Conditions * Supply voltage VDD 5.00.5 * Operating temperature Topr -20 to +75
V 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
30 DMA Refresh Control 81 88 DDBP 80 XDAC 75 DDRQ 76 XDWR 89 XDRD 91 XDCA 92 93 DA0,1 94 XDRS 77 I n t e r f a c e C o n t r o l
27
26
31-39,41
18-25
DMA Controller (priority resolver, sequencer) H O S T Pointer DMA Control HOST DMA Control I n t e r f a c e C o n t r o l
BDB0-7
BA0-9
XRAS
XCAS
XWE
52 HMDS 71 HINT 72 HINP 55 62 67 XHAC/ SDRQ 66 HDRQ/ XSAC 64 XHWR 63 XHRD 68 XHCS 69 HA0,1 70 50 XSRS 51 XHRS
DDB0-7
D r i v e
Drive DMA Control Pointer S/P
HBD0-7
Sync. Pattern
FIFO (10bytes x 2)
Error Corrector WFCK 45 SCOR 44 SBSO 43 EXCK 42 De-Interleave CPU Interface, DMA Control Reset Control Subcode Interface S/P Control Subcode DMA Control
RAM
48 HCLK 1/2 Internal Clock 46 47 XTL2 XTL1
16 INTP
17 INT
13 XCS
11 XRD
12 XWR
95-100 A0-5
1,2,5-10 DB0-7
14 XCRS
49 XRST
--2--
CXD1198AQ
Pin Description Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Symbol DB0 DB1 VDD VSS DB2 DB3 DB4 DB5 DB6 DB7 XRD XWR XCS XCRS VSS INTP INT BDB0 BDB1 BDB2 BDB3 BDB4 BDB5 BDB6 BDB7 XWE XCAS VDD VSS XRAS BA0 BA1 BA2 BA3 I/O I/O I/O Description CPU data bus CPU data bus Power supply (+5 V) GND CPU data bus CPU data bus CPU data bus CPU data bus CPU data bus CPU data bus Register read strobe negative logic signal in this IC Register write strobe negative logic signal in this IC Chip select signal to this IC Reset negative logic signal to CPU GND INT signal polarity control input signal Interrupt request signal to CPU 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 Buffer memory data bus Strobe negative logic signal for writing in buffer memory Strobe negative logic signal for column address in buffer memory Power supply (+5 V) GND Strobe negative logic signal for row address in buffer memory Buffer memory address Buffer memory address Buffer memory address Buffer memory address
I/O I/O I/O I/O I/O I/O I I I O I O I/O I/O I/O I/O I/O I/O I/O I/O O O
O O O O O
--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 66 67
Symbol BA4 BA5 BA6 BA7 BA8 VSS BA9 EXCK SBSI SBSY WFCK XTL2 XTL1 HCLK XRST XSRS XHRS HMDS VDD VSS HDB7 HDB6 HDB5 HDB4 HDB3 HDB2 HDB1 HDB0 XHRD XHWR VSS HDRQ /XSAC XHAC /SDRQ
I/O O O O O O O O I I I O I O I I O I
Description Buffer memory address Buffer memory address Buffer memory address Buffer memory address Buffer memory address GND Buffer memory address 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) GND 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 Data request positive logic signal to host or DMA acknowledge negative logic signal to SCSI control IC DMA acknowledge negative logic signal from host or data request positive logic signal from SCSI control IC
I/O I/O I/O I/O I/O I/O I/O I/O I/O I/O
O I
--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 92 93 94 95 96 97 98 99 100
Symbol XHCS HA0 HA1 HINT HINP NC1 NC2 XDAC DDRQ XDRS VDD VSS DDBP DDB7 DDB6 DDB5 DDB4 DDB3 DDB2 DDB1 DDB0 XDWR VSS XDRD XDCS DA1 DA0 A5 A4 A3 A2 A1 A0
I/O I I I O I O O O I O
I/O I/O I/O I/O I/O I/O I/O I/O I/O O O O O O I I I I I I
Description Chip select input signal from host Host address signal Host address signal Interrupt request signal to host HINT signal polarity control input signal No connection; leave open. No connection; leave open. 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) GND 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 Host register read strobe negative logic signal to the CXD1186BQ Chip select negative logic signal for host register read/write to the CXD1186BQ Address signal to the CXD1186BQ Address signal to the CXD1186BQ CPU address signal CPU address signal CPU address signal CPU address signal CPU address signal CPU address signal
--5--
CXD1198AQ
Electrical Characteristics DC characteristics Item TTL input voltage CMOS input voltage High level Low level High level Low level Symbol VIH1 VIL1 VIH2 VIL2 IIL IIH Vt+ Vt- Vt+-Vt- VOH1 VOL1 VOH2 VOL2 VIH3 VIL3 LVth RFB VOH3 VOL3 (VDD=5.00.5 V, VSS=0 V, Topr=-20 to +75 C) Conditions Min. 2.2 0.7VDD VIL=0 V VIH=VDD -40 40 0.8VDD -100 100 0.3VDD -240 240 0.2VDD 0.6 IOH1=-2 mA IOL1=4 mA IOH2=-6 mA IOL2=4 mA VDD-0.8 0.4 VDD-0.8 0.4 0.7VDD 0.3VDD VIN=VSS or VDD IOH3=-3 mA IOL3=3 mA 250 k VDD/2 VDD/2 1M 2.5 M VDD/2 Typ. Max. 0.8 Unit V V V V A A V V V V V V V V V V V V
Input current of pull-up input Input current of pull-down input CMOS Schmitt High level input voltage Low level Hysteresis Output voltage High level Low level Charge pump High level output voltage Low level Oscillation cell Input High level voltage Low level Logic threshold Feedback resistance Output High level voltage Low level CMOS input pins CMOS Schmitt input pins Pull-up input pins PUll-down input pin Charge pump output pins Oscillation cell input pin Oscillation cell output pin : : : : : : :
DDRQ, SBSY, SBSI, A5 to 0, XWR, XRD, XCS, INTP WFCK, XRST XHCS, HA1, HA0 HMDS HINT, BA9 to 0 XTL1 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 k resistance. Input/output capacitance Item Input pin Output pin I/O pin Symbol CIN COUT CI/O Min. Typ. VDD=VI=0 V, f=1 MHz Max. 9 11 11 Unit pF pF pF
--6--
CXD1198AQ
AC characteristics 1. CPU interface (1) Read
A0 to 5
(Ta=-20 to +75 C, VDD=5 V10 %, output load=75 pF, f24 MHz)
XCS tSRC tRRL XRD tSRA tHRC tHRA
DB0 to 7
tDRD
tFRD
Item Address setup time (vs. XRD) Chip select setup time (vs. XRD) Data delay time (vs. XRD) Data float time (vs. XRD) Chip select hold time (vs. XRD) Address hold time (vs. XRD) Low-level XRD pulse width
Symbol tSRA tSRC tDRD tFRD tHRC tHRA tRRL
Min. 20 0 3 0 0 100
Typ.
Max.
80 10
Unit ns ns ns ns ns ns ns
(2) Write
A0 to 5
XCS tSCW tWWL XWR tSAW tHWA tHWC
DB0 to 7 tSDW tHWD
Item Address setup time (vs. XWR) Chip select setup time (vs. XWR) Data setup time (vs. XWR) Data hold time (vs. XWR) Chip select hold time (vs. XWR) Address hold time (vs. XWR) Low-level XWR pulse width
Symbol tSAW tSCW tSDW tHWD tHWC tHWA tWWL
Min. 20 0 40 10 0 0 50
Typ.
Max.
Unit ns ns ns ns ns ns ns
--7--
CXD1198AQ
2. DRAM interface (1) Read
tRC tRAS XRAS tRCD XCAS tASR BA0 to 9 tRAD tRAH tASC tCAH tCAS
ROW
COLUMN
XWE
high tRDD tCDH
BB0 to 7
(2) Write
tRC tRAS XRAS tRCD XCAS tASR BA0 to 9 tRAD tRAH tASC tCAH tCAS
ROW
COLUMN tWCS tWCH tDH
XWE tDS BB0 to 7
Item Random read/write cycle time RAS pulse width RAS/CAS delay time CAS pulse width 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 Hold time from CAS Write command setup time Write command hold time Data output setup time Data output hold time TW is 1/f here.
Symbol tRC tRAS tRCD tCAS tRAD tASR tRAH tASC tCAH tRDD tCDH tWCS tWCH tDS tDH --8--
Min. 2TW+5
Typ. 4TW TW
Max. 2TW+19 TW+19 TW/2+17
TW+5 TW/2+5 10 TW/2 0 TW/2 0 10 20 10 20
2TW
Unit ns ns ns ns ns ns ns ns ns ns ns ns ns ns ns
CXD1198AQ
3. Host interface (1) Read
HA0 to 5
XHCS tSRC tRRL XHRD tSRA HDB0 to 7 tHRA tHRC
tDRD
tFRD
Item Address setup time (vs. XHRD) Chip select setup time (vs. XHRD) Data delay time (vs. XHRD) Data float time (vs. XHRD) Chip select hold time (vs. XHRD) Address hold time (vs. XHRD) Low-level XHRD pulse width
Symbol tSRA tSRC tDRD tFRD tHRC tHRA tRRL
Min. 20 0 2 0 0 100
Typ.
Max.
70
Unit ns ns ns ns ns ns ns
(2) Write
HA0 to 5
XHCS tSCW tWWL XHWR tSAW HDB0 to 7 tSDW tHWD tHWA tHWC
Item Address setup time (vs. XHWR) Chip select setup time (vs. XHWR) Data setup time (vs. XHWR) Data hold time (vs. XHWR) Chip select hold time (vs. XHWR) Address hold time (vs. XHWR) Low-level XHWR pulse width
Symbol tSAW tSCW tSDW tHWD tHWC tHWA tWWL
Min. 20 0 40 10 0 0 50
Typ.
Max.
Unit ns ns ns ns ns ns ns
--9--
CXD1198AQ
4. Host DMA cycle (80-series bus) (1) Read
HDRQ tDAR1 XHAC tSAR XHRD tDRD HDB0 to 7 tFRD tRRL tHRA tDAR2
Item 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)
Symbol tDAR1 tDAR2 tSAR tHRA tRRL tDRD tFRD
Min.
Typ.
Max. 35 55
0 0 100 70 0
Unit ns ns ns ns ns ns ns
(2) Write
HDRQ tDAR1 XHAC tSAW XHWR tSDW HDB0 to 7 tHWD tWWL tHWA tDAR2
Item HDRQ fall time (vs. XHAC) HDRQ rise time (vs. XHAC) 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)
Symbol tDAR1 tDAR2 tSAW tHWA tWWL tSDW tHWD
Min.
Typ.
Max. 35 55
0 0 50 40 10
Unit ns ns ns ns ns ns ns
--10--
CXD1198AQ
5. Host DMA cycle (SCSI bus) (1) Read
SDRQ
tDDA tDARS
XSAC tDAR XHRD tSRD HDB0 to 7 tHRD tRRL tDRA
Item 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 is 1/f here.
Symbol tDDA tDARS tDAR tDRA tRRL tSRD tHRD
Min.
Typ.
Max. TW+31 TW
0 23 2TW 15 5
Unit ns ns ns ns ns ns ns
(2) Write
SDRQ
tDDA tDARS
XSAC tDAW XHWR tDWD HDB0 to 7 tFWD tWWL tDWA
Item 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) TW is 1/f here.
Symbol tDDA tDARS tDAW tDWA tWWL tDWD tFWD
Min.
Typ.
Max. TW+31 TW 0
24 2TW 38 10
Unit ns ns ns ns ns ns ns
--11--
CXD1198AQ
6. Drive interface (1) Read
A0 to 1
XCS tSCR XRD tDAD DA0 to 1 tDRR1 XDCS, XDRD tFRD DDB0 to 7 tDDD DB0 to 7 tDRR2
(2) Write
XCS tSCW XWR tHWD DB0 to 1 tDWW1 XDCS, XDWR tDDD2 DDB0 to 7 tFWD tDWW2
Item 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) Chip select setup time (vs. XWR) Drive write signal delay time (vs. XWR) Data delay time (vs. DB0 to 7) Data hold time (vs. XWR) Drive write signal delay time (vs. XWR) Data float time (vs. XWR) TW is 1/f here.
Symbol tDAD tSCR tDRR1 tDDD tDDR2 tFRD tSCW tDWW1 tDDD2 tHWD tDWW2 tFWD
Min. 0
Typ.
Max. 45 35 70
27 0 0 30 70 10 24 TW
Unit ns ns ns ns ns ns ns ns ns ns ns ns
--12--
CXD1198AQ
7. Drive DMA cycle (1) Read
DDRQ
tDDA tDARS
XDAC tDAR XDRD tSRD DDB0 to 7 tHRD tRRL tDRA
Item 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 is 1/f here.
Symbol tDDA tDARS tDAR tDRA tRRL tSRD tHRD
Min.
Typ.
Max. TW+32 TW 8 TW-5
0 2TW+10 25 0
Unit ns ns ns ns ns ns ns
(2) Write
DDRQ
tDDA tDAR
XDAC tDAW XDWR tDDW DDB0 to 7 tFWD tWWL tDWA
Item 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) TW is 1/f here.
Symbol tDDA tDARS tDAW tDWA tWWL tDDW tFWD
Min.
Typ.
2TW+5 10
Max. TW+32 TW 5 TW 2TW+18 60
Unit ns ns ns ns ns ns ns
--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. DDBP (Drive Data Pointer : bidirectional) Error pointer input/output signal connected with the CXD1186BQ; connected to the HDBE pin of the CXD1186BQ. 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. 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. 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. DA0, 1 (Drive Address : output) Address output signals to the CXD1186BQ; connected to the HA0 and 1 pins of the CXD1186BQ. DDRQ (Drive DMA Request : positive logic input) DMA request input signal from the CXD1186BQ; connected to the HDRQ pin of the CXD1186BQ. 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.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
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). 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.
(2)
--14--
CXD1198AQ
(3)
HDRQ/XSAC (Host DMA Request/SCSI DMA Acknowledge : output) HMDS = low : DMA request positive logic signal to host HMDS = high : DMA acknowledge negative logic signal to SCSI control LSI (CXD1185) XHAC/SDRQ (Host DMA Acknowledge/SCSI DMA Request : input) HMDS = low : DMA acknowledge negative logic signal from host HMDS = high : DMA request positive logic signal from SCSI control LSI (CXD1185) XHWR (Host Write Strobe : negative logic input/output) HMDS = low : Data write strobe negative logic input signal from host HMDS = high : Data write strobe negative logic output signal to SCSI control LSI (CXD1185); connected to the /WED pin of SCSI control LSI (CXD1185) XHRD (Host Read Strobe : negative logic input/output) HMDS = low : Data read strobe negative logic input signal from host HMDS = high : Data read strobe negative logic output signal to SCSI control LSI (CXD1185); connected to the /RED pin of SCSI control LSI (CXD1185) XHCS (Host Chip Select : negative logic input) Pulled up by standard 50 k resistance in the IC. HMDS = low : Chip select negative logic input signal of host HMDS = high : Not used; set to high or open HA0, 1 (Host Address : inputs) Pulled up by standard 50 k resistance in the IC. HMDS = low : Address input signal from host HMDS = high : Not used; set to high or open HINT (Host Interrupt : output) Open drain output. HMDS = low: Interrupt request signal to host HMDS = high : Not used
(4)
(5)
(6)
(7)
(8)
(9)
(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 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--
(2)
CXD1198AQ
(3)
XRAS (Row Address Strobe : negative logic output) Strobe negative logic output signal for row address in dynamic RAM. XCAS (Column Address Strobe : negative logic output) Strobe negative logic output signal for column address in dynamic RAM. 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.
(4)
(5)
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. SBSY (Subcode Sync : positive logic input) Subcode frame sync input signal from the CXD2500; connected to the SCOR pin of the CXD2500. SBSI (Subcode Serial Input : input) Channel P-W subcode data input signal from the CXD2500; connected to the SBSO pin of the CXD2500. 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.
(2)
(3)
(4)
1-5. CPU Interface (19 pins) (1) DB0 to 7 (CPU Data Bus : input/output) 8-bit CPU data bus signals 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 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. 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.
(2)
(3)
(4)
--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. INT (CPU Interrupt : output) Interrupt request signal to CPU 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.
(6)
(7)
1-6. Clock Signals (3 pins) (1) (2) XTL1 (X'tal1 : input) 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. HCLK (Half Clock : output) Half frequency divided clock of XTL2.
(3)
1-7. Reset Signals (5 pins) (1) XRST (Reset : negative logic input) Power on reset negative logic input signal XSRS (SCSI Bus Reset : negative logic input) SCSI bus reset negative logic input signal 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 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 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--
(2)
(3)
(4)
(5)
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 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
(2)
--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". CPU DMA Data Register (03H) Data is written into this register when it is written from the CPU into the buffer memory. 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
(4)
(5)
--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 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. 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". Reserved Reserved Reserved 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. Bit 3 : Bit 4 : Bit 5 : Bit 6 :
(7)
(8)
--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 x 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. 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
(2)
--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 CPU DMA Data Register (03H) The data read from the buffer memory by DMA with the CPU is written into this register. 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 Host Command Register (05H) This register is used to know the commands from the host when the HMDS pin is low. 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.
(4)
(5)
(6)
(7)
--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. Drive DMA Address Counter Lower (08H)
(9)
(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
bit3
bit2 SCSI IC Reset
bit1 Drive Reset
bit0 BMM Reset
DMA Control Register - 1 (01H) bit7 bit6 bit5
bit4 Sync Pattern Enable
bit3 Pointer Transfer Mode
bit2 Pointer Transfer Enable
bit1 Drive DMA Source
bit0 Drive DMA Enable
DMA Control Register - 2 (02H) bit7 bit6 bit5 Subcode ECC Strategy Subcode ECC Enable Subcode DMA Enable
bit4 Subcode Decode Enable
bit3 CPU DMA Source
bit2 CPU DMA Enable
bit1 Host DMA Source
bit0 Host DMA Enable
CPU DMA Data Register (03H) bit7 bit6 bit5 D7 D6 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 D0
Interrupt Mask Register (04H) bit7 bit6 bit5 Sub Q interrupt Pointer DMA Complete
bit4 Host Command
bit3 Host Chip Reset Issued
bit2 Host DMA Complete
bit1 Subcode DMA Complete
bit0 Drive DMA Complete
Clear Interrupt Register (05H) bit7 bit6 bit5 Sub Q interrupt Pointer DMA Complete
bit4 Host Command
bit3 Host Chip Reset Issued
bit2 Host DMA Complete
bit1 Subcode DMA Complete
bit0 Drive DMA Complete
Host Result Register (06H) bit7 bit6 D7 D6
bit5 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 D0
--27--
CXD1198AQ
Host Interface Control Register (07H) bit7 bit6 bit5 Clear Busy Clear Result
bit4
bit3
bit2 Host Interrupt #3
bit1 Host Interrupt #2
bit0 Host Interrupt #1
Drive DMA Address Counter Lower (08H) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Drive DMA Address Counter Middle (09H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Drive DMA Address Counter Upper (0AH) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Drive DMA Transfer Counter Lower (0BH) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Drive DMA Transfer Counter Upper (0CH) bit7 bit6 bit5 bit4
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Pointer DMA Address Counter Lower (0DH) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
--28--
CXD1198AQ
Pointer DMA Address Counter Middle (0EH) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Pointer DMA Address Counter Upper (0FH) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Subcode P-W DMA Address Counter Lower (10H) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Subcode P-W DMA Address Counter Middle (11H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Subcode P-W DMA Address Counter Upper (12H) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Host DMA Address Counter Lower (13H) bit7 bit6 bit5 A7 A6 A5
bit4 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Host DMA Address Counter Middle (14H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
--29--
CXD1198AQ
Host DMA Address Counter Upper (15H) bit7 bit6 bit5
bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Host DMA Transfer Counter Lower (16H) bit7 bit6 bit5 A7 A6 A5
bit4 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Host DMA Transfer Counter Upper (17H) bit7 bit6 bit5 A15 A14 A13
bit4 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
CPU DMA Address Counter Lower (18H) bit7 bit6 bit5 A7 A6 A5
bit4 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
CPU DMA Address Counter Middle (19H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
CPU DMA Address Counter Upper (1AH) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Configuration Register (1BH) bit7 bit6 bit5 HCLK Disable Mode
bit4 Error Pointer Write Data
bit3 Buffer Memory Size 2
bit2 Buffer Memory Size 1
bit1 Packet Mode
bit0 CDL3X Series
--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 Reset Signal Sync
bit4 HCLK Reset
bit3 TSTE
bit2 TSTD
bit1 REF Block Test
bit0 SUB Block Test
--31--
CXD1198AQ
Read register BMM Status Register (00H) bit7 bit6 Subcode ECC Status #3 Subcode ECC Status #2
bit5
bit4 Subcode ECC Status #0
bit3 Pointer Status Flag
bit2
bit1
bit0 Reset Condition
Subcode ECC Status #1
CPU Buffer CPU Buffer Write Read Ready Ready
DMA Status Register - 1 (01H) bit7 bit6 bit5
bit4 Sync Pattern Enable
bit3 Pointer Transfer Mode
bit2 Pointer Transfer Enable
bit1 Drive DMA Source
bit0 Drive DMA Enable
DMA Status Register -2 (02H) bit7 bit6 bit5 Subcode ECC Strategy Subcode ECC Enable Subcode DMA Enable
bit4
bit3 CPU DMA Source
bit2 CPU DMA Enable
bit1 Host DMA Source
bit0 Host DMA Enable
CPU DMA Data Register (03H) bit7 bit6 bit5 D7 D6 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 D0
Interrupt Status Register (04H) bit7 bit6 bit5 Sub Q interrupt Pointer DMA Complete
bit4 Host Command
bit3 Host Chip Reset Issued
bit2 Host DMA Complete
bit1 Subcode DMA Complete
bit0 Drive DMA Complete
Host Command Register (05H) bit7 bit6 bit5 D7 D6 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 D0
Host Parameter Register (06H) bit7 bit6 bit5 D7 D6 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 D0
--32--
CXD1198AQ
Hot Interface Status Register (07H) bit7 bit6 bit5 Busy Status Result Empty Result Write Ready
bit4 Parameter Full
bit3 Parameter Read Ready
bit2 Host Interrupt #3
bit1 Host Interrupt #2
bit0 Host Interrupt #2
Drive DMA Address Counter Lower (08H) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Drive DMA Address Counter Middle (09H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Drive DMA Address Counter Upper (0AH) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Drive DMA Transfer Counter Lower (0BH) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Drive DMA Transfer Counter Upper (0CH) bit7 bit6 bit5 bit4
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Pointer DMA Address Counter Lower (0DH) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
--33--
CXD1198AQ
Pointer DMA Address Counter Middle (0EH) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Pointer DMA Address Counter Upper (0FH) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Subcode P-W DMA Address Counter Lower (10H) bit7 bit6 bit5 bit4 A7 A6 A5 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Subcode P-W DMA Address Counter Middle (11H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
Subcode P-W DMA Address Counter Upper (12H) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Host DMA Address Counter Lower (13H) bit7 bit6 bit5 A7 A6 A5
bit4 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Host DMA Address Counter Middle (14H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
--34--
CXD1198AQ
Host DMA Address Counter Upper (15H) bit7 bit6 bit5
bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
Host DMA Transfer Counter Lower (16H) bit7 bit6 bit5 A7 A6 A5
bit4 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
Host DMA Transfer Counter Upper (17H) bit7 bit6 bit5 A15 A14 A13
bit4 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
CPU DMA Address Counter Lower (18H) bit7 bit6 bit5 A7 A6 A5
bit4 A4
bit3 A3
bit2 A2
bit1 A1
bit0 A0
CPU DMA Address Counter Middle (19H) bit7 bit6 bit5 bit4 A15 A14 A13 A12
bit3 A11
bit2 A10
bit1 A9
bit0 A8
CPU DMA Address Counter Upper (1AH) bit7 bit6 bit5 bit4
bit3 A19
bit2 A18
bit1 A17
bit0 A16
--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. 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.
(2)
--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 0 1 1 1 1 1 1 1
Bit 1 x 0 1 1 1 1 1 1
Bit 2 x x 0 0 1 1 1 1
Bit 3 x x x x 0 0 1 1
Bit 4 x x 0 1 0 1 0 1
Description of DMA transfer DMA transfer prohibited DMA transfer of main channel data and error pointers from buffer memory to the CXD1186BQ Writing of main channel data from the CXD1186BQ into buffer memory 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. 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. 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. 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.
(2)
(3)
(4)
--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. 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.
(2)
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. 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--
(2)
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 D7 D6
bit5 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 0
Parameter Register (01H) bit7 bit6 D7 D6
bit5 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 0
Write Data Register (02H) bit7 bit6 D7 D6
bit5 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 0
Control Register (03H) bit7 bit6 Chip Reset Clear FIFO
bit5 ENINT #3
bit4 ENINT #2
bit3 ENINT #1
bit2 INTCLR #3
bit1 INTCLR #2
bit0 INTCLR #2
Read registers Status Register (00H) bit7 bit6 Busy Status
Data Request Status
bit5 ENINTST #3
bit4 ENINTST #2
bit3 ENINTST #1
bit2 INTSTS #3
bit1 INTSTS #2
bit0 INTSTS #1
Result Register (01H) bit7 bit6 D7 D6
bit5 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 0
Read Data Register (02H) bit7 bit6 D7 D6
bit5 D5
bit4 D4
bit3 D3
bit2 D2
bit1 D1
bit0 0
FIFO Status Register (03H) bit7 bit6
bit5
bit4
bit3 Result Full --43--
bit2
Result Read Ready
bit1 Parameter Empty
bit0
Parameter Write Ready
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. Data transfer between host and buffer memory This IC contains 2 x 8-bit FIFO registers (WRDATA, RDDATA), and data can be transferred at 4 MB/s maximum.
(3)
(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. 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.
(3)
--46--
CXD1198AQ
Buffer Memory 8k x 9Bit S-RAM BDB0-7 BA0-12
Buffer Memory 64k/256k/1M Byte D-RAM BDB0-7
XMWR
XMOE
BSBP
XCAS
XRAS
DDB0-7, P DATA BCLK LRCK C2PO HBD0-7, P XHAC HDRQ XHWR/XHRD XHCS/DA0, 1 XRST CXD1186BQ XDAC DDRQ XDWR/XDRD XDCS/DA0, 1 XDRS WFCK SCOR SBSO EXCK DB0-7 DB0-7 XRD XWR XCRS XCS INT A0-5 CXD1198AQ
XWE
BA0-9
HDB0-7
XHWR XHRD XHCS HA0, 1 HINT HMDS XHRS
XRD XWR
CXD2500
WFCK SCOR SBSO EXCK
A0-3
XCS INT
Reset DB0-7 A0-5 XRD XWR INT1 INT2 XCS1 XCS2 Address Decoder A6-15 Control CPU
Fig. 4-1 Example of connection with Intel 80-series host bus
--47--
To 80-series HOST BUS
CXD1198AQ
START
Interrupt Processing
Read Status Register
Read Interrupt Status
Busy Status ?
YES
Host Command ="1" ?
NO
NO
YES
Write Parameter
Read Host Command
Write Command
Read Host Parameter
Interrupt Clear
Command Start Read Status Register
Return NO
Interrupt Status
YES
Command Completed ? YES
NO
Read Result
Write Result END
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
n=0?
NO
YES
END
Fig. 4-3 Example of data transfer control in I/O mode
--49--
CXD1198AQ
Buffer Memory 64k/256k/1M Byte D-RAM
XCAS
BDB0-7
BA0-9
XRAS
XWE
DDB0-7, P To CXD1186BQ or CXD2500 XDAC DDRQ XDWR/XDRD XDCS/DA0, 1 XDRS WFCK SCOR SBSO EXCK DB0-7 XCRS XRST XRD XWR A0-5 XCS INT
HDB0-7
CXD1198AQ
XHAC/SDRQ XDRQ/XSAC XHWR XHRD HMDS XHRS HCLK XSRS
CXD1185
DB0-7 Control CPU
XCS XWE XRD
A0-3
DB0-7 A0-5 XRD XWR INT1 XCS1 XCS2 Address Decoder
Refer to FIg. 4-1 for the example of connection on the CXD1186BQ and CXD2500 sides.
A6-15
Fig. 4-4 Example of connection with SCSI control LSI
--50--
IRQ
CXD1198AQ
Package Outline
Unit : mm
100PIN QFP (PLASTIC)
23.9 0.4 + 0.4 20.0 - 0.1 80 51 + 0.1 0.15 - 0.05
81
50
+ 0.4 14.0 - 0.1 17.9 0.4
15.8 0.4
A 100 31
1
0.65
+ 0.15 0.3 - 0.1
30 0.24 M + 0.35 2.75 - 0.15
+ 0.2 0.1 - 0.05
0.15
DETAIL A
0.8 0.2
0 to 15
(16.3)
PACKAGE STRUCTURE
PACKAGE MATERIAL SONY CODE EIAJ CODE JEDEC CODE QFP-100P-L01 QFP100-P-1420 LEAD TREATMENT LEAD MATERIAL PACKAGE MASS EPOXY RESIN SOLDER PLATING 42/COPPER ALLOY 1.7g
--51--


▲Up To Search▲   

 
Price & Availability of CXD1198AQ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X