Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
Intel is a trademark of Intel Corporation.
PC Card is a trademark of Personal Computer Memory Card International Association (PCMCIA).
TI is a trademark of Texas Instruments Incorporated.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
The TI PCI1251A is a high-performance PC Card controller with a 32-bit PCI interface. The device supports two
independent PC Card sockets compliant with the 1997 PC Card Standard. The PCI1251A provides a rich
feature set that makes it the best choice for bridging between PCI and PC Cards in both notebook and desktop
computers. The 1997 PC Card Standard retains the 16-bit PC Card specification defined in PCMCIA
Release 2.2, and defines the new 32-bit PC Card, CardBus, capable of full 32-bit data transfers at 33 MHz. The
PCI1251A supports any combination of 16-bit and CardBus PC Cards in the two sockets, powered at 5 V or
3.3 V, as required.
The PCI1251A is compliant with the latest
the PCI Local Bus Specification 2.2, and its PCI interface can act as either a PCI master device or a PCI slave
device. The PCI bus mastering is initiated during 16-bit PC Card direct memory access (DMA) transfers or
CardBus PC Card bridging transactions.
Multiple system-interrupt signaling options are provided and they include:
D
Parallel PCI interrupts
D
Parallel ISA interrupts
D
Serialized ISA interrupts
D
Serialized ISA and PCI interrupts
Additionally, general-purpose inputs and outputs are provided for the board designer to implement sideband
functions.
All card signals are internally buffered to allow hot insertion and removal without external buffering. The
PCI1251A is register compatible with the Intel 82365SL-DF ExCA controller . The PCI1251A internal data path
logic allows the host to access 8-, 16-, and 32-bit cards using full 32-bit PCI cycles for maximum performance.
Independent buffering and a pipeline architecture provide an unsurpassed performance level with sustained
bursting. The PCI1251A can also be programmed to accept fast posted writes to improve system-bus utilization.
The PCI1251A provides an internally buffered zoom video (ZV) path. This reduces the design effort of PC board
manufacturers to add a ZV-compatible solution and guarantees compliance with the CardBus loading
specifications. Many other features, such as socket activity light-emitting diode (LED) outputs, are designed into
the PCI1251A. These features are discussed in detail throughout the design specification.
An advanced complementary metal-oxide semiconductor (CMOS) process is used to achieve low
system-power consumption while operating at PCI clock rates up to 33 MHz. Several low-power modes enable
the host power management system to further reduce power consumption.
PCI Bus Power Management Specification
. It is also compliant with
Unused PCI1251A inputs must be pulled up using a 43 kW resistor.
2
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
system block diagram
A simplified system block diagram using the PCI1251A is provided below. The zoomed video (ZV) capability
can be used to route the ZV data directly to the VGA controller.
The PCI interface includes all address/data and control signals for PCI protocol. The 68-pin PC Card interface
includes all address/data and control signals for CardBus and 16-bit (R2) protocols. When zoomed video (ZV)
is enabled (in 16-bit PC Card mode), 23 of the 68 signals are redefined to support the ZV protocol.
The interrupt interface includes terminals for parallel PCI, parallel ISA, and serialized PCI and ISA signaling.
The ring indicate terminal is included in the interrupt interface because its function is to perform system wake
up on incoming PC Card modem rings. Other miscellaneous system interface terminals available on the
PCI1251A include:
D
Programmable general purpose multifunction terminals
D
SUSPEND, RI_OUT/PME (power management control signal)
D
SPKROUT
PCI Bus
Activity LED’s
CLKRUN
TPS2206
Power
Switch
PC Card
Socket A
PC Card
Socket B
NOTE: The PC Card interface is 68 pins for CardBus and 16-bit PC Cards. In zoomed-video
mode, 23 pins are used for routing the zoomed video signals to the VGA controller.
3
23 for ZV
(See Note)
23 for ZV
68
68
PCI1251A
Enable
ZV
IRQSER
†
DMA
PME
Zoom Video
South Bridge
19 Video
4 Audio
†
Interrupt Routing Options:
1) Serialized, including PCI and ISA
2) Serialized ISA and parallel PCI
3) Parallel PCI and parallel ISA
4) Parallel PCI interrupts only
Embedded
Controller
VGA
Controller
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
3
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
signal names and terminal assignments
Signal names and their terminal assignments are shown in Tables 1 through 4 sorted alpha-numerically by the
assigned terminal.
Table 1. GFN Terminals Sorted Alpha-Numerically for CardBus and 16-Bit Signals
The terminals are grouped in tables by functionality, such as PCI system function, power-supply function, etc. The
terminal numbers are also listed for convenient reference.
Table 5. Power Supply
TERMINAL
NAMEGFN NO.GJG NO.
B14, D4, D7, F5, F9, G16, H5,
J19, K5, N2, N14, R13, U1, V6,
V9, W11
A8, F6, F12, F14, G2, J6, K19,
M6, P5, P8, R15, V12
Device ground terminals
Power supply terminal for core logic (3.3 V)
Clamp voltage for PC Card A interface. Indicates Card A
signaling environment.
Clamp voltage for PC Card B interface. Indicates Card B
signaling environment.
Clamp voltage for interrupt subsystem interface and
miscellaneous I/O. Indicates signaling level of the following
inputs and shared outputs: IRQSER, PCGNT
SUSPEND
INTA
, SPKROUT, GPIO1:0, IRQMUX7–IRQMUX0,
, INTB, CLOCK, DATA, LATCH, and RI_OUT.
, PCREQ,
GND
V
V
CCA
V
CCB
V
CCI
V
CCP
V
CCZ
A1, D4, D8, D13, D17, H4, H17,
N4, N17, U4, U8, U13, U17
D6, D11, D15, F4, F17, K4, L17,
CC
R4, R17, U6, U10, U15
K2, R3, W5J4, N6, W5
B16, C10, F18,A15, B10, F19
V10P9
K20, P18, V15, W20K14, N18, V14, V18Clamp voltage for PCI signaling (3.3 V or 5 V)
A4, D1D6, E4Clamp voltage for zoom video interface (3.3 V or 5 V)
TERMINAL
NAMEGFN NO.GJG NO.
CLOCKU12R11I/O
DATAV12T11O
LATCHW12V11O
I/O
TYPE
Table 6. PC Card power switch
3-line power switch clock. Information on the DA TA line is sampled at the rising edge
of CLOCK. CLOCK defaults to an input, but can be changed to a PCI1251A output by
using the P2CCLK bit in the system control register. The TPS2206 defines the
maximum frequency of this signal to be 2 MHz. If a system design defines this terminal
as an output, CLOCK requires an external pulldown resistor. The frequency of the
PCI1251A output CLOCK is derived by dividing the PCI CLK by 36.
3-line power switch data. DA TA is used to serially communicate socket power-control
information to the power switch.
3-line power switch latch. LATCH is asserted by the PCI1251A to indicate to the PC
Card power switch that the data on the DATA line is valid.
10
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
FUNCTION
Terminal Functions (Continued)
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 7. PCI system
TERMINAL
NAMEGFN NO.GJG NO.
CLKRUN
PCLKJ17J15I
PRST
J18J16I/O
J19J18I
I/O
TYPE
PCI clock run. CLKRUN is used by the central resource to request permission to stop the
PCI clock or to slow it down, and the PCI1251A responds accordingly. If CLKRUN
implemented, this pin should be tied low. CLKRUN
(KEEPCLK) in the system control register.
PCI bus clock. PCLK provides timing for all transactions on the PCI bus. All PCI signals
are sampled at the rising edge of PCLK.
PCI reset. When the PCI bus reset is asserted, PRST causes the PCI1251A to place all
output buffers in a high-impedance state and reset all internal registers. When PRST
asserted, the device is completely nonfunctional. After PRST
is in its default state. When the SUSPEND
the PRST
high-impedance state, but the contents of the registers are preserved.
, and the internal registers are preserved. All outputs are placed in a
PCI address/data bus. These signals make up the multiplexed PCI address and data bus on the
primary interface. During the address phase of a primary bus PCI cycle, AD31–AD0 contain a 32-bit
I/O
address or other destination information. During the data phase, AD31–AD0 contain data.
PCI bus commands and byte enables. These signals are multiplexed on the same PCI terminals.
During the address phase of a primary bus PCI cycle, C/BE3
During the data phase, this 4-bit bus is used as byte enables. The byte enables determine which
I/O
byte paths of the full 32-bit data bus carry meaningful data. C/BE0
C/BE1
applies to byte 1 (AD15–AD8), C/BE2 applies to byte 2 (AD23–AD16), and C/BE3 applies
to byte 3 (AD31–AD24).
PCI bus parity. In all PCI bus read and write cycles, the PCI1251A calculates even parity across
the AD31–AD0 and C/BE3
this parity indicator with a one-PCLK delay. As a target during PCI cycles, the calculated parity is
compared to the initiator’s parity indicator. A compare error results in the assertion of a parity error
(PERR
).
–C/BE0 buses. As an initiator during PCI cycles, the PCI1251A outputs
–C/BE0 define the bus command.
applies to byte 0 (AD7–AD0),
12
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
FUNCTION
Terminal Functions (Continued)
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 9. PCI Interface Control
TERMINAL
NAMEGFN NO. GJG NO.
DEVSEL
FRAME
GNT
GPIO2/LOCK
IDSELN20M18I
IRDY
PERR
REQ
SERR
STOP
TRDY
V20T18I/O
T19R18I/O
J20J14I
V19V19I/O
T18R19I/O
U18U18I/O
K17K15O
U19U19O
T17T19I/O
U20R16I/O
I/O
TYPE
PCI device select. The PCI1251A asserts DEVSEL to claim a PCI cycle as the target device.
As a PCI initiator on the bus, the PCI1251A monitors DEVSEL
target responds before timeout occurs, the PCI1251A terminates the cycle with an initiator
abort.
PCI cycle frame. FRAME is driven by the initiator of a bus cycle. FRAME is asserted to
indicate that a bus transaction is beginning, and data transfers continue while this signal is
asserted. When FRAME
PCI bus grant. GNT is driven by the PCI bus arbiter to grant the PCI1251A access to the
PCI bus after the current data transaction has completed. GNT
bus request, depending on the PCI bus parking algorithm.
PCI bus general-purpose I/O pins or PCI bus lock. GPIO2/LOCK can be configured as PCI
LOCK
and used to gain exclusive access downstream. Since this functionality is not typically
used, a general-purpose I/O may be accessed through this terminal. GPIO2/LOCK
to a general-purpose input and can be configured through the GPIO2 control register.
Initialization device select. IDSEL selects the PCI1251A during configuration space
accesses. IDSEL can be connected to one of the upper 24 PCI address lines on the PCI bus.
PCI initiator ready. IRDY indicates the PCI bus initiator’s ability to complete the current data
phase of the transaction. A data phase is completed on a rising edge of PCLK where both
IRDY
and TRDY are asserted. Until IRDY and TRDY are both sampled asserted, wait states
are inserted.
PCI parity error indicator. PERR is driven by a PCI device to indicate that calculated parity
does not match PAR when PERR is enabled through bit 6 of the command register.
PCI bus request. REQ is asserted by the PCI1251A to request access to the PCI bus as an
initiator.
PCI system error. SERR is an output that is pulsed from the PCI1251A when enabled
through the command register, indicating a system error has occurred. The PCI1251A need
not be the target of the PCI cycle to assert this signal. When SERR
control register, this signal also pulses, indicating that an address parity error has occurred
on a CardBus interface.
PCI cycle stop signal. STOP is driven by a PCI target to request the initiator to stop the
current PCI bus transaction. STOP
by target devices that do not support burst data transfers.
PCI target ready. TRDY indicates the primary bus target’s ability to complete the current
data phase of the transaction. A data phase is completed on a rising edge of PCLK when
both IRDY
inserted.
and TRDY are asserted. Until both IRDY and TRDY are asserted, wait states are
is deasserted, the PCI bus transaction is in the final data phase.
is used for target disconnects and is commonly asserted
Parallel PCI interrupt. INT A can be optionally mapped to GPI03 when parallel PCI interrupts
are used.
See
interrupt subsystem
to a general-purpose input.
Serial interrupt signal. IRQSER provides the IRQSER-style serial interrupting scheme.
Serialized PCI interrupts can also be sent in the IRQSER stream. See
on page 32 for details on interrupt signaling. This terminal can be used to signal PCI INTB
when one of the parallel interrupt modes is selected in the device control register.
Interrupt request/secondary functions multiplexed. The primary function of these terminals
is to provide the ISA-type IRQ signaling supported by the PCI1251A. These interrupt
multiplexer outputs can be mapped to any of 15 IRQs. The device control register must be
programmed for the ISA IRQ interrupt mode and the IRQMUX routing register must have
the IRQ routing programmed before these terminals are enabled.
All of these terminals have secondary functions, such as PCI INTB
request/grant, ring indicate output, and zoom video status, that can be selected with the
appropriate programming of this register. When the secondary functions are enabled, the
respective terminals are not available for IRQ routing.
See the IRQMUX routing register for programming options.
Ring Indicate Out and Power Management Event Output. Terminal provides an output for
ring-indicate or PME
on page 32 for details on interrupt signaling. GPIO3/INTA defaults
interrupt subsystem
, PC/PCI DMA
signals.
T able 11. PC/PCI DMA
PC/PCI DMA grant. PCGNT is used to grant the DMA channel to a requester in a system
supporting the PC/PCI DMA scheme.
Interrupt request MUX 6. When configured for IRQMUX6, this terminal provides the IRQMUX6
interrupt output of the interrupt multiplexer, and can be mapped to any of 15 ISA-type IRQs.
IRQMUX6 takes precedence over PCGNT
PC/PCI DMA.
This terminal is also used for the serial EEPROM interface.
PC/PCI DMA request. PCREQ is used to request DMA transfers as DREQ in a system
supporting the PC/PCI DMA scheme.
Interrupt request MUX 7. When configured for IRQMUX7, this terminal provides the IRQMUX7
interrupt output of the interrupt multiplexer, and can be mapped to any of 15 ISA-type IRQs.
IRQMUX7 takes precedence over PCREQ
PC/PCI DMA.
This terminal is also used for the serial EEPROM interface.
ZV_PCLKE1E2IOIS16OPixel clock to the zoom video port
ZV_LRCLKE3E5INPACKOAudio LRCLK PCM
ZV_SDATAE2E1SPKROAudio SDATA PCM
NCF1F4OReserved. No connection.
ZV_RSVD
ZV_RSVD
GFN
GJG NO.
NO.
A6G7A10O
C7A7A11O
A3
B4
C5
B5
C6
D7
A5
B6
D2
C3
B1
B2
A2
C4
B3
D5
C1
E4
B5
A5
E6
B6
A6
F7
E7
B7
C1
A2
B2
A3
B3
A4
B4
D5
D2
D1
I/O AND MEMORY
INTERFACE
SIGNAL
A20
A14
A19
A13
A18
A8
A17
A9
A25
A12
A24
A15
A23
A16
A22
A21
A5
A4
TYPE
Horizontal sync to the zoom video port
Vertical sync to the zoom video port
OVideo data to the zoom video port in YV:4:2:2 format
OVideo data to the zoom video port in YV:4:2:2 format
Reserved. No connection in the PC Card. ZV_RSVD1 and ZV_RSVD0
O
are put into the high-impedance state by host adapter.
FUNCTION
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
15
PCI1251A GFN/GJG
I/O
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Terminal Functions (Continued)
TERMINAL
NAMEGFN NO.
GPIO0/LEDA1V11T10I/O
GPIO1/LEDA2W11V10I/O
SPKROUT
SUSPEND
Y10P10O
Y11W10I
GJG
NO.
TYPE
Table 13. Miscellaneous
FUNCTION
GPIO0/socket activity LED indicator 1. When GPIO0/LEDA1 is configured as LEDA1, it
provides an output indicating PC Card socket 0 activity. Otherwise, GPIO0/LEDA1 can be
configured as a general-purpose input and output, GPIO0. The zoom video enable signal
(ZV_STAT) can also be routed to this signal through the GPIO0 control register.
GPIO0/LEDA1 defaults to a general-purpose input.
GPIO1/socket activity LED indicator 2. When GPIO1/LEDA2 is configured as LEDA2, it
provides an output indicating PC Card socket 1 activity. Otherwise, GPIO1/LEDA2 can be
configured as a general-purpose input and output, GPIO1. A CSC interrupt can be
generated on a GPDATA change, and this input can be used for power switch overcurrent
(OC) sensing. See
to a general-purpose input.
Speaker output. SPKROUT is the output to the host system that can carry SPKR or
CAUDIO through the PCI1251A from the PC Card interface. SPKROUT is driven as the
exclusive-OR combination of card SPKR
Suspend. SUSPEND is used to protect the internal registers from clearing when PRST is
asserted. See
GPIO1 control register
SUSPEND mode
for programming details. GPIO1/LEDA2 defaults
//CAUDIO inputs.
for details.
16
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
FUNCTION
Terminal Functions (Continued)
Table 14. 16-bit PC Card Address and Data (slots A and B)
TERMINAL
GFN NO.GJG NO.
NAME
D15
D14
D13
D12
D10
†
Terminal name for slot A is preceded with A_. For example, the full name for terminal T4 is A_A25.
‡
Terminal name for slot B is preceded with B_. For example, the full name for terminal C14 is B_A25.
OPC Card address. 16-bit PC Card address lines. A25 is the most-significant bit.
I/OPC Card data. 16-bit PC Card data lines. D15 is the most-significant bit.
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
17
PCI1251A GFN/GJG
FUNCTION
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Terminal Functions (Continued)
Table 15. 16-bit PC Card Interface Control (slots A and B)
TERMINAL
GFN NO.GJG NO.
NAME
BVD1
(STSCHG
BVD2
(SPKR
CD1
CD2
CE1
CE2
INPACKY1D12V1D12I
IORD
IOWR
SLOT
/RI)
)
SLOT
†
A
V6A9R6E10I
Y5D10V5D10I
G3W6H20C9F1W6H14
K1L2D20
L4E17K2E16O
M2C19L6D18O
SLOT
‡
B
A
D19J2K6
SLOT
†
F16
E19
B
B9
I/O
TYPE
‡
Battery voltage detect 1. BVD1 is generated by 16-bit memory PC Cards that
include batteries. BVD1 is used with BVD2 as an indication of the condition of the
batteries on a memory PC Card. Both BVD1 and BVD2 are kept high when the
battery is good. When BVD2 is low and BVD1 is high, the battery is weak and
should be replaced. When BVD1 is low, the battery is no longer serviceable and
the data in the memory PC Card is lost. See ExCA card status-change interrupt
configuration
register
this signal.
Status change. STSCHG
write protect, or battery voltage dead condition of a 16-bit I/O PC Card.
Ring indicate. RI is used by 16-bit modem cards to indicate a ring detection.
Battery voltage detect 2. BVD2 is generated by 16-bit memory PC Cards that
include batteries. BVD2 is used with BVD1 as an indication of the condition of the
batteries on a memory PC Card. Both BVD1 and BVD2 are high when the battery
is good. When BVD2 is low and BVD1 is high, the battery is weak and should be
replaced. When BVD1 is low, the battery is no longer serviceable and the data in
the memory PC Card is lost. See ExCA card status-change interrupt configuration
register
page 83
this signal.
Speaker. SPKR is an optional binary audio signal available only when the card
and socket have been configured for the 16-bit I/O interface. The audio signals
from cards A and B are combined by the PCI1251A and are output on SPKROUT .
DMA request. BVD2 can be used as the DMA request signal during DMA
operations to a 16-bit PC Card that supports DMA. The PC Card asserts BVD2
to indicate a request for a DMA operation.
PC Card detect 1 and PC Card detect 2. CD1 and CD2 are internally connected
to ground on the PC Card. When a PC Card is inserted into a socket, CD1
I
CD2
.
80
Card enable 1 and card enable 2. CE1 and CE2 enable even- and odd-numbered
address bytes. CE1
O
odd-numbered address bytes.
Input acknowledge. INP ACK is asserted by the PC Card when it can respond to
an I/O read cycle at the current address.
DMA request. INPACK can be used as the DMA request signal during DMA
operations from a 16-bit PC Card that supports DMA. If used as a strobe, the PC
Card asserts this signal to indicate a request for a DMA operation.
I/O read. IORD is asserted by the PCI1251A to enable 16-bit I/O PC Card data
output during host I/O read cycles.
DMA write. IORD is used as the DMA write strobe during DMA operations from
a 16-bit PC Card that supports DMA. The PCI1251A asserts IORD
transfers from the PC Card to host memory.
I/O write. IOWR is driven low by the PCI1251A to strobe write data into 16-bit I/O
PC Cards during host I/O write cycles.
DMA read. IOWR
a 16-bit PC Card that supports DMA. The PCI1251A asserts IOWR
transfers from host memory to the PC Card.
register on page 84 for enable bits. See ExCA card status-change
and the ExCA interface status register on page 80 for the status bits for
is used to alert the system to a change in the READY,
on page 84 for enable bits. See ExCA card status-change register on
and the ExCA interface status register on page 80 for the status bits for
are pulled low. For signal status, see ExCA interface status register on page
enables even-numbered address bytes, and CE2 enables
is used as the DMA write strobe during DMA operations from
and
during DMA
during
18
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
FUNCTION
PCI1251A GFN/GJG
PC CARD CONTROLLER
Terminal Functions (Continued)
Table 15. 16-bit PC Card Interface Control (slots A and B) (continued)
TERMINAL
GFN NO.GJG NO.
NAME
OEL3C20K1E18O
READY
(IREQ
REG
RESETW1C13T2D13OPC Card reset. RESET forces a hard reset to a 16-bit PC Card.
WAIT
WEP3D16N7A16O
WP
(IOIS16
VS1
VS2
†
Terminal name for slot A is preceded with A_. For example, the full name for terminal P3 is A_WE.
‡
Terminal name for slot B is preceded with B_. For example, the full name for terminal D16 is B_WE
SLOT
SLOT
†
A
)
Y4A10T5F10I
Y2B12W2D11O
V5B10R5A10I
U7B9T6A9I
)
Y3U3A11
SLOT
‡
B
B14V4R4
SLOT
†
A
F11
B13
I/O
TYPE
‡
B
Output enable. OE is driven low by the PCI1251A to enable 16-bit memory PC
Card data output during host memory read cycles.
DMA terminal count. OE
to a 16-bit PC Card that supports DMA. The PCI1251A asserts OE
for a DMA write operation.
Ready. The ready function is provided by READY when the 16-bit PC Card and
the host socket are configured for the memory-only interface. READY is driven
low by the 16-bit memory PC Cards to indicate that the memory card circuits are
busy processing a previous write command. READY is driven high when the
16-bit memory PC Card is ready to accept a new data transfer command.
Interrupt request. IREQ
that a device on the 16-bit I /O PC Card requires service by the host software.
IREQ
is high (deasserted) when no interrupt is requested.
Attribute memory select. REG remains high for all common memory accesses.
When REG
and to the I/O space (IORD
accessed section of card memory and is generally used to record card capacity
and other configuration and attribute information.
DMA acknowledge. REG
operations to a 16-bit PC Card that supports DMA. The PCI1251A asserts REG
to indicate a DMA operation. REG is used in conjunction with the DMA read
(IOWR
Bus cycle wait. WAIT is driven by a 16-bit PC Card to delay the completion of (i.e.,
extend) the memory or I/O cycle in progress.
Write enable. WE is used to strobe memory write data into 16-bit memory PC
Cards. WE
memory technologies.
DMA terminal count. WE
that supports DMA. The PCI1251A asserts WE
operation.
Write protect. WP applies to 16-bit memory PC Cards. WP reflects the status of
the write-protect switch on 16-bit memory PC Cards. For 16-bit I/O cards, WP is
used for the 16-bit port (IOIS16
I/O is 16 bits. IOIS16 applies to 16-bit I/O PC Cards. IOIS16 is asserted by the
16-bit PC Card when the address on the bus corresponds to an address to which
the 16-bit PC Card responds, and the I/O port that is addressed is capable of
16-bit accesses.
DMA request. WP can be used as the DMA request signal during DMA operations
to a 16-bit PC Card that supports DMA. If used, the PC Card asserts WP to
indicate a request for a DMA operation.
Voltage sense 1 and voltage sense 2. VS1 and VS2, when used in conjunction
I/O
with each other, determine the operating voltage of the 16-bit PC Card.
is asserted, access is limited to attribute memory (OE or WE active)
) or DMA write (IORD) strobes to transfer data.
is also used for memory PC Cards that employ programmable
is used as terminal count (TC) during DMA operations
is asserted by a 16-bit I/O PC Card to indicate to the host
or IOWR active). Attribute memory is a separately
is used as a DMA acknowledge (DACK) during DMA
is used as TC during DMA operations to a 16-bit PC Card
to indicate TC for a DMA read
) function.
.
SCPS038 – AUGUST 1998
to indicate TC
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
19
PCI1251A GFN/GJG
FUNCTION
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Terminal Functions (Continued)
Table 16. CardBus PC Card Interface System (slots A and B)
TERMINAL
GFN NO.GJG NO.
NAME
CCLKT1A17N4D15O
CCLKRUN
CRST
†
Terminal name for slot A is preceded with A_. For example, the full name for terminal T1 is A_CCLK.
‡
Terminal name for slot B is preceded with B_. For example, the full name for terminal A17 is B_CCLK.
SLOT
SLOT
†
A
U7B9T6A9O
W1C13T2D13I/O
SLOT
‡
B
SLOT
†
A
B
I/O
TYPE
‡
CardBus PC Card clock. CCLK provides synchronous timing for all transactions on
the CardBus interface. All signals except CRST
CAUDIO, CCD2:1
all timing parameters are defined with the rising edge of this signal. CCLK operates
at the PCI bus clock frequency, but it can be stopped in the low state or slowed down
for power savings.
CardBus PC Card clock run. CCLKRUN is used by a CardBus PC Card to request
an increase in the CCLK frequency, and by the PCI1251A to indicate that the CCLK
frequency is decreased. CardBus clock run (CCLKRUN
(CLKRUN
CardBus PC Card reset. CRST is used to bring CardBus PC Card-specific
registers, sequencers, and signals to a known state. When CRST
CardBus PC Card signals must be 3-stated, and the PCI1251A drives these signals
to a valid logic level. Assertion can be asynchronous to CCLK, but deassertion must
be synchronous to CCLK.
, and CVS2–CVS1 are sampled on the rising edge of CCLK, and
)
, CCLKRUN, CINT, CSTSCHG,
) follows the PCI clock run
is asserted, all
20
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
FUNCTION
Terminal Functions (Continued)
Table 17. CardBus PC Card Address and Data (slots A and B)
TERMINAL
B
E8
B8
F8
E9
D9
I/O
TYPE
‡
PC Card address and data. These signals make up the multiplexed CardBus address
and data bus on the CardBus interface. During the address phase of a CardBus cycle,
I/O
CAD31–CAD0 contain a 32-bit address. During the data phase of a CardBus cycle,
CAD31–CAD0 contain data. CAD31 is the most-significant bit.
CardBus bus commands and byte enables. CC/BE3–CC/BE0 are multiplexed on the
same CardBus terminals. During the address phase of a CardBus cycle,
CC/BE3
–CC/BE0 defines the bus command. During the data phase, this 4-bit bus is
used as byte enables. The byte enables determine which byte paths of the full 32-bit
I/O
data bus carry meaningful data. CC/BE0
applies to byte 1 (CAD15–CAD8), CC/BE2 applies to byte 2 (CAD23–CAD8), and
CC/BE3
applies to byte 3 (CAD31–CAD24).
CardBus parity. In all CardBus read and write cycles, the PCI1251A calculates even
parity across the CAD and CC/BE
PCI1251A outputs CP AR with a one-CCLK delay . As a target during CardBus cycles,
the calculated parity is compared to the initiator’s parity indicator; a compare error
results in a parity error assertion.
Table 18. CardBus PC Card Interface Control (slots A and B)
TERMINAL
GFN NO.GJG NO.
NAME
CAUDIOY5D10V5D10I
CBLOCK
CCD1
CCD2
CDEVSEL
CFRAME
CGNT
CINT
CIRDY
CPERR
CREQ
CSERR
CSTOP
CSTSCHG
CTRDY
CVS1
CVS2
†
Terminal name for slot A is preceded with A_. For example, the full name for terminal Y5 is A_CAUDIO.
‡
Terminal name for slot B is preceded with B_. For example, the full name for terminal D10 is B_CAUDIO.
SLOT
SLOT
†
A
P1B18M2A18I/O
G3H20F1H14
W6C9W6B9
R2A18N1B16I/O
U1C15P2E14I/O
P3D16N7A16I
Y4A10T5F10I
T2A16P1B15I/O
P2B17M4A17I/O
Y1D12V1D12I
V5B10R5A10I
R1C17M5B17I/O
V6A9R6E10I
P4C16N5E15I/O
Y3U3A11
SLOT
‡
B
B14V4R4
SLOT
†
A
B
F11
B13
I/O
TYPE
‡
CardBus audio. CAUDIO is a digital input signal from a PC Card to the system
speaker. The PCI1251A supports the binary audio mode and outputs a binary signal
from the card to SPKROUT.
CardBus lock. CBLOCK is used to gain exclusive access to a target.
CardBus detect 1 and CardBus detect 2. CCD1 and CCD2 are used in conjunction
w
the operating voltage and card type.
CardBus device select. The PCI1251A asserts CDEVSEL to claim a CardBus cycle
as the target device. As a CardBus initiator on the bus, the PCI1251A monitors
CDEVSEL
PCI1251A terminates the cycle with an initiator abort.
CardBus cycle frame. CFRAME is driven by the initiator of a CardBus bus cycle.
CFRAME
transfers continue while this signal is asserted. When CFRAME
CardBus bus transaction is in the final data phase.
CardBus bus grant. CGNT is driven by the PCI1251A to grant a CardBus PC Card
access to the CardBus bus after the current data transaction has been completed.
CardBus interrupt. CINT is asserted low by a CardBus PC Card to request interrupt
servicing from the host.
CardBus initiator ready. CIRDY indicates the CardBus initiator’s ability to complete
the current data phase of the transaction. A data phase is completed on a rising
edge of CCLK when both CIRDY
CTRDY
CardBus parity error. CPERR is used to report parity errors during CardBus
transactions, except during special cycles. It is driven low by a target two clocks
following that data when a parity error is detected.
CardBus request. CREQ indicates to the arbiter that the CardBus PC Card desires
use of the CardBus bus as an initiator.
CardBus system error. CSERR reports address parity errors and other system
errors that could lead to catastrophic results. CSERR
synchronous to CCLK, but deasserted by a weak pullup, and may take several
CCLK periods. The PCI1251A can report CSERR
SERR
CardBus stop. CSTOP is driven by a CardBus target to request the initiator to stop
the current CardBus transaction. CSTOP
commonly asserted by target devices that do not support burst data transfers.
CardBus status change. CSTSCHG is used to alert the system to a change in the
card’s status and is used as a wake-up mechanism.
CardBus target ready. CTRDY indicates the CardBus target’ s ability to complete the
current data phase of the transaction. A data phase is completed on a rising edge
of CCLK, when both CIRDY
are inserted.
CardBus voltage sense 1 and CardBus voltage sense 2. CVS1 and CVS2 are used
I/O
in conjunction with CCD1
to determine the operating voltage and card type.
and
until a target responds. If no target responds before timeout occurs, the
is asserted to indicate that a bus transaction is beginning, and data
are both sampled asserted, wait states are inserted.
on the PCI interface.
y card insertion and interrogate cards to determine
and CTRDY are asserted. Until CIRDY and
and CTRDY are asserted; until this time, wait states
and CCD2 to identify card insertion and interrogate cards
is deasserted, the
is driven by the card
to the system by assertion of
is used for target disconnects, and is
22
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
power supply sequencing
The PCI1251A contains 3.3-V I/O buffers with 5-V tolerance requiring a core power supply and clamp voltage.
The core power supply is always 3.3 V . The clamp voltage can be either 3.3 V or 5 V , depending on the interface.
The following power-up and power-down sequences are recommended.
The power-up sequence is:
1. Apply 3.3-V power to the core.
2. Assert PRST
to the device to disable the outputs during power up. Output drivers must be powered up in
the high-impedance state to prevent high current levels through the clamp diodes to the 5-V supply.
3. Apply the clamp voltage.
The power-down sequence is:
1. Use PRST
to switch outputs to a high-impedance state.
2. Remove the clamp voltage.
3. Remove the 3.3-V power from the core.
I/O characteristics
Figure 1 shows a 3-state bidirectional buffer. The
provides the electrical characteristics of the inputs and outputs.
NOTE:
The PCI1251A meets the ac specifications of the 1997 PC Card Standard and PCI Local Bus
Specification Rev. 2.2.
Tied for Open Drain
OE
recommended operating conditions
V
CCP
Pad
table, on page 109,
Figure 1. 3-State Bidirectional Buffer
NOTE:
Unused pins (input or I/O) must be held high or low to prevent them from floating.
clamping rail voltages
The clamping voltages are set to match whatever external environment the PCI1251A will be working with: 3.3
V or 5 V. The I/O sites can be pulled through a clamping diode to a voltage that protects the core from external
signals. The core power supply is always 3.3 V and is independent of the clamping voltages. For example, PCI
signaling can be either 3.3 V or 5 V, and the PCI1251A must reliably accommodate both voltage levels. This
is accomplished by using a 3.3-V I/O buffer that is 5-V tolerant, with the applicable clamping voltage applied.
If a system designer desires a 5-V PCI bus, V
The PCI1251A requires five separate clamping voltages because it supports a wide range of features. The five
rails are listed and defined in the
recommended operating conditions
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
can be connected to a 5-V power supply.
CCP
, on page 109.
23
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
PCI interface
This section describes the PCI interface of the PCI1251A and how the device responds and participates in PCI
bus cycles. The PCI1251A provides all required signals for PCI master/slave devices, and can operate in either
5-V or 3.3-V PCI signaling environments by connecting the V
PCI bus lock (LOCK)
The bus-locking protocol defined in the PCI specification is not highly recommended, but is provided on the
PCI1251A as an additional compatibility feature. The PCI LOCK
terminal function defaults to a general-purpose input (GPI). Note that the use of LOCK
PCI-to-CardBus bridges in the downstream direction (away from the processor).
terminals to the desired signaling level.
CCP
terminal is multiplexed with GPIO2, and the
is only supported by
PCI LOCK
asserted, nonexclusive transactions can proceed to an address that is not currently locked. A grant to start a
transaction on the PCI bus does not guarantee control of LOCK
protocol. It is possible for different initiators to use the PCI bus while a single master retains ownership of LOCK
Note that the CardBus signal for this protocol is CBLOCK
An agent may need to do an exclusive operation because a critical access to memory might be broken into
several transactions, but the master wants exclusive rights to a region of memory. The granularity of the lock
is defined by PCI to be 16 bytes, aligned. The lock protocol defined by PCI allows a resource lock without
interfering with nonexclusive real-time data transfer, such as video.
loading the subsystem identification (EEPROM interface)
The subsystem vendor ID register and subsystem ID register make up a doubleword of PCI configuration space
located at offset 40h for functions 0 and 1. This doubleword register is used for system and option card (mobile
dock) identification purposes and is required by some operating systems. Implementation of this unique
identifier register is a PC ’95 requirement.
The PCI1251A offers two mechanisms to load a read-only value into the subsystem registers. The first
mechanism relies upon the system BIOS providing the subsystem ID value. The default access mode to the
subsystem registers is read only, but can be made read/write by clearing the SUBSYSRW bit in the system
control register (bit 5, offset 80h). Once this bit is cleared (0), the BIOS can write a subsystem identification value
into the registers at offset 40h. The BIOS must set the SUBSYSRW bit such that the subsystem vendor ID
register and subsystem ID register is limited to read-only access. This approach saves the added cost of
implementing the serial EEPROM.
In some conditions, such as in a docking environment, the subsystem vendor ID register and subsystem ID
register must be loaded with a unique identifier through a serial EEPROM interface. The PCI1251A loads the
doubleword of data from the serial EEPROM after a reset of the primary bus. Note that the SUSPEND
gates the PCI reset from the entire PCI1251A core, including the serial EEPROM state machine (see
mode
a serial EEPROM.
indicates an atomic operation that may require multiple transactions to complete. When LOCK is
; control of LOCK is obtained under its own
to avoid confusion with the bus clock.
, on page 37, for details on using SUSPEND). The PCI1251A provides a two-line serial bus interface to
.
input
suspend
The system designer must implement a pulldown resistor on the PCI1251A LA TCH terminal to indicate the serial
EEPROM mode. Only when this pulldown resistor is present will the PCI1251A attempt to load data through
the serial EEPROM interface. The serial EEPROM interface is a two-pin interface with one data signal (SDA)
and one clock signal (SCL). SDA is mapped to the PCI1251A IRQMUX6 terminal and SCL is mapped to the
PCI1251A IRQMUX7 terminal. A typical PCI1251A application using the serial EEPROM interface is shown in
Figure 2.
24
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
loading the subsystem identification (EEPROM interface) (continued)
V
CC
Serial
EEPROM
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
PCI1251A
A0
A1
A2
SCL
SDA
IRQMUX7
IRQMUX6
LATCH
Figure 2. Serial EEPROM Application
When the PCI1251A is reset, the subsystem data is read automatically from the EEPROM. The PCI1251A
masters the serial EEPROM bus and reads four bytes, as shown in Figure 3.
The EEPROM is addressed at word address 00h, as shown in Figure 3, and the address auto increments after
each byte transfer according to the protocol. Thus, to provide the subsystem register with data AABBCCDDh,
the EEPROM should be programmed with address 0 = AAh, 1 = BBh, 2 = CCh, and 3 = DDh.
Figure 3. EEPROM Interface Subsystem Data Collection
The serial EEPROM is addressed at slave address 1010000b by the PCI1251A. All hardware address bits for
the EEPROM should be tied to the appropriate level to achieve this address. The serial EEPROM chip in the
sample application circuit (Figure 2) assumes the 1010b high address nibble. The lower three address bits are
terminal inputs to the chip, and the sample application shows these terminal inputs tied to GND.
The serial EEPROM interface signals require pullup resistors, and the protocol is defined for the bidirectional
transfers. Both SCL and SDA are 3-stated and pulled high when the bus is not active. When the SDA line
transitions low, this signals a start condition (S). A low-to-high transition of SDA while SCL is high is defined as
the stop condition (P). One bit is transferred during each clock pulse. The data on the SDA line must remain
stable during the high period of the clock pulse, as changes in the data line at this time are interpreted as a control
signal. Data is valid and stable during the clock high period. This protocol is shown in Figure 4.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
25
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
loading the subsystem identification (EEPROM interface) (continued)
SDA
SCL
Start
Condition
Stop
Condition
Change of
Data Allowed
Data Line Stable,
Data Valid
Figure 4. Serial EEPROM Start/Stop Conditions and Bit Transfers
Each address byte and data transfer is followed by an acknowledge bit, as shown in Figure 3. When the
PCI1251A transmits the addresses, it returns SDA to the high state and 3-states the line. The PCI1251A then
generates an SCL clock cycle and expects the EEPROM to pull down SDA during the acknowledge pulse. This
procedure is referred to as a slave acknowledge with the PCI1251A transmitter and EEPROM receiver. General
acknowledges are shown in Figure 5.
During the data byte transfers from the serial EEPROM to the PCI1251A, the EEPROM clocks the SCL signal.
After the EEPROM transmits the data to the PCI1251A, it returns the SDA signal to the high state and 3-states
the line. The EEPROM then generates an SCL clock cycle and expects the PCI1251A to pull down SDA during
the acknowledge pulse. This procedure is referred to as a master acknowledge with the EEPROM transmitter
and PCI1251A receiver. General acknowledges are shown in Figure 5.
SCL From
Master
SDA Output
By Transmitter
123789
SDA Output
By Receiver
Figure 5. Serial EEPROM Protocol – Acknowledge
EEPROM interface status information is communicated through the general status register located at PCI offset
85h. The EEDETECT bit in this register indicates whether or not the PCI1251A serial EEPROM circuitry detects
the pulldown resistor on LA TCH. An error condition, such as a missing acknowledge, results in the DATAERR
bit being set. The EEBUSY bit is set while the subsystem ID register is loading (serial EEPROM interface is
busy).
26
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PC Card applications
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
This section describes the following PC Card interfaces: PC Card recognition (which details the card
interrogation procedure), card-powering procedure (including the protocol of the P
2
C power-switch interface),
internal zoom video (ZV) buffering provided by the PCI1251A and programming model, standard PC Card
register models, and a brief discussion of the PC Card software protocol layers.
PC Card insertion/removal and recognition
The 1997 PC Card Standard addresses the card-detection and recognition process through an interrogation
procedure that the socket must initiate on card insertion into a cold, unpowered socket. Through this
interrogation, card voltage requirements and interface (16 bit versus CardBus) are determined.
The scheme uses the CD1
, CD2, VS1, and VS2 signals (CCD1, CCD2, CVS1, and CVS2 for CardBus). A
PC Card designer connects these four terminals in prescribed configuration determined by the type of card and
the supply voltage. The encoding scheme for this is defined in the 1997 PC Card Standard and is shown in
Table 19.
Table 19. PC Card Card-Detect and Voltage-Sense Connections
GroundGroundOpenOpen5 V16-bit PC Card5 V
GroundGroundOpenGround5 V16-bit PC Card5 V and 3.3 V
GroundGroundGroundGround5 V16-bit PC Card5 V, 3.3 V, and X.X V
GroundGroundOpenGroundLV16-bit PC Card3.3 V
GroundConnect to CVS1OpenConnect to CCD1LVCardBus PC Card3.3 V
GroundGroundGroundGroundLV16-bit PC Card3.3 V and X.X V
Connect to CVS2GroundConnect to CCD2GroundLVCardBus PC Card3.3 V and X.X V
Connect to CVS1GroundGroundConnect to CCD2LVCardBus PC Card3.3 V, X.X V, and Y.Y V
GroundGroundGroundOpenLV16-bit PC CardY.Y V
Connect to CVS2GroundConnect to CCD2OpenLVCardBus PC CardY.Y V
GroundConnect to CVS2Connect to CCD1OpenLVCardBus PC CardX.X V and Y.Y V
Connect to CVS1GroundOpenConnect to CCD2LVCardBus PC CardY.Y V
GroundConnect to CVS1GroundConnect to CCD1Reserved
GroundConnect to CVS2Connect to CCD1GroundReserved
P2C power-switch interface (TPS2206)
A power switch with a PCMCIA-to-peripheral control (P
interface. The TI TPS2206 dual-slot PC Card power-interface switch provides the P
2
C) interface is required for the PC Card powering
2
C interface to the CLOCK,
DA TA, and LATCH terminals of the PCI1251A. Figure 6 shows the terminal assignments of the TPS2206 and
Figure 7 illustrates a typical application where the PCI1251A represents the PCMCIA controller.
The CLOCK terminal on the PCI1251A can be an input or an output depending on whether bit 27 of the system
control register is a 0 or a 1. The default is for the CLOCK terminal to be an input to control the serial interface
and the PCI1251A internal state machine. The P2CCLK bit in the system control register can be set by the
system BIOS to enable the PCI1251A to internally generate and drive the CLOCK from the PCI clock. When
the system design implements CLOCK as an output from the PCI1251A, an external pulldown resistor is
required since the CLOCK terminal defaults to an input.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
27
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
P2C power-switch interface (TPS2206) (continued)
Power Supply
12 V
5 V
3.3 V
Supervisor
5V
5V
DATA
CLOCK
LATCH
RESET
12V
AVPP
AVCC
AVCC
AVCC
GND
NC
RESET
3.3V
NC – No internal connection
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
5V
NC
NC
NC
NC
NC
12V
BVPP
BVCC
BVCC
BVCC
NC
OC
3.3V
3.3V
Figure 6. TPS2206 Terminal Assignments
TPS2206
12V
5V
3.3V
RESET
RESET
AVPP
AVCC
AVCC
AVCC
V
V
V
V
PP1
PP2
CC
CC
PC Card
A
PCMCIA
Controller
3
Serial Interface
OC
BVPP
BVCC
BVCC
BVCC
Figure 7. TPS2206 Typical Application
V
V
V
V
PP1
PP2
CC
CC
PC Card
B
28
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
zoom video support
The ZV port on the PCI1251A provides an internally buffered 16-bit ZV PC Card data path. This internal routing
is programmed through the multimedia control register. Figure 8 shows the zoom video subsystem implemented
in the PCI1251A and details the bit functions found in the multimedia control register.
An output port (PORTSEL) is always selected. The PCI1251A defaults to socket 0 (see the multimedia control
register on page 59). When ZVOUTEN is asserted, the zoom video output terminals are enabled to allow the
PCI1251A to route the zoom video data. However, no data is transmitted unless either ZVEN0 or ZVEN1 is
enabled in the multimedia control register. When the PORTSEL maps to a card port that is disabled (ZVEN0
or ZVEN1) then the zoom video port is driven low; that is, no data is transmitted.
Zoom Video Subsystem
PC Card
Socket 0
PC Card
Socket 1
Card
Output
Enable
Logic
Card
Output
Enable
Logic
PC Card
Interface
PC Card
Interface
ZVEN0
ZVOUTEN
ZVSTAT
(see Note A)
VGA
PORTSEL
Zoom Video
Port
ZVEN1
NOTES: A. ZVSTAT must be enabled through the GPIO control register.
Figure 8. Zoom Video Subsystem
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
29
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
SPKROUT usage
SPKROUT carries the digital audio signal from the PC Card to the system. When a 16-bit PC Card is configured
for I/O mode, the BVD2 pin becomes SPKR
applications. SPKR
passes a TTL-level digital audio signal to the PCI1251A. The CardBus CAUDIO signal also
can pass a single-amplitude binary waveform. The binary audio signals from the two PC Card sockets are
XORed in the PCI1251A to produce SPKROUT. Figure 9 shows the SPKROUT connection.
Bit 1, Card Control Register (offset 91h)
Card A SPKROUT Enable
Card A SPKR
Bit 1, Card Control Register (offset 91h)
Card B SPKROUT Enable
Card B SPKR
Figure 9. SPKROUT Connection to Speaker Driver
. This terminal, referred to as CAUDIO, is also used in CardBus
SPKROUT
Card A SPKROUT Enable
Card B SPKROUT Enable
Speaker
Driver
The SPKROUT signal is typically driven only by modem PC Cards. To verify SPKROUT on the PCI1251A, a
sample circuit was constructed, and this simplified schematic is shown in Figure 10.
NOTE:
Earlier versions of the PC Card controller multiplexed SUSPEND/SPKROUT on the same pin,
which meant that a pullup resistor was needed to differentiate the signals. Because the PCI1251A
does not multiplex this or any other function on SPKROUT, this terminal does not require a pullup
resistor.
V
CC
V
CC
SPKROUT
3
7
2
6
+
–
4
LM386
1
8
Speaker
Figure 10. Simplified Test Schematic
30
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
Reserved
Page
Reserved
Reserved
Reserved
Reserved
Reserved
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
LED socket activity indicators
Socket activity LEDs provided indicate when a PC Card is being accessed. The LED signals are multiplexed
with general-purpose inputs and outputs (GPIOs), and the default for these terminals is GPI. When configured
for LED outputs, these terminals output an active high signal to indicate socket activity . LEDA1 indicates socket
0 (card A) activity, and LEDA2 indicates socket 1 (card B) activity.
The LED signal is active high and is driven for 64-ms periods. When the LED is not being driven high, it is driven
to a low state. Either of the two circuits shown in Figure 1 1 can be implemented to provide LED signaling, and
the board designer can implement the circuit that best fits the application.
As indicated, the LED signals are driven for 64 ms, and this is accomplished by a counter circuit. To avoid the
possibility of the LEDs appearing to be stuck when the PCI clock is stopped, the LED signaling is cut off when
either SUSPEND
If any additional socket activity occurs during this counter cycle, the counter is reset and the LED signal remains
driven. If socket activity is frequent (at least once every 64 ms), the LED signals remain driven.
is asserted or when the PCI clock is stopped per the CLKRUN protocol.
Current Limiting
R ≈ 500 Ω
PCI1251A
PCI1251A
Application-
Specific Delay
Current Limiting
R ≈ 500 Ω
LED
LED
Figure 11. Two Sample LED Circuits
PC Card16 DMA support
The PCI1251A supports both PC/PCI (centralized) DMA and a distributed DMA slave engine for 16-bit PC Card
DMA support. The distributed DMA (DDMA) slave register set provides the programmability necessary for the
slave DDMA engine. The DDMA register configuration is provided in Table 20.
Table 20. Distributed DMA Registers
TYPEREGISTER NAME
R
W
R
W
RN/A
WMode
RMultichannel
WMask
Current address00h
Base address
Current count04h
Base count
N/AStatus08h
RequestCommand
N/A
Master clear
BASE ADDRESS
OFFSET
DMA
0Ch
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
31
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
CardBus socket registers
The PCI1251A has socket registers for compatibility with the latest PCI-to-PCMCIA CardBus bridge
specification. These CardBus socket registers are listed in Table 21 below.
Interrupts provide a way for I/O devices to let the microprocessor know that they require servicing. The dynamic
nature of PC Cards, and the abundance of PC Card I/O applications require substantial interrupt support from
the PCI1251A. The PCI1251A provides several interrupt signaling schemes to accommodate the needs of a
variety of platforms. The different mechanisms for dealing with interrupts in this device are based on various
specifications and industry standards. The ExCA register set provides interrupt control for some 16-bit PC Card
functions, and the CardBus socket register set provides interrupt control for the CardBus PC Card functions.
The PCI1251A is, therefore, backward compatible with existing interrupt control register definitions, and new
registers have been defined where required.
The PCI1251A detects PC Card interrupts and events at the PC Card interface and notifies the host controller
via one of several interrupt signaling protocols. T o simplify the discussion of interrupts in the PCI1251A, PC Card
interrupts are classified as either card status change (CSC) or as functional interrupts.
The method by which any type of PCI1251A interrupt is communicated to the host interrupt controller varies from
system to system. The PCI1251A offers system designers the choice of using parallel PCI interrupt signaling,
parallel ISA-type IRQ interrupt signaling, or the IRQSER serialized ISA and/or PCI interrupt protocol. Traditional
ISA IRQ signaling is provided through eight IRQMUX terminals. It is possible to use the parallel PCI interrupts
in combination with either parallel IRQs or serialized IRQs, as detailed in the sections that follow.
PC Card functional and CSC interrupts
PC Card functional interrupts are defined as requests from a PC Card application for interrupt service and are
indicated by asserting specially-defined signals on the PC Card interface. Functional interrupts are generated
by 16-bit I/O PC Cards and by CardBus PC Cards.
Card status change-type interrupts are defined as events at the PC Card interface that are detected by the
PCI1251A and may warrant notification of host card and socket services software for service. CSC events
include both card insertion and removal from PC Card sockets, as well as transitions of certain PC Card signals.
Table 22 summarizes the sources of PC Card interrupts and the type of card associated with them. CSC and
functional interrupt sources are dependent on the type of card inserted in the PC Card socket. The three types
of cards that can be inserted into any PC Card socket are 16-bit memory card, 16-bit I/O card, and CardBus
cards. Note that functional interrupt events are valid only for 16-bit I/O and CardBus cards; that is, the functional
interrupts are not valid for 16-bit memory cards. Furthermore, card insertion and removal-type CSC interrupts
are independent of the card type.
32
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
y
CSC
memory
PCI1251A GFN/GJG
PC CARD CONTROLLER
PC Card functional and CSC interrupts (continued)
Table 22. PC Card Interrupt Events and Description
CARD TYPEEVENTTYPESIGNALDESCRIPTION
A transition on BVD1 indicates a change in the
PC Card battery conditions.
A transition on BVD2 indicates a change in the
PC Card battery conditions.
A transition on READY indicates a change in the
ability of the memory PC Card to accept or provide
data.
The assertion of STSCHG indicates a status change
on the PC Card.
The assertion of IREQ indicates an interrupt request
from the PC Card.
The assertion of CSTSCHG indicates a status
change on the PC Card.
The assertion of CINT indicates an interrupt request
from the PC Card.
An interrupt is generated when a PC Card power-up
cycle has completed.
A transition on either CD1//CCD1 or CD2//CCD2
indicates an insertion or removal of a 16-bit CardBus
PC Card.
An interrupt is generated when a PC Card power-up
cycle has completed.
16-bit
16-bit I/O
CardBus
All PC Cards
Battery conditions
(BVD1, BVD2)
Wait states
(READY)
Change in
card status
(STSCHG
Interrupt request
Change in
card status
(CSTSCHG)
Interrupt request
Power cycle
complete
Card insertion
or removal
Power cycle
complete
(IREQ
(CINT
)
)
)
BVD1(STSCHG)//CSTSCHG
BVD2(SPKR)//CAUDIO
CSCREADY(IREQ)//CINT
CSCBVD1(STSCHG)//CSTSCHG
FunctionalREADY(IREQ)//CINT
CSCBVD1(STSCHG)//CSTSCHG
FunctionalREADY(IREQ)//CINT
CSCN/A
CSC
CSCN/A
CD1//CCD1,
CD2
//CCD2
SCPS038 – AUGUST 1998
The naming convention for PC Card signals describes the function for 16-bit memory and I/O cards, as well as
CardBus. For example, READY(IREQ
cards, and CINT
for CardBus cards. The 16-bit memory card signal name is first, with the I/O card signal name
)//CINT includes READY for 16-bit memory cards, IREQ for 16-bit I/O
second, enclosed in parentheses. The CardBus signal name follows after a forward double slash (//).
The PC Card standard describes the power-up sequence that must be followed by the PCI1251A when an
insertion event occurs and the host requests that the socket V
and VPP be powered. Upon completion of this
CC
power-up sequence, the PCI1251A interrupt scheme can be used to notify the host system (see Table 23),
denoted by the power cycle complete event. This interrupt source is considered a PCI1251A internal event,
because it depends on the completion of applying power to the socket.
interrupt masks and flags
Host software may individually mask (or disable) most of the potential interrupt sources listed in Table 23 by
setting the appropriate bits in the PCI1251A. By individually masking the interrupt sources listed, software can
control those events that cause a PCI1251A interrupt. Host software has some control over the system interrupt
the PCI1251A asserts by programming the appropriate routing registers. The PCI1251A allows host software
to route PC Card CSC and PC Card functional interrupts to separate system interrupts. A discussion of interrupt
routing is somewhat specific to the interrupt signaling method used, and is discussed in more detail in the
following sections.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
33
PCI1251A GFN/GJG
16-bit I/O
CardBus
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
interrupt masks and flags (continued)
When an interrupt is signaled by the PCI1251A, the interrupt service routine must determine which of the events
in Table 23 caused the interrupt. Internal registers in the PCI1251A provide flags that report which interrupt
source was the cause of the interrupt. By reading these status bits, the interrupt service routine can determine
the action to be taken.
T able 23 details the registers and bits associated with masking and reporting potential interrupts. All interrupts,
except the functional PC Card interrupts, can be masked. An interrupt status flag is available for all types of
interrupts.
Table 23. Interrupt Mask and Flag Registers
CARD TYPEEVENTMASKFLAG
16-bit
memory
All 16-bit
PC Cards
Battery conditions
(BVD1, BVD2)
Wait states
(READY)
Change in card status
(STSCHG
Interrupt request
Power cycle complete
Change in card status
(CSTSCHG)
Interrupt request
Power cycle complete
Card insertion or
removal
(IREQ
(CINT
)
)
)
ExCA offset 05h/45h/805h
bits 1 and 0
ExCA offset 05h/45h/805h
bit 2
ExCA offset 05h/45h/805h
bit 0
Always enabled
ExCA offset 05h/45h/805h
bit 3
Socket mask
bit 0
Always enabled
Socket mask
bit 3
Socket mask
bits 2 and 1
ExCA offset 04h/44h/804h
bits 1 and 0
ExCA offset 04h/44h/804h
bit 2
ExCA offset 04h/44h/804h
bit 0
PCI configuration offset 91h
bit 0
ExCA offset 04h/44h/804h
bit 3
Socket event
bit 0
PCI configuration offset 91h
bit 0
Socket event
bit 3
Socket event
bits 2 and 1
Notice that there is not a mask bit to stop the PCI1251A from passing PC Card functional interrupts through to
the appropriate interrupt scheme. These interrupts are not valid until the card is properly powered, and there
should never be a card interrupt that does not require service after proper initialization.
V arious methods of clearing the interrupt flag bits are listed in T able 23. The flag bits in the ExCA registers (16-bit
PC Card-related interrupt flags) can be cleared by two different methods. One method is an explicit write of 1
to the flag bit to clear, and the other is by reading the flag bit register. The selection of flag bit clearing is made
by bit 2 in the global control register (ExCA offset 1Eh/5Eh/81Eh), and defaults to the
read
method.
flag cleared on
The CardBus-related interrupt flags can be cleared by an explicit write of 1 to the interrupt flag in the socket event
register. Although some of the functionality is shared between the CardBus registers and the ExCA registers,
software should not program the chip through both register sets when a CardBus card is functioning.
legacy interrupt multiplexer
The IRQ multiplexer implemented in the PCI1251A provides a mechanism to route the IRQMUX signals to any
of the 15 legacy IRQ signals. IRQMUX7–IRQMUX6 share the PC/PCI DMA terminals and take precedence
when routed. The other six IRQMUX signals (IRQMUX5–IRQMUX0) are available in all platforms. To use the
IRQMUX interrupt signaling, software must program the device control register (PCI offset 92h) to select the
legacy IRQ signaling scheme.
The IRQMUX functionality describing PCREQ/IRQMUX7 is shown in Figure 12.
34
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
legacy interrupt multiplexer (continued)
System Control Register (Bit 3):
When bit 3 = 0 EEPROM SCL is routed on IRQMUX7
When bit 3 = 1 PCREQ is routed on IRQMUX7
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
EEPROM SCL
PCREQ
0
1
0000
0001
0010
1111
IRQMUX Routing Register
PCREQ/IRQMUX7/SCL
Figure 12. Interrupt Mux Functionality – Example of IRQMUX7 Routing
If parallel ISA IRQs are selected in the device control register, then the IRQMUX routing register (PCI of fset 8Ch)
must be programmed with the associated ISA IRQ connections. The PCI1251A supports up to eight parallel
ISA IRQ signal connections (IRQMUX7–IRQMUX0). Figure 13 is an example of PCI1251A IRQ implementation
that provides eight ISA interrupts. The system In this example cannot support PC/PCI DMA because all eight
ISA IRQs are used. In this example, IRQMUX7 and IRQMUX6 are used to signal ISA IRQs and are not available
for PC/PCI DMA. For systems not using all eight IRQs, PC/PCI DMA can be implemented and can coexist with
ISA IRQs by using IRQMUX6 and IRQMUX7 for PC/PCI DMA; that is, legacy IRQs and PC/PCI DMA
implementation are not mutually exclusive. However, if the IRQMUX registers are programmed to use
IRQMUX7–6, they override PC/PCI DMA.
Software is responsible for programming the IRQMUX routing register to reflect the IRQ configuration shown
in Figure 13. In this example, programming is accomplished by writing a doubleword of data (FCBA9543h) to
the PCI1251A IRQMUX routing register, PCI of fset 8Ch. In this example (FCBA9543h), F corresponds to IRQ15,
C to IRQ12, B to IRQ11, A to IRQ10, 9 to IRQ9, 5 to IRQ5, 4 to IRQ4, and 3 to IRQ3.
The IRQMUX routing register is shared between the two PCI1251A functions, and only one write to function 0
or function 1 is necessary to configure the IRQMUX signals.
using parallel PCI interrupts
Parallel PCI interrupts are available when in: parallel PCI interrupt mode, IRQMUX signaling mode, or when
IRQs are serialized with the IRQSER protocol. The PCI interrupt signaling is dependent on the interrupt mode.
The interrupt mode is selected via the device control register (92h). The IRQSER/INTB
pin signals INTB when
one of the parallel interrupt modes is selected via bits 2–1 in the device control register (92h).
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
35
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
using parallel PCI interrupts (continued)
PCI INTB
routing register (8Ch). PCI INTA
is also available on the IRQMUX0 terminal by programming bits 3–0 to 0001b. See the IRQMUX
is available on the GPIO3 terminal by programming bits 7–6 in the GPIO3
control register (8Bh) to 00b.
The value read from the interrupt pin register is card slot dependent. The value read also depends on the
interrupt INTRTIE bit in the system control register and the signaling mode selected through the device control
register. When the INTRTIE bit is set, this register reads 0x01 (INTA) for both functions. The PCI1251A defaults
to signaling PCI and IRQ interrupts through IRQSER serial interrupt terminal. Refer to Table 24 for a complete
description of the register contents.
IRQ and PCI serialized (IRQSER) interrupts (default)10x01 (INTA)0x01 (INTA)
INTRTIE
BIT
INTPIN
FUNCTION 0
INTPIN
FUNCTION 1
power management overview
TI has expended great effort to provide a high-performance device with low power consumption. In addition to
the low-power CMOS technology process used for the PCI1251A, various features are designed into the device
to allow implementation of popular power-saving techniques. These features and techniques are discussed in
this section.
PCI CLKRUN
The PCI CLKRUN
Since some chipsets do not implement CLKRUN
alternate power savings features are provided. If CLKRUN
be tied low. CLKRUN
protocol
feature is the primary method of power management on the PCI bus side of the PCI1251A.
, this is not always available to the system designer, and
is not implemented the CLKRUN terminal should
is enabled by default using bit 1 (KEEPCLK) in the system control register (80h).
CardBus PC Card power management
The PCI1251A implements its own card power-management engine that can be used to turn off the CCLK at
a socket when there is no activity to the CardBus PC Card. The CCLK can also be configured as divide by 16
instead of
stopped
. The clock run protocol is followed on the CardBus interface to control this
clock management.
PCI power management (PCIPM)
The PCI power-management (PCIPM) specification establishes the infrastructure required to let the operating
system control the power of PCI functions. This is done by defining a standard PCI interface and operations to
manage the power of PCI functions on the bus. The PCI bus and the PCI functions can be assigned one of four
software-visible power-management states that result in varying levels of power savings.
36
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
PCI power management (PCIPM) (continued)
The four power-management states of PCI functions are:
D
D0 – Fully-on state
D
D1 and D2 – Intermediate states
D
D3 – Off state
Similarly , bus power states of the PCI bus are B0–B3. The bus power states B0–B3 are derived from the device
power state of the originating bridge device.
For the operating system (OS) to power manage the device power states on the PCI bus, the PCI function should
support four power-management operations. These are capabilities reporting, power status reporting, setting
the power state, and system wake up. The OS identifies the capabilities of the PCI function by traversing the
new capabilities list. The presence of new capabilities is indicated by a 1 in the capabilities list bit in the PCI
Status register (bit 4) and providing access to a capabilities list.
The capabilities pointer provides access to the first item in the linked list of capabilities. For the PCI1251A, a
CardBus bridge with PCI configuration space header type 2, the capabilities pointer is mapped to an offset
of 14h. The first byte of each capability register block is required to be a unique ID of that capability. PCI power
management has been assigned an ID of 01h. The next byte is a pointer to the next pointer item in the list of
capabilities. If there are no more items in the list, the next item pointer should be set to 0. The registers following
the next item pointer are specific to the function’s capability . The PCIPM capability implement the register block
outlined in Table 25.
DataPMCSR bridge support extensionsPower-management control status (CSR)4
The PMC register is a static read-only register that provides information on the capabilities of the function related
to power management. The PMCSR register enables control of power-management states and enables/
monitors power-management events. The data register is an optional register that provides state-dependent
power measurements, such as power consumption or heat dissipation.
suspend mode
The SUSPEND
PCI1251A. However, additional functionality has been defined for SUSPEND
power-management options.
SUSPEND
potentially save power while in an idle state; however, it requires substantial design ef fort to implement. Some
issues to consider are:
D
What if cards are present in the sockets?
D
What if the cards in the sockets are powered?
D
How to pass CSC (insertion/removal) events?
Even without the PCI clock to the PCI1251A core, there are asynchronous-type functions (such as RI_OUT
that can pass CSC events, wake-up events, etc., back to the system. If a system designer chooses to not pass
card removal events through to the system, then the PCI1251A would not be able to power down the empty
socket without the power switch clock (CLOCK) generated externally . Refer to the P
on page 27 for details. Figure 14 is a functional implementation diagram.
signal is provided for backward compatibility , and gates the PCI reset (PRST) signal from the
to provide additional
provides a mechanism to gate the PCLK from the PCI1251A, as well as gate PRST. This can
2
C power switch interface
)
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
37
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
suspend mode (continued)
PRST
SUSPEND
GNT
PCLK
Figure 14. SUSPEND Functional Implementation
requirements for suspend mode
The PCI bus must not be parked on the PCI1251A when SUSPEND
SUSPEND
reset.
The GPIOs, IRQMUX signals, and RI_OUT
appropriate PCI1251A registers.
ring indicate
The RI_OUT
go into a suspended mode and wake up on modem rings and other card events. TI has designed in flexibility
to this signal to fit wide platform requirements. RI_OUT
following conditions:
D
being asserted by placing the REQ pin in a high impedance state and gates the internal clock and
signals are active during SUSPEND unless they are disabled in the
output is an important feature in power management and is basically used so that a system can
on the PCI1251A can be asserted under any of the
A 16-bit PC Card modem in a powered socket asserts RI to indicate to the system the presence of an
incoming call.
is asserted. The PCI1251A responds to
PCI1251A
Core
D
A powered down CardBus card asserts CSTSCHG (CBWAKE) requesting system and interface wake up.
D
A CSC event occurs, such as insertion/removal of cards, battery voltage levels.
CSTSCHG from a powered CardBus card is indicated as a CSC event, not as a CBWAKE event. These two
RI_OUT
function; however, it does not show the masking of CSC events (see
a detailed description of CSC interrupt masks and flags).
RI_OUT
In PCI power management systems the PME
power-management control/status register (A4h) and setting RIMUX 80h to 1.
In addition to bit 0 in the system control register, the RIENB bit (bit 7) in the card control register (91h) must be
set to enable RI_OUT
events are enabled separately. Figure 15 shows various enable bits for the PCI1251A RI_OUT
interrupt masks and flags
is multiplexed with PME on the same terminal. The default is for RI_OUT to be signaled on this terminal.
signal should be enabled by setting bit 8 (PME_EN) in the
.
, on page 33, for
38
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
ring indicate (continued)
PC Card
Socket 0
PC Card
Socket 1
Card
I/F
Card
I/F
RI_OUT Function
CSTSMASK
CSC
RINGEN
RI
CDRESUME
CSC
CSTSMASK
CSC
RINGEN
RI
CDRESUME
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
RIENB
RI_OUT
CSC
Figure 15. RI_OUT Functional Diagram
Routing of CSC events to RI_OUT
is enabled on a per-socket basis, and is programmed by the RIENB bit in
the card control register on page 66. This bit is socket dependent (not shared), as shown in Figure 15.
Ring indicate (RI) from the 16-bit PC Card interface is masked by the ExCA control bit RINGEN in the interrupt
and general control register on page 82. This is programmed on a per-socket basis and is only applicable when
a 16-bit card is powered in the socket.
The CBWAKE signaling to RI_OUT
is enabled through the same mask as the CSC event for CSTSCHG. The
mask bit, CSTSMASK, is programmed through the socket mask register (page 100) in the CardBus socket
registers.
PC Card controller programming model
This section describes the PCI1251A PCI configuration registers that make up the 256-byte PCI configuration
header for each PCI1251A function. As noted, some bits are global in nature and should be accessed only
through function 0.
PCI configuration registers (functions 0 and 1)
The PCI1251A is a multifunction PCI device, and the PC Card controller is integrated as PCI functions 0 and 1.
The configuration header is compliant with the PCI specification as a CardBus bridge header, and is PC99
compliant as well. Table 26 shows the PCI configuration header, which includes both the predefined portion of
the configuration space and the user-definable registers.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
39
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 26. PCI Configuration Registers (Functions 0 and 1)
REGISTER NAMEOFFSET
Device IDVendor ID00h
StatusCommand04h
Class codeRevision ID08h
BISTHeader typeLatency timerCache line size0Ch
CardBus socket/ExCA base address10h
Secondary statusReservedCapability pointer14h
CardBus latency timerSubordinate bus numberCardBus bus numberPCI bus number18h
Bit1514131211109876543210
NameVendor ID
TypeRRRRRRRRRRRRRRRR
Default0001000001001100
Register:Vendor ID
Type:Read only
Offset:00h (functions 0, 1)
Default:104Ch
Description: This 16-bit read-only register contains a value allocated by the PCI SIG (special interest
group) and identifies the manufacturer of the PCI device. The vendor ID assigned to TI is
104Ch.
40
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
device ID register
Bit1514131211109876543210
NameDevice ID
TypeRRRRRRRRRRRRRRRR
Default1010110000011101
Register:Device ID
Type:Read only
Offset:02h (functions 0, 1)
Default:AC1Dh
Description: This 16-bit read-only register contains a value assigned to the PCI1251A by TI. The device
Register:Command
Type:Read only, read/write (see individual bit descriptions)
Offset:04h
Default:0000h
Description: The command register provides control over the PCI1251A interface to the PCI bus. All bit
functions adhere to the definitions in PCI Local Bus Specification 2.2. None of the bit functions
in this register are shared between the two PCI1251A PCI functions. Two command registers
exist in the PCI1251A, one for each function. Software must manipulate the two PCI1251A
functions as separate entities when enabling functionality through the command register. The
SERR_EN and PERR_EN enable bits in this register are internally wired OR between the two
functions, and these control bits appear separately according to their software function.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
41
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 27. Command Register
BITSIGNALTYPEFUNCTION
15–10RSVDRReserved. Bits 15–10 are read only and return 0s when read. Writes have no effect.
9FBB_ENR
8SERR_ENR/W
7ADSTPNGR
6PERR_ENR/W
5VGA_SNPR
4MWI_ENR
3SP_CYCLR
2BUSMSTRR/W
1MEM_ENR/W
0IO_ENR/W
Fast back-to-back enable. The PCI251 does not generate fast back-to-back transactions; therefore, bit
9 is read only and returns 0s when read.
System Error (SERR) enable. Bit 8 controls the enable for the SERR driver on the PCI interface. SERR
can be asserted after detecting an address parity error on the PCI bus. Both bit 8 and bit 6 must be set
for the PCI1251A to report address parity errors.
Address/data stepping control. The PCI1251A does not support address/data stepping, and bit 7 is
hardwired to 0. Writes to this bit have no effect.
Parity error response enable. Bit 6 controls the PCI1251A’ s response to parity errors through PERR. Data
parity errors are indicated by asserting PERR
SERR
VGA palette snoop. Bit 5 controls how PCI devices handle accesses to video graphics array (VGA) palette
registers. The PCI1251A does not support VGA palette snooping; therefore, this bit is hardwired to 0. Bit
5 is read only and returns 0 when read. Writes to this bit have no effect.
Memory write and invalidate enable. Bit 4 controls whether a PCI initiator device can generate memory
write and Invalidate commands. The PCI1251A controller does not support memory write and invalidate
commands; it uses memory write commands instead; therefore, this bit is hardwired to 0. Bit 4 is read only
and returns 0 when read. Writes to this bit have no effect.
Special cycles. Bit 3 controls whether or not a PCI device ignores PCI special cycles. The PCI1251A does
not respond to special cycle operations; therefore, this bit is hardwired to 0. Bit 3 is read only and returns
0 when read. Writes to this bit have no effect.
Bus master control. Bit 2 controls whether or not the PCI1251A can act as a PCI bus initiator (master).
The PCI1251A can take control of the PCI bus only when this bit is set.
Memory space enable. Bit 1 controls whether or not the PCI1251A can claim cycles in PCI memory space.
I/O space control. Bit 0 controls whether or not the PCI1251A can claim cycles in PCI I/O space.
Register:Status
Type:Read only, read/write (see individual bit descriptions)
Offset:06h (functions 0, 1)
Default:0210h
Description: The status register provides device information to the host system. Bits in this register may be
read normally. A bit in the status register is reset when a 1 is written to that bit location; a 0
written to a bit location has no effect. All bit functions adhere to the definitions in the PCI Local
Bus Specification 2.2. PCI bus status is shown through each function (see Table 28).
Table 28. Status Register
BITSIGNALTYPEFUNCTION
15PAR_ERRR/W
14SYS_ERRR/W
13MABORTR/W
12TABT_RECR/W
11TABT_SIGR/W
10–9PCI_SPEEDR
8DAT APARR/W
7FBB_CAPR
6UDFR
566_CAPR
4CAP_LSTR
3–0RSVDRReserved. Bits 3–0 return 0s when read.
Detected parity error. Bit 15 is set when a parity error is detected (either address or data). W rite a 1 to clear
this bit.
Signaled system error. Bit 14 is set when SERR is enabled and the PCI1251A signals a system error to
the host. Write a 1 to clear this bit.
Received master abort. Bit 13 is set when a cycle initiated by the PCI1251A on the PCI bus has been
terminated by a master abort. Write a 1 to clear this bit.
Received target abort. Bit 12 is set when a cycle initiated by the PCI1251A on the PCI bus was terminated
by a target abort. Write a 1 to clear this bit.
Signaled target abort. Bit 1 1 is set by the PCI1251A when it terminates a transaction on the PCI bus with
a target abort. Write a 1 to clear this bit.
DEVSEL timing. These read-only bits encode the timing of DEVSEL and are hardwired 01b, indicating that
the PCI1251A asserts PCI_SPEED at a medium speed on nonconfiguration cycle accesses.
Data parity error detected. Write a 1 to clear this bit.
Fast back-to-back capable. The PCI1251A cannot accept fast back-to-back transactions; thus, bit 7 is
hardwired to 0.
User-definable feature support. The PCI1251A does not support the user-definable features; thus, bit 6
is hardwired to 0.
66-MHz capable. The PCI1251A operates at a maximum PCLK frequency of 33 MHz; therefore, bit 5 is
hardwired to 0.
Capabilities list. Bit 4 is read only and returns 1 when read. This bit indicates that capabilities in addition
to standard PCI capabilities are implemented. The linked list of PCI power-management capabilities is
implemented in this function.
0 = The conditions for setting bit 8 have not been met.
1 = A data parity error occurred, and the following conditions were met:
a. PERR
b. The PCI1251A was the bus master during the data parity error.
c. The parity error response bit is set in the command.
was asserted by any PCI device including the PCI1251A.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
43
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
revision ID register
Bit76543210
NameRevision ID
TypeRRRRRRRR
Default00000001
Register:Revision ID
Type:Read only
Offset:08h (functions 0, 1)
Default:01h
Description: This read-only register indicates the silicon revision of the PCI1251A. This data sheet reflects
Register:PCI Class code
Type:Read only
Offset:09h (functions 0, 1)
Default:060700h
Description: The class code register recognizes the PCI1251A functions 0 and 1 as a bridge device (06h),
and CardBus bridge device (07h) with a 00h programming interface.
cache line size register
Bit76543210
NameCache line size
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:Cache line size
Type:Read/write
Offset:0Ch (functions 0, 1)
Default:00h
Description: The cache line size register is programmed by host software to indicate the system cache line
Register:Latency timer
Type:Read/write
Offset:0Dh
Default:00h
Description: The latency timer register specifies the latency timer for the PCI1251A in units of PCI clock
cycles. When the PCI1251A is a PCI bus initiator and asserts FRAME
begins counting from zero. If the latency timer expires before the PCI1251A transaction has
terminated, the PCI1251A terminates the transaction when its GNT is deasserted.
header type register
Bit76543210
NameHeader type
TypeRRRRRRRR
Default10000010
, the latency timer
Register:Header type
Type:Read only
Offset:0Eh (functions 0, 1)
Default:82h
Description: This read-only register returns 82h when read, indicating that the PCI1251A functions 0 and 1
configuration spaces adhere to the CardBus bridge PCI header. The CardBus bridge PCI
header ranges from PCI register 0 to 7Fh, and 80h–FFh is user-definable extension registers.
BIST register
Bit76543210
NameBIST
TypeRRRRRRRR
Default00000000
Register:BIST
Type:Read only
Offset:0Fh (functions 0, 1)
Default:00h
Description: Because the PCI1251A does not support a built-in self-test (BIST), this register is read only
and returns the value of 00h when read. This register is read only, returning 0s for the two
PCI1251A functions.
Bit31302928272625242322212019181716
NameCardBus socket/ExCA base address
TypeR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/W
Default0000000000000000
Bit1514131211109876543210
NameCardBus socket/ExCA base address
TypeR/WR/WR/WR/WRRRRRRRRRRRR
Default0000000000000000
Register:CardBus socket/ExCA base address
Type:Read only, read/write
Offset:10h
Default:0000 0000h
Description: The CardBus socket registers/ExCA base-address register is programmed with a base
address referencing the CardBus socket registers and the memory-mapped ExCA register
set. Bits 31–12 are read/write, and allow the base address to be located anywhere in the 32-bit
PCI memory address space on a 4K-byte boundary. Bits 11–0 are read only, returning 0s
when read. When software writes all 1s to this register, the value readback is FFFF F000h,
indicating that at least 4K-bytes of memory address space are required. The CardBus
registers start at offset 000h, and the memory-mapped ExCA registers begin at offset 800h.
This register is not shared by functions 0 and 1, mapping each socket control separately.
Register:Capability pointer
Type:Read only
Offset:14h
Default:A0h
Description: The capability pointer register provides a pointer into the PCI configuration header where the
PCI power management register block resides. PCI header doublewords at A0h and A4h
provide the power management (PM) registers. Each socket has its own capability pointer
register. This register is read only and returns A0h when read.
46
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
secondary status register
Bit1514131211109876543210
NameSecondary status
TypeR/WR/WR/WR/WR/WRRR/WRRRRRRRR
Default0000001000000000
Register:Secondary status
Type:Read only, read/write (see individual bit descriptions)
Offset:16h
Default:0200h
Description: The secondary status register (see Table 29) is compatible with the PCI-to-PCI bridge
secondary status register and indicates CardBus-related device information to the host
system. This register is very similar to the PCI status register (offset 06h), and status bits are
cleared by writing a 1.
on a per-socket basis.
Table 29. Secondary Status Register
BITSIGNALTYPEFUNCTION
15CBPARITYR/W
14CBSERRR/W
13CBMABORTR/W
12REC_CBTAR/W
11SIG_CBTAR/W
10–9CB_SPEEDR
8CB_DP ARR/W
7CBFBB_CAPR
6CB_UDFR
5CB66MHZR
4–0RSVDRReserved. Bits 4–0 return 0s when read.
Detected parity error. Bit 15 is set when a CardBus parity error is detected (either address or data). W rite
a 1 to clear this bit.
Signaled system error. Bit 14 is set when CSERR is signaled by a CardBus card. The PCI1251A does
not assert CSERR
Received master abort. Bit 13 is set when a cycle initiated by the PCI1251A on the CardBus bus has
been terminated by a master abort. Write a 1 to clear this bit.
Received target abort. Bit 12 is set when a cycle initiated by the PCI1251A on the CardBus bus is
terminated by a target abort. Write a 1 to clear this bit.
Signaled target abort. Bit 1 1 is set by the PCI1251A when it terminates a transaction on the CardBus bus
with a target abort. Write a 1 to clear this bit.
CDEVSEL timing. These read-only bits encode the timing of CDEVSEL and are hardwired 01b,
indicating that the PCI1251A asserts CB_SPEED at a medium speed.
CardBus data parity error detected. Write a 1 to clear this bit.
Fast back-to-back capable. The PCI1251A cannot accept fast back-to-back transactions; thus, bit 7 is
hardwired to 0.
User-definable feature support. The PCI1251A does not support the user-definable features; thus, bit
6 is hardwired to 0.
66-MHz capable. The PCI1251A CardBus interface operates at a maximum CCLK frequency of 33 MHz;
therefore, bit 5 is hardwired to 0.
This register is not shared by the two socket functions and is accessed
. Write a 1 to clear this bit.
0 = The conditions for setting bit 8 have not been met.
1 = A data parity error occurred and the following conditions were met:
a. CPERR
b. The PCI1251A was the bus master during the data parity error.
c. The parity error response bit is set in the bridge control.
was asserted on the CardBus interface.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
47
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
PCI bus number register
Bit76543210
NamePCI bus number
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:PCI bus number
Type:Read/write
Offset:18h (functions 0, 1)
Default:00h
Description: This read/write register is programmed by the host system to indicate the bus number of the
PCI bus to which the PCI1251A is connected. The PCI1251A uses this register in conjunction
with the CardBus bus number and subordinate bus number registers to determine when to
forward PCI configuration cycles to its secondary buses.
CardBus bus number register
Bit76543210
NameCardBus bus number
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:CardBus bus number
Type:Read/write
Offset:19h
Default:00h
Description: This read/write register is programmed by the host system to indicate the bus number of the
CardBus bus to which the PCI1251A is connected. The PCI1251A uses this register in
conjunction with the PCI bus number and subordinate bus number registers to determine
when to forward PCI configuration cycles to its secondary buses. This register is separate for
each PCI1251A controller function.
subordinate bus number register
Bit76543210
NameSubordinate bus number
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:Subordinate bus number
Type:Read/write
Offset:1Ah
Default:00h
Description: This read/write register is programmed by the host system to indicate the highest-numbered
bus below the CardBus bus. The PCI1251A uses this register in conjunction with the PCI bus
number and CardBus bus number registers to determine when to forward PCI configuration
cycles to its secondary buses. This register is separate for each CardBus controller function.
Register:CardBus latency timer
Type:Read/write
Offset:1Bh (functions 0, 1)
Default:00h
Description: This read/write register is programmed by the host system to specify the latency timer for the
PCI1251A CardBus interface in units of CCLK cycles. When the PCI1251A is a CardBus
initiator and asserts CFRAME
expires before the PCI1251A transaction has terminated, then the PCI1251A terminates the
transaction at the end of the next data phase. A recommended minimum value for this register
is 20h, which allows most transactions to be completed.
memory base registers 0, 1
Bit31302928272625242322212019181716
NameMemory base registers 0, 1
TypeR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/W
Default0000000000000000
Bit1514131211109876543210
NameMemory base registers 0, 1
TypeR/WR/WR/WR/WRRRRRRRRRRRR
Default0000000000000000
, the CardBus latency timer begins counting. If the latency timer
Register:Memory base registers 0, 1
Type:Read only, read/write
Offset:1 Ch, 24h
Default:0000 0000h
Description: The Memory base registers indicate the lower address of a PCI memory address range.
These registers are used by the PCI1251A to determine when to forward a memory
transaction to the CardBus bus, and when to forward a CardBus cycle to PCI. Bits 31–12 of
these registers are read/write which allow the memory base to be located anywhere in the
32-bit PCI memory space on 4K-byte boundaries. Bits 11–0 are read only and always return
0s. Writes to these bits have no effect. Bits 8 and 9 of the bridge control register specify
whether memory windows 0 and 1 are prefetchable or nonprefetchable. The memory base
register or the memory limit register must be nonzero for the PCI1251A to claim any memory
transactions through CardBus memory windows (i.e., these windows are not enabled by
default to pass the first 4K-bytes of memory to CardBus).
Register:Memory limit registers 0, 1
Type:Read only, read/write
Offset:20h, 24h
Default:0000 0000h
Description: The Memory limit registers indicate the upper address of a PCI memory address range. These
registers are used by the PCI1251A to determine when to forward a memory transaction to the
CardBus bus, and when to forward a CardBus cycle to PCI. Bits 31–12 of these registers are
read/write and allow the memory base to be located anywhere in the 32-bit PCI memory space
on 4K-byte boundaries. Bits 11–0 are read only and always return 0s. Writes to these bits have
no effect. Bits 8 and 9 of the bridge control register specify whether memory windows 0 and 1
are prefetchable or nonprefetchable. The memory base register or the memory limit register
must be nonzero for the PCI1251A to claim any memory transactions through CardBus
memory windows (i.e., these windows are not enabled by default to pass the first 4K-bytes of
memory to CardBus).
50
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
I/O base registers 0, 1
Bit31302928272625242322212019181716
NameI/O base registers 0, 1
TypeRRRRRRRRRRRRRRRR
Default0000000000000000
Bit1514131211109876543210
NameI/O base registers 0, 1
TypeR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WRR
Default0000000000000000
Register:I/O base registers 0, 1
Type:Read only, read/write
Offset:2Ch, 34h
Default:0000 0000h
Description: The I/O base registers indicate the lower address of a PCI I/O address range. These registers
are used by the PCI1251A to determine when to forward an I/O transaction to the CardBus
bus, and when to forward a CardBus cycle to the PCI bus. The lower 16 bits of this register
locate the bottom of the I/O window within a 64K-byte page, and the upper 16 bits (31–16) are
all 0, which locates this 64K-byte page in the first page of the 32-bit PCI I/O address space.
Bits 31–16 and bits 1–0 are read only and always return 0s, forcing I/O windows to be aligned
on a natural doubleword boundary in the first 64 kilobyte page of PCI I/O address space.
These I/O windows are enabled when either the I/O base register or the I/O limit register are
nonzero. The I/O windows are not enabled by default to pass the first doubleword of I/O to
CardBus.
NOTE:
Either the I/O base or the I/O limit register must be nonzero to enable any I/O transactions.
Register:I/O limit registers 0, 1
Type:Read only, read/write
Offset:30h, 38h
Default:0000 0000h
Description: The I/O limit registers indicate the upper address of a PCI I/O address range. These registers
are used by the PCI1251A to determine when to forward an I/O transaction to the CardBus
bus, and when to forward a CardBus cycle to PCI. The lower 16 bits of this register locate the
top of the I/O window within a 64K-byte page, and the upper 16 bits are a page register that
locates this 64K-byte page in 32-bit PCI I/O address space. Bits 15–2 are read/write and allow
the I/O limit address to be located anywhere in the 64K-byte page (indicated by bits 31–16 of
the appropriate I/O base ) on doubleword boundaries.
Bits 31–16 are read only and always return 0s when read. The page is set in the I/O base
register. Bits 1–0 are read only and always return 0s, forcing I/O windows to be aligned on a
natural doubleword boundary. Writes to read-only bits have no effect. The PCI1251A
assumes that the lower two bits of the limit address are 1s.
These I/O windows are enabled when either the I/O base register or the I/O limit register are
nonzero. The I/O windows are not enabled by default to pass the first doubleword of I/O to
CardBus).
NOTE:
Either the I/O base or the I/O limit register must be nonzero to enable any I/O transactions.
interrupt line register
Bit76543210
NameInterrupt line
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default11111111
Register:Interrupt line
Type:Read/write
Offset:3Ch
Default:FFh
Description: The interrupt line register is read/write and is used to communicate interrupt line routing
information. This register is not used by the PCI1251A, because there are many
programmable interrupt signaling options. This register is considered reserved; however,
host software may read and write to this register. Each PCI1251A function 0 and 1 has an
interrupt line register.
Register:Interrupt pin
Type:Read only
Offset:3Dh
Default:Depends on the interrupt signaling mode
Description: The value read from the interrupt pin register is function dependent and depends on the
interrupt INTRTIE bit in the system control register and the signaling mode selected through
the device control register. When the INTRTIE bit is set, this register reads 0x01 (INTA) for
both functions. The PCI1251A defaults to signaling PCI and IRQ interrupts through IRQSER
serial interrupt terminal. Refer to Table 30 for a complete description of the register contents.
IRQ and PCI serialized (IRQSER) interrupts (default)10x01 (INTA)0x01 (INTA)
INTRTIE
BIT
INTPIN
FUNCTION 0
INTPIN
FUNCTION 1
bridge control register
Bit1514131211109876543210
NameBridge control
TypeRRRRRR/WR/WR/WR/WR/WR/WRR/WR/WR/WR/W
Default0000001101000000
Register:Bridge control
Type:Read only, read/write (see individual bit descriptions)
Offset:3Eh (functions 0, 1)
Default:0340h
Description: The bridge control register provides control over various PCI1251A bridging functions. Some
bits in this register are global and should be accessed only through function 0. Refer to
Table 31 for a complete description of the register contents.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
53
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 31. Bridge Control Register
BITSIGNALTYPEFUNCTION
15–1 1RSVDRReserved. Bits 15–11 return 0s when read.
Write posting enable. Enables write posting to and from the CardBus sockets. Write posting enables
10POSTENR/W
9PREFETCH1R/W
8PREFETCH0R/W
7INT_RT_ENR/W
6CRSTR/W
†
5
MABTMODER/W
4RSVDRReserved. Bit 4 returns 0 when read.
3VGAENR/W
2ISAENR/W
1CSERRENR/W
0CPERRENR/W
†
This bit is global and should be accessed only through function 0.
posting of write data on burst cycles. Operating with write posting disabled inhibits performance on burst
cycles. Note that bursted write data can be posted, but various write transactions may not. Bit 10 is socket
dependent and is not shared between functions 0 and 1.
Memory window 1 type. Bit 9 specifies whether or not memory window 1 is prefetchable. This bit is socket
dependent. Bit 9 is encoded as:
Memory window 0 type. Bit 8 specifies whether or not memory window 0 is prefetchable. This bit is
encoded as:
PCI interrupt – IREQ routing enable. Bit 7 is used to select whether PC Card functional interrupts are
routed to PCI interrupts or the IRQ specified in the ExCA registers.
CardBus reset. When bit 6 is set, CRST is asserted on the CardBus interface. CRST can also be
asserted by passing a PRST
Master abort mode. Bit 5 controls how the PCI1251A responds to a master abort when the PCI1251A
is an initiator on the CardBus interface. This bit is common between each socket.
VGA enable. Bit 3 affects how the PCI1251A responds to VGA addresses. When this bit is set, accesses
to VGA addresses are forwarded.
ISA mode enable. Bit 2 affects how the PCI1251A passes I/O cycles within the 64K-byte ISA range. This
bit is not common between sockets. When this bit is set, the PCI1251A does not forward the last
768 bytes of each 1K I/O range to CardBus.
CSERR enable. Bit 1 controls the response of the PCI1251A to CSERR signals on the CardBus bus.
This bit is separate for each socket.
CardBus parity error response enable. Bit 0 controls the response of the PCI1251A to CardBus parity
errors. This bit is separate for each socket.
0 = Memory window 1 is nonprefetchable.
1 = Memory window 1 is prefetchable (default).
0 = Memory window 0 is nonprefetchable.
1 = Memory window 0 is prefetchable (default).
0 = Functional interrupts routed to PCI interrupts (default)
1 = Functional interrupts routed by ExCA s
0 = CRST
1 = CRST
0 = Master aborts not reported (default)
1 = Signal target abort on PCI and SERR
0 = CSERR
1 = CSERR
0 = CardBus parity errors are ignored.
1 = CardBus parity errors are reported using CPERR
assertion to CardBus.
deasserted
asserted (default)
is not forwarded to PCI SERR.
is forwarded to PCI SERR.
(if enabled)
.
54
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
subsystem vendor ID register
Bit1514131211109876543210
NameSubsystem vendor ID
TypeRRRRRRRRRRRRRRRR
Default0000000000000000
Register:Subsystem vendor ID
Type:Read only (read/write when bit 5 in the system control register is 0)
Offset:40h (functions 0, 1)
Default:0000h
Description: The subsystem vendor ID register is used for system and option-card identification purposes,
and may be required for certain operating systems. This register is read only or read/write,
depending on the setting of bit 5 (SUBSYSRW) in the system control register. When bit 5 is 0,
this register is read/write; when bit 5 is 1, this register is read only. The default mode is
read only.
subsystem ID register
Bit1514131211109876543210
NameSubsystem ID
TypeRRRRRRRRRRRRRRRR
Default0000000000000000
Register:Subsystem ID
Type:Read only (read/write when bit 5 in the system control register is 0)
Offset:42h (functions 0, 1)
Default:0000h
Description: The subsystem ID register is used for system and option-card identification purposes and may
be required for certain operating systems. This register is read only or read/write, depending
on the setting of bit 5 (SUBSYSRW) in the system control register. When bit 5 is 0, this register
is read/write; when bit 5 is 1, this register is read only. The default mode is read only.
If an EEPROM is present, the subsystem ID and subsystem vendor ID will be loaded from
EEPROM after a reset.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
55
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
PC Card 16-bit I/F legacy-mode base address register
Bit31302928272625242322212019181716
NamePC Card 16-bit I/F legacy-mode base address
TypeR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/W
Default0000000000000000
Bit1514131211109876543210
NamePC Card 16-bit I/F legacy-mode base address
TypeR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR/WR
Default0000000000000001
Register:PC Card 16-bit I/F legacy-mode base address
Type:Read only, read/write (see individual bit descriptions)
Offset:44h (functions 0, 1)
Default:0000 0000h
Description: The PCI1251A supports the index/data scheme of accessing the ExCA registers, which is
mapped by this register. An address written to this register is the address for the index register
and the address + 1 is the data address. Using this access method, applications requiring
index/data ExCA access can be supported. The base address can be mapped anywhere in
32-bit I/O space on a word boundary; hence, bit 0 is read only, returning 1 when read. As
specified in the
shared by functions 0 and 1. Refer to the ExCA register set description for register offsets.
PCI to PCMCIA CardBus Bridge Register Description
(Yenta), this register is
system control register
Bit31302928272625242322212019181716
NameSystem control
TypeR/WR/WR/WRR/WR/WR/WR/WRR/WR/WR/WR/WR/WR/WR/W
Default0000000001000100
Bit1514131211109876543210
NameSystem control
TypeR/WR/WRRRRRRRR/WR/WR/WR/WRR/WR/W
Default1001000001100000
Register:System control
Type:Read only, read/write (see individual bit descriptions)
Offset:80h (functions 0, 1)
Default:0044 9060h
Description: System-level initializations are performed through programming this doubleword register.
Some of the bits are global and should be written only through function 0. Refer to Table 32 for
a complete description of the register contents.
56
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
Table 32. System Control Register
BITSIGNALTYPEFUNCTION
Serialized PCI interrupt routing step. Bits 31–30 are used to configure the serialized PCI interrupt
stream signaling, and accomplish an even distribution of interrupts signaled on the four PCI interrupt
†
31–30
29
28RSVDRReserved. Bit 28 is read only and returns 0 when read.
27
26
25SMISTA TUSR/W
24
23RSVDRReserved
22CBRSVDR/W
21VCCPROTR/W
20RSVDR/WReserved. Bit 20 returns 0 when read.
19CDREQENR/W
18–16CDMACHANR/W
15
†
These bits are global and should be accessed only through function 0.
SER_STEPR/W
†
†
†
†
†
INTRTIER/W
P2CCLKR/W
SMIROUTER/W
SMIENBR/W
MRBURSTDNR/W
slots. Bits 31–30 are global to both PCI1251A functions.
Tie internal PCI interrupts. When this bit is set, the INT A and INTB signals are tied together internally
and are signaled as INTA
both PCI1251A functions.
P2C power switch clock. The PCI1251A defaults CLOCK as an input clock to control the serial interface
and the internal state machine. Bit 27 can be set to enable the PCI1251A to generate and drive the
CLOCK from the PCI clock. When in a SUSPEND
PCI1251A to successfully power down sockets after card removal without indicating to the system the
removal event.
SMI interrupt routing. Bit 26 is shared between functions 0 and 1, and selects whether IRQ2 or CSC
is signaled when a write occurs to power a PC Card socket.
SMI interrupt status. This socket-dependent bit is set when a write occurs to set the socket power, and
the SMIENB bit is set. Writing a 1 to bit 25 clears the status.
SMI interrupt mode enable. When bit 24 is set, the SMI interrupt signaling is enabled and generates
an interrupt when a write to the socket power control occurs. This bit is shared and defaults to 0
(disabled).
CardBus reserved terminals signaling. When bit 22 is set, the RSVD CardBus terminals are driven low
when a CardBus card is inserted. When this bit is low (as default), these signals are 3-stated.
VCC protection enable. Bit 21 is socket dependent.
PC/PCI DMA card enable. When bit 19 is set, the PCI1251A allows 16-bit PC Cards to request PC/PCI
DMA using the DREQ
CDMACHANPC/PCI DMA channel assignment. Bits 18–16 are encoded as:
Memory read burst enable downstream. When bit 15 is set, memory read transactions are allowed to
burst downstream.
00 = INTA
01 = INTA
10 = INTA
11 = INTA
0 = INTA
1 = INTA
0 = CLOCK provided externally, input to PCI1251A (default)
1 = CLOCK generated by PCI clock and driven by PCI1251A
0 = PC Card power change interrupts routed to IRQ2 (default)
1 = A CSC interrupt is generated on PC Card power changes.
0= SMI interrupt signaled
1 = SMI interrupt not signaled
0 = SMI interrupt mode is disabled (default).
1 = SMI interrupt mode is enabled.
0 = VCC protection enabled for 16-bit cards (default)
1 = VCC protection disabled for 16-bit cards
0 = Ignore DREQ
1 = Signal DMA request on DREQ
0–3 = 8-bit DMA channels
4 = PCI master; not used (default).
5–7 = 16-bit DMA channels
0 = MRBURSTDN downstream is disabled.
1 = MRBURSTDN downstream is enabled (default).
/INTB signal in INTA/INTB IRQSER slots (default)
/INTB signal in INTB/INTC IRQSER slots
/INTB signal in INTC/INTD IRQSER slots
/INTB signal in INTD/INTA IRQSER slots
. INTA can then be shifted by using the SER_STEP bits. This bit is global to
and INTB are not tied together internally (default).
and INTB are tied together internally.
signaling. DREQ is selected through the socket DMA register 0.
signaling from PC Cards (default)
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
state, however, CLOCK must be input to the
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
57
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 32. System Control Register (Continued)
BITSIGNALTYPEFUNCTION
Memory read burst enable upstream. When bit 14 is set, the PCI1251A allows memory read
†
14
11
10
†
These bits are global and should be accessed only through function 0.
MRBURSTUPR/W
13SOCACTIVER
12RSVDRReserved. Bit 12 is read only and returns 1 when read. This is the power-rail bit in functions 0 and 1.
†
PWRSTREAMR
†
DELAYUPR
†
9
DELAYDOWNR
8INTERROGATER
7RSVDRReserved. Bit 7 is read only and returns 0 when read.
†
6
PWRSAVINGSR/W
†
5
4
3
2RSVDRReserved
1
0
SUBSYSRWR/W
†
†
†
†
CB_DPARR/W
CDMA_ENR/W
KEEPCLKR/W
RIMUXR/W
transactions to burst upstream.
Socket activity status. When set, bit 13 indicates access has been performed to or from a PC card,
and is cleared upon read of this status bit. This bit is socket dependent.
Power stream in progress status bit. When set high, bit 11 indicates that a power stream to the power
switch is in progress and a powering change has been requested. When this bit is clear, it indicates
that the power stream is complete.
Power-up delay in progress status. When set, bit 9 indicates that a power-up stream has been sent
to the power switch and proper power may not yet be stable. This bit is cleared when the power-up
delay has expired.
Power-down delay in progress status. When set, bit 10 indicates that a power-down stream has been
sent to the power switch and proper power may not yet be stable. This bit is cleared when the
power-down delay has expired.
Interrogation in progress. When set, bit 8 indicates an interrogation is in progress and clears when
interrogation completes. This bit is socket dependent.
Power savings mode enable. When this bit is set, if a CB card is inserted, idle, and without a CB clock,
the applicable CB state machine will not be clocked.
Subsystem ID (SSID), subsystem vendor ID (SSVID), ExCA ID, and revision register read/write
enable. Bit 5 is shared by functions 0 and 1.
CardBus data parity SERR signaling enable
PC/PCI DMA enable. Bit 3 enables PC/PCI DMA when set, and disables IRQMUX7 and IRQMUX6
signaling.
Keep clock. This bit works with PCI and CB CLKRUN protocols.
RI_OUT/PME multiplex enable.
0 = MRBURSTUP upstream is disabled (default).
1 = MRBURSTUP upstream is enabled.
0 = No socket activity (default)
1 = Socket activity
0 = Power stream is complete and delay has expired.
1 = Power stream is in progress.
0 = Power-up delay has expired.
1 = Power-up stream sent to switch. Power may not be stable.
0 = Power-down delay has expired.
1 = Power-down stream sent to switch. Power may not be stable.
0 = Interrogation not in progress (default)
1 = Interrogation in progress
0 = SSID, SSVID, ExCA ID, and revision register are read/write.
1 = SSID, SSVID, ExCA ID, and revision register are read only (default).
0 = CardBus data parity not signaled on PCI SERR
1 = CardBus data parity signaled on PCI SERR
0 = Allows normal functioning of both CLKRUN
1 = Does not allow CB clock or PCI clock to be stopped using the CLKRUN
0 = RI_OUT and PME signals are both routed to the RI_OUT/PME terminal. If both are
enabled at the same time, RI_OUT will have precedence over PME.
1 = Only PME signals are routed to the RI_OUT/PME terminal.
(default)
protocols.(default)
protocols.
58
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
multimedia control register
Bit76543210
NameMultimedia control
TypeR/WR/WRRRRR/WR/W
Default00000000
Register:Multimedia control
Type:Read only, read/write (see individual bit descriptions)
Offset:84h (functions 0, 1)
Default:00h
Description: The multimedia control register provides port mapping for the PCI1251A zoom video/data
ports (see
Refer to Table 33 for a complete description of the register contents.
BITSIGNALTYPEFUNCTION
7ZVOUTENR/W
6PORTSELR/W
5–2RSVDRReserved. Bits 5–2 return 0s when read. Writes have no effect.
1ZVEN1R/W
0ZVEN0R/W
zoom video support
, on page 29). Access this register only through function 0.
Table 33. Multimedia Control Register
ZV output enable. Bit 7 enables the output for the PCI1251A outsourcing ZV terminals. When this bit is
reset 0, these terminals are in a high-impedance state.
ZV port select. Bit 6 controls the multiplexing control over which PC Card ZV port data is driven to the
outsourcing PCI1251A ZV port.
PC Card 1 ZV mode enable. Bit 1 enables the zoom video mode for socket 1. When set, the PCI1251A inputs
ZV data from the PC Card interface and disables output drivers on ZV terminals.
PC Card 0 ZV mode enable. Bit 0 enables the zoom video mode for socket 0. When set, the PCI1251A inputs
ZV data from the PC Card interface and disables output drivers on ZV terminals.
0 = Output card 0 ZV if enabled (default)
1 = Output card 1 ZV if enabled
0 = PC Card 1 ZV disabled (default)
1 = PC Card 1 ZV enabled
0 = PC Card 0 ZV disabled (default)
1 = PC Card 0 ZV enabled
general status register
Bit76543210
NameGeneral status
TypeRRRRRRRR
Default00000X00
Register:General status
Type:Read only
Offset:85h (functions 0, 1)
Default:0Xh
Description: The general status register provides general device status information. The status of the
serial EEPROM interface is provided through this register. Refer to Table 34 for a complete
description of the register contents.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
59
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 34. General Status Register
BITSIGNALTYPEFUNCTION
7–3RSVDRReserved. Bits 7–3 are read only and return 0s when read.
Serial EEPROM detect. When bit 2 is cleared, it indicates that the PCI1251A serial EEPROM circuitry has
†
2
EEDETECTR
†
1
0
†
These bits are global and should be accessed only through function 0.
DATAERRR
†
EEBUSYR
GPIO0 control register
Bit76543210
NameGPIO0 control
TypeR/WR/WRR/WR/WRR/WR/W
Default10000000
detected an EEPROM. A pullup resistor must be implemented on LA TCH for bit 2 to be set. This status
bit is encoded as:
0 = EEPROM not detected (default)
1 = EEPROM detected
Serial EEPROM data error status. Bit 1 indicates when a data error occurs on the serial EEPROM
interface. Bit 2 may be set due to a missing acknowledge. This bit is cleared by writing a 1.
0 = No error detected (default)
1 = Data error detected
Serial EEPROM busy status. Bit 0 indicates the status of the PCI1251A serial EEPROM circuitry. This bit
is set during the loading of the subsystem ID value.
0 = Serial EEPROM circuitry not busy (default)
1 = Serial EEPROM circuitry busy
Register:GPIO0 control
Type:Read only, read/write (see individual bit descriptions)
Offset:88h (functions 0, 1)
Default:80h
Description: The GPIO0 control register is used for control of the general-purpose I/O 0 (GPIO0). This
terminal defaults to a general-purpose input but can be reconfigured as the socket 0 activity
LED output, a zoom video enabled status output, or general-purpose output. Access this
register only through function 0. Refer to Table 35 for a complete description of the register
contents.
Table 35. GPIO0 Control Register
BITSIGNALTYPEFUNCTION
General-purpose 0 mode. Bits 7–6 select the functionality of LEDA1/GPIO0. These bits are encoded as:
7–6GP0R/W
5RSVDRReserved. Bits 5–4 return 0s when read. Writes have no effect.
4GPINTEN0R/W
3DELTA0R/W
2RSVDRReserved. Bit 2 returns 0 when read. Writes have no effect.
1DATAOUT0R/W
0DATAIN0R/W
GP interrupt enable. When bit 4 is set, a socket A card status change (CSC) interrupt is generated when
the DELTA0 bit is set.
DAT AIN0 change status. Bit 3 is set when the DAT AIN0 bit changes state when in GPI mode. Glitches on
the GPI terminal may not be detected by software without bit 3. This bit is cleared by a write back of 1.
General-purpose data output. When in general-purpose output mode, bit 1 represents the data. Data
written to this bit in GPO mode is signaled to the output.
General-purpose data input. When in either general-purpose input or output mode, bit 0 represents the
data on the GPIO terminal. Data signaled on the GPI terminal is identified through this bit.
00 = Signal LEDA1 to indicate PC Card socket 0 activity
01 = Signal ZVSTAT to indicate zoom video output enabled
10 = General-purpose input (GPI)
11 = General-purpose output (GPO)
60
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
GPIO1 control register
Bit76543210
NameGPIO1 control
TypeR/WR/WRR/WR/WRR/WR/W
Default10000000
Register:GPIO1 control
Type:Read only, read/write (see individual bit descriptions)
Offset:89h (functions 0, 1)
Default:80h
Description: The GPIO1 control register is used for control of the general-purpose I/O 1 (GPIO1). This
terminal defaults to a general-purpose input, but can be reconfigured as the socket 1 activity
LED output or general-purpose output. Access this register only through function 0. Refer to
Table 36 for a complete description of the register contents.
Table 36. GPIO1 Control Register
BITSIGNALTYPEFUNCTION
General-purpose 1 mode. Bits 7–6 select the functionality of LEDA2/GPIO1. These bits are encoded as:
7–6GP1R/W
5RSVDRReserved. Bit 5 returns 0 when read. Writes have no effect.
4GPINTEN1R/W
3DELTA1R/W
2RSVDRReserved. Bit 2 returns 0 when read. Writes have no effect.
1DATAOUT1R/W
0DATAIN1R/W
GP interrupt enable. When bit 4 is set, a socket A card status change (CSC) interrupt is generated when
the DELTA1 bit is set.
DAT AIN1 change status. Bit 3 is set when the DAT AIN1 bit changes state when in GPI mode. Glitches on
the GPI terminal may not be detected by software without bit 3. This bit is cleared by a write back of 1.
General-purpose data output. When in general-purpose output mode, bit 1 represents the data. Data
written to this bit in GPO mode is signaled to the output.
General-purpose data input. When in either general-purpose input or output mode, bit 0 represents the
data on the GPIO terminal. Data signaled on the GPI terminal is identified through this bit.
00 = Signal LEDA2 to indicate PC Card socket 1 activity.
01 = Reserved.
10 = General-purpose input (GPI).
11 = General-purpose output (GPO).
GPIO2 control register
Bit76543210
NameGPIO2 control
TypeR/WR/WRR/WR/WRR/WR/W
Default10000000
Register:GPIO2 control
Type:Read only, read/write (see individual bit descriptions)
Offset:8Ah (functions 0, 1)
Default:80h
Description: The GPIO2 control register is used for control of the general-purpose I/O 2 (GPIO2). This
terminal defaults to a general-purpose input but can be reconfigured as PCI LOCK
, a zoom
video enabled status output, or general-purpose output. Access this register only through
function 0. Refer to Table 37 for a complete description of the register contents.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
61
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 37. GPIO2 Control Register
BITSIGNALTYPEFUNCTION
General-purpose 2 mode. Bits 7–6 select the functionality of LOCK/GPIO2. These bits are encoded as:
7–6GP2R/W
5RSVDRReserved. Bit 5 returns 0 when read. Writes have no effect.
4GPINTEN2R/W
3DELTA2R/W
2RSVDRReserved. Bit 2 returns 0 when read. Writes have no effect.
1DATAOUT2R/W
0DATAIN2R/W
GP interrupt enable. When bit 4 is set, a socket B card status change (CSC) interrupt is generated when
the DELTA2 bit is set.
DAT AIN2 change status. Bit 3 is set when the DAT AIN2 bit changes state when in GPI mode. Glitches on
the GPI terminal may not be detected by software without bit 3. This bit is cleared by a write back of 1.
General-purpose data output. When in general-purpose output mode, bit 1 represents the data. Data
written to this bit in GPO mode is signaled to the output.
General-purpose data input. When in either general-purpose input or output mode, bit 0 represents the
data on the GPIO terminal. Data signaled on the GPI terminal is identified through this bit.
GPIO3 control register
Bit76543210
NameGPIO3 control
TypeR/WR/WRR/WR/WRR/WR/W
Default10000000
00 = Terminal is configured as PCI LOCK
01 = Signal ZVSTAT to indicate zoom video output is enabled.
10 = General-purpose input (GPI)
11 = General-purpose output (GPO)
.
Register:GPIO3 control
Type:Read only, read/write (see individual bit descriptions)
Offset:8Bh (functions 0, 1)
Default:80h
Description: The GPIO3 control register is used for control of the general-purpose I/O 3 (GPIO3). This
terminal defaults to a general-purpose input but can be reconfigured as PCI INTA
general-purpose output. Access this register only through function 0. Refer to Table 38 for a
complete description of the register contents.
Table 38. GPIO3 Control Register
BITSIGNALTYPEFUNCTION
General-purpose 3 mode. Bits 7–6 select the functionality of INTA/GPIO3. These bits are encoded as:
7–6GP3R/W
5RSVDRReserved. Bit 5 returns 0 when read. Writes have no effect.
4GPINTEN3R/W
3DELTA3R/W
2RSVDRReserved. Bit 2 returns 0 when read. Writes have no effect.
1DATAOUT3R/W
0DATAIN3R/W
GP interrupt enable. When bit 4 is set, a socket B card status change (CSC) interrupt is generated when
the DELTA3 bit is set.
DAT AIN3 change status. Bit 3 is set when the DAT AIN3 bit changes state when in GPI mode. Glitches on
the GPI terminal may not be detected by software without bit 3. This bit is cleared by a write back of 1.
General-purpose data output. When in general-purpose output mode, bit 1 represents the data. Data
written to this bit in GPO mode is signaled to the output.
General-purpose data input. When in either general-purpose input or output mode, bit 0 represents the
data on the GPIO terminal. Data signaled on the GPI terminal is identified through this bit.
00 = Terminal is configured as PCI INT A
01 = Reserved
10 = General-purpose input (GPI)
11 = General-purpose output (GPO)
Register:IRQMUX routing
Type:Read/write (see individual bit descriptions)
Offset:8Ch (functions 0, 1)
Default:0000 0000h
Description: The IRQMUX routing register is used for the legacy interrupt mux routing feature of the
PCI1251A, which is described in the p
parallel IRQ interrupt scheme is selected, all PCI1251A interrupts sent to ISA IRQs are
signaled on the corresponding IRQMUX7–IRQMUX0 signals. These signals are routed
directly to various IRQ inputs on the system PIC, and the routing information is programmed
through this register. Each terminal has at least one secondary function that can be selected
by programming the bits appropriately. Access this register only through function 0. Refer to
Table 39 for a complete description of the register contents.
rogrammable interrupt subsystem
on page 32. If the
Table 39. IRQMUX Routing Register
BITSIGNALTYPEFUNCTION
IRQMUX7 routing. Bits 31–28 select one of 15 interrupts that may be routed on IRQMUX7. When these
bits are 0000 and bit 3 in the system control register is set, this pin is used for PCREQ
NOTE: These bits must not be configured for IRQ signaling if IRQMUX7 is being used for PCREQ
31–28IRQMUX7R/W
NOTES: 1. These bits must not be configured for IRQ signaling if IRQMUX6 is being used for PCGNT
27–24IRQMUX6R/W
signaling.
0000 = EEPROM SCL routed on IRQMUX7 (default)
0000 = PCREQ routed on IRQMUX7 when bit 3 of the system control register is 1
0001 = PCREQ
0010 = IRQ2 routed on IRQMUX7
0011 = IRQ3 routed on IRQMUX7
:
1111 = IRQ15 routed on IRQMUX7
IRQMUX6 routing. Bits 27–24 select one of 15 interrupts that may be routed on IRQMUX6. When these
bits are 0000 and bit 3 in the system control register is set, this pin is used for PCGNT
signaling.
2. An EEPROM cannot be used if IRQMUX7 and IRQMUX6 are being used for DMA PCREQ
PCGNT.
0000 = EEPROM SDA routed on IRQMUX6 (default)
0000 = PCGNT
0001 = IRQ1 routed on IRQMUX6
0010 = IRQ2 routed on IRQMUX6
0011 = IRQ3 routed on IRQMUX6
:
1111 = IRQ15 routed on IRQMUX6
routed on IRQMUX7
routed on IRQMUX6 when bit 3 of the system control register is 1
DMA signaling.
DMA signaling.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
63
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 39. IRQMUX Routing Register (Continued)
BITSIGNALTYPEFUNCTION
IRQMUX5 routing. Bits 23–20 select one of 15 interrupts that may be routed on IRQMUX5. When these
bits are 0000, then no routing is selected.
23–20IRQMUX5R/W
IRQMUX4 routing. Bits 19–16 select one of 15 interrupts that may be routed on IRQMUX4. When these
bits are 0000, then no routing is selected.
19–16IRQMUX4R/W
IRQMUX3 routing. Bits 15–12 select one of 15 interrupts that may be routed on IRQMUX3. When these
bits are 0000, then no routing is selected.
15–12IRQMUX3R/W
IRQMUX2 routing. Bits 11–8 select one of 15 interrupts that may be routed on IRQMUX2. When these bits
are 0000, then no routing is selected.
11–8IRQMUX2R/W
IRQMUX1 routing. Bits 7–4 select one of 15 interrupts that may be routed on IRQMUX1. When these bits
are 0000, then no routing is selected.
7–4IRQMUX1R/W
IRQMUX0 routing. Bits 3–0 select one of 15 interrupts that may be routed on IRQMUX0. When these bits
are 0000, then no routing is selected.
3–0IRQMUX0R/W
0000 = No IRQ routing selected (default)
0001 = CardBus audio (CBAUDIO) routed on IRQMUX5
0010 = IRQ2 routed on IRQMUX5
0011 = IRQ3 routed on IRQMUX5
:
1111 = IRQ15 routed on IRQMUX5
0000 = No IRQ routing selected (default)
0001 = ZVSTAT routed on IRQMUX4
0010 = RI_OUT
0011 = IRQ3 routed on IRQMUX4
0100 = IRQ4 routed on IRQMUX4
:
1111 = IRQ15 routed on IRQMUX4
0000 = No IRQ routing selected (default)
0001 = LEDA or LEDB routed on IRQMUX3
0010 = RI_OUT
0011 = IRQ3 routed on IRQMUX3
0100 = IRQ4 routed on IRQMUX3
:
1111 = IRQ15 routed on IRQMUX3
0000 = No IRQ routing selected (default)
0001 = LEDB routed on IRQMUX2
0010 = IRQ2 routed on IRQMUX2
0011 = IRQ3 routed on IRQMUX2
:
1111 = IRQ15 routed on IRQMUX2
0000 = No IRQ routing selected (default)
0001 = LEDA routed on IRQMUX1
0010 = IRQ2 routed on IRQMUX1
0011 = IRQ3 routed on IRQMUX1
:
1111 = IRQ15 routed on IRQMUX1
0000 = No IRQ routing selected (default)
0001 = INTB
0010 = IRQ2 routed on IRQMUX0
0011 = IRQ3 routed on IRQMUX0
:
1111 = IRQ15 routed on IRQMUX0
routed on IRQMUX4
routed on IRQMUX3
routed on IRQMUX0
64
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
retry status register
Bit76543210
NameRetry status
TypeR/WR/WR/WRRRR/WR
Default11000000
Register:Retry status
Type:Read only, read/write (see individual bit descriptions)
Offset:90h (functions 0, 1)
Default:C0h
Description: The retry status register enables the retry timeout counters and displays the retry expiration
status. The flags are set when the PCI1251A retries a PCI or CardBus master request, and the
master does not return within 2
bit. These bits are expected to be incorporated into the PCI command, PCI status, and bridge
control registers by the PCI SIG. Access this register only through function 0. Refer to
Table 40 for a complete description of the register contents.
Table 40. Retry Status Register
BITSIGNALTYPEFUNCTION
PCI retry timeout counter enable. Bit 7 is encoded:
7PCIRETRYR/W
†
6
CBRETRYR/W
5TEXP_CBBR/W
4RSVDRReserved. Bit 4 returns 0 when read.
†
3
TEXP_CBAR
2RSVDRReserved. Bit 2 returns 0 when read.
1TEXP_PCIR/W
0RSVDRReserved. Bit 0 returns 0 when read.
†
These bits are global and should be accessed only through function 0.
CardBus retry timeout counter enable. Bit 6 is encoded:
CardBus target B retry expired. Write a 1 to clear bit 5.
CardBus target A retry expired. Write a 1 to clear bit 3.
PCI target retry expired. Write a 1 to clear bit 1.
PCI clock cycles. The flags are cleared by writing a 1 to the
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
65
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
card control register
Bit76543210
NameCard control
TypeR/WR/WRRRR/WR/WR/W
Default00000000
Register:Card control
Type:Read only, read/write (see individual bit descriptions)
Offset:91h
Default:00h
Description: The card control register is provided for PCI1130 compatibility. It provides the PC Card
function interrupt flag (IFG) and an alias for the ZVEN0 and ZVEN1 bits found in the PCI1251A
multimedia control register. When this register is accessed by function 0, the ZVEN0 bit will
alias with ZVENABLE. When this register is accessed by function 1, the ZVEN1 bit will alias
with ZVENABLE. Setting ZVENABLE only places the PC Card socket interface ZV terminals
in a high-impedance state, but does not enable the PCI1251A to drive ZV data onto the ZV
terminals. RI_OUT is enabled through this register, and the enable bit is shared between
functions 0 and 1. Refer to Table 41 for a complete description of the register contents.
Table 41. Card Control Register
BITSIGNALTYPEFUNCTION
Ring indicate output enable.
†
7
6ZVENABLER/W
5RSVDRReserved. Bit 5 returns 0 when read.
4–3RSVDRReserved. Bits 4–3 are read only and default to 0.
2AUD2MUXR/W
1SPKROUTENR/W
0IFGR/W
†
This bit is global and should be accessed only through function 0.
RIENBR/W
to 0, and for routing to IRQMUX3/4.
Compatibility ZV mode enable. When set, the corresponding PC Card Socket interface ZV terminals
enter a high-impedance state. This bit defaults to 0.
CardBus Audio-to-IRQMUX. When set, the CAUDIO CardBus signal is routed to the corresponding
IRQMUX terminal. Function 0, A_CAUDIO is routed to IRQMUX0, and function 1, B_AUDIO is routed
to IRQMUX1. If this bit is set for both functions, function 0 is routed.
Speaker out enable. When bit 1 is set, SPKR on the PC Card is enabled and is routed to SPKROUT on
the PCI bus. The SPKR
sent to SPKROUT. The SPKROUT terminal drives data only when either functions SPKROUTEN bit is
set. This bit is encoded as:
Interrupt flag. Bit 0 is the interrupt flag for 16-bit I/O PC Cards and for CardBus cards. Bit 0 is set when
a functional interrupt is signaled from a PC Card interface and is socket dependent (i.e., not global). Write
back a 1 to clear this bit.
0 = Disables any routing of RI_OUT
1 = Enables RI_OUT
0 = CAUDIO set to CAUDPWM on IRQMUX routed (default)
1 = CAUDIO is not routed.
signal from socket 0 is exclusive ORed with the SPKR signal from socket 1 and
0 = SPKR
1 = SPKR
0 = No PC Card functional interrupt detected (default)
1 = PC Card functional interrupt detected
to SPKROUT not enabled
to SPKROUT enabled
signal for routing to the RI_OUT/PME terminal when RIMUX is set
signal (default).
66
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
device control register
Bit76543210
NameDevice control
TypeRR/WR/WRR/WR/WR/WR/W
Default01100110
Register:Device control
Type:Read only, read/write (see individual bit descriptions)
Offset:92h (functions 0, 1)
Default:66h
Description: The device control register is provided for PCI1130 compatibility and contains bits that are
shared between functions 0 and 1. The interrupt mode select is programmed through this
register which is composed of PCI1251A global bits. The socket-capable force bits are also
programmed through this register. Refer to Table 42 for a complete description of the register
contents.
Table 42. Device Control Register
BITSIGNALTYPEFUNCTION
7RSVDRReserved. Bit 7 Returns 0 when read.
†
6
3VCAPABLER/W
5IO16R2R/WDiagnostic bit. This bit defaults to 1.
4RSVDRReserved. Bit 4 returns 0 when read. Writes have no effect.
†
3
†
2–1
†
0
†
These bits are global and should be accessed only through function 0.
TESTR/WTI test. Only a 0 should be written to bit 3. This bit can be set to shorten the interrogation counter.
INTMODER/W
RSVDR/W
3-V socket capable force
Interrupt mode. Bit 2–1 select the interrupt signaling mode. The interrupt mode bits are encoded:
Reserved. NAND tree enable bit. There is a NAND tree diagnostic structure in the PCI1251A, and it tests
only the pins that are inputs or I/Os. Any output-only terminal on the PCI1251A is excluded from the NAND
tree test.
0 = Not 3-V capable
1 = 3-V capable (default)
00 = Parallel PCI interrupts only
01 = Parallel IRQ and parallel PCI interrupts
10 = IRQ serialized interrupts and parallel PCI interrupts INTA
11 = IRQ and PCI serialized interrupts (default)
Register:Diagnostic
Type:Read/write
Offset:93h (functions 0, 1)
Default:61h
Description: The diagnostic register is provided for internal TI test purposes. It is a read/write register, but
only 0s should be written to this register. Refer to Table 43 for a complete description of the
register contents.
Table 43. Diagnostic Register
BITSIGNALTYPEFUNCTION
†
7
6-5RSVDR/W
4
3
2
1
0
†
These bits are global and should be accessed only through function 0.
TRUE_VALR/W
†
†
†
†
†
DIAGR/WDiagnostic RETRY_DIS. Delayed transaction disable.
DIAGR/WDiagnostic RETRY_EXT. Extends the latency from 16 to 64.
DIAGR/WDiagnostic DISCARD_TIM_SEL_CB. Set = 210, reset = 215.
DIAGR/WDiagnostic DISCARD_TIM_SEL_PCI. Set = 210, reset = 215.
ASYNC_CSCR/W
True value. This bit defaults to 0 when read. This bit is encoded as:
0 = Reads true values in PCI vendor ID and PCI device ID registers (default)
1 = Reads all 1s in reads to the PCI vendor ID and PCI device ID registers
Reserved. These bits are reserved for TI internal test purposes. The value of these bits should not be
changed for normal operation.
Register:Socket DMA register 0
Type:Read only, read/write (see individual bit descriptions)
Offset:94h (functions 0, 1)
Default:0000 0000h
Description: The socket DMA register 0 provides control over the PC Card DMA request (DREQ
Refer to Table 44 for a complete description of the register contents.
Table 44. Socket DMA Register 0
BITSIGNALTYPEFUNCTION
31–2RSVDRReserved. Bits 31–2 are read only and return 0s when read.
DMA request (DREQ). Bits 1–0 indicate which pin on the 16-bit PC Card interface acts as DREQ during DMA
transfers. This field is encoded as:
1–0DREQPINR/W
00 = Socket not configured for DMA (default).
01 = DREQ
10 = DREQ
11 = DREQ
Register:Socket DMA register 1
Type:Read only, read/write (see individual bit descriptions)
Offset:98h (functions 0, 1)
Default:0000 0000h
Description: The socket DMA register 1 provides control over the distributed DMA (DDMA) registers and
the PCI portion of DMA transfers. The DMA base address locates the DDMA registers in a
16-byte region within the first 64K-bytes of PCI I/O address space. Refer to Table 45 for a
complete description of the register contents.
NOTE:
32-bit transfers are not supported; the maximum transfer possible for 16-bit PC Cards is 16 bits.
Table 45. Socket DMA Register 1
BITSIGNALTYPEFUNCTION
31–16RSVDRReserved. Bits 31–16 are read only and return 0s when read.
DMA base address. Locates the socket’s DMA registers in PCI I/O space. This field represents a 16-bit
15–4DMABASER/W
3EXTMODERExtended addressing. This feature is not supported by the PCI1251A and always returns a 0.
2–1XFERSIZER/W
0DDMAENR/W
PCI I/O address. The upper 16 bits of the address are hardwired to 0, forcing this window to within the lower
64K-bytes of I/O address space. The lower four bits are hardwired to 0 and are included in the address
decode. Thus, the window is aligned to a natural 16-byte boundary.
Transfer size. Bits 2–1 specify the width of the DMA transfer on the PC Card interface and are encoded as:
00 = Transfers are 8 bits (default).
01 = Transfers are 16 bits.
10 = Reserved
11 = Reserved
DDMA registers decode enable. Enables the decoding of the distributed DMA registers based on the value
of DMABASE.
0 = Disabled (default)
1 = Enabled
70
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
capability ID register
Bit76543210
NameCapability ID
TypeRRRRRRRR
Default00000001
Register:Capability ID
Type:Read only
Offset:A0h
Default:01h
Description: The capability ID register identifies the linked list item as the register for PCI power
management. The register returns 01h when read, which is the unique ID assigned by the PCI
SIG for the PCI location of the capabilities pointer and the value.
Register:Next-item pointer
Type:Read only
Offset:A1h
Default:00h
Description: The next-item pointer register is used to indicate the next item in the linked list of the PCI power
management capabilities. Because the PCI1251A functions only include one capabilities
item, this register returns 0s when read.
Register:Power-management capabilities
Type:Read only (see individual bit descriptions)
Offset:A2h (functions 0, 1)
Default:7E21h
Description: The power-management capabilities register contains information on the capabilities of the
PC Card function related to power management. Both PCI1251A CardBus bridge functions
support D0, D2, and D3 power states. Refer to Table 46 for a complete description of the
register contents.
Table 46. Power-Management Capabilities Register
BITSIGNALTYPEFUNCTION
PME support. This 4-bit field indicates the power states from which the PCI1251A supports asserting PME.
A 0 for any bit indicates that the CardBus function cannot assert PME
bits return 1110b when read. Each of these bits is described below:
15–1 1PME_SUPR
10D2_SUPR
9D1_SUPR
8–6RSVDRReserved. These bits are reserved and return 000b when read.
5DSIR
4AUX_PWRR
3PMECLKR
2–0R
D2 support. Bit 10 returns a 1 when read, indicating that the CardBus function supports the D2 device
power state.
D1 support. Bit 9 returns a 1 when read, indicating that the CardBus function supports the D1 device
power state.
Device-specific initialization. Bit 5 is read only and returns 1 when read, indicating that the CardBus
controller functions require special initialization (beyond the standard PCI configuration header) before the
generic class device driver is able to use it.
Auxiliary power source. This bit is meaningful only if bit 15 (D3
4 indicates that support for PME
PME clock. When set, bit 3 indicates that the function relies on the presence of the PCI clock for PME
operation.
Version. Bits 2–0 return 001b when read, indicating that there are four bytes of general-purpose power
management (PM) registers as described in the PCI Bus Power Management Interface Specification
Revision 1.0.
Bit 15 contains the value 0, indicating that PME
Bit 14 contains the value 1, indicating that PME
Bit 13 contains the value 1, indicating that PME
Bit 12 contains the value 1, indicating that PME
Bit 11 contains the value 1, indicating that PME
0 = Function supplies its own auxiliary power source
1 = Support for PME
proprietary source.
0 = PCI clock not required for the function to generate PME
1 = PCI function required to generate PME
in D3cold requires auxiliary power.
in D3c
requires auxiliary power supplied to the system by a
old
from that power state. These four
cannot be asserted from D3
can be asserted from D3
can be asserted from D2 state.
can be asserted from D1 state.
can be asserted from the D0 state.
Register:Power-management control/status
Type:Read only, read/write (see individual bit descriptions)
Offset:A4h (functions 0, 1)
Default:000000h
Description: The power-management control/status register determines and changes the current power
state of the PCI1251A CardBus function. The contents of this register are not affected by the
internally-generated reset caused by the transition from D3
for a complete description of the register contents.
NOTE:
A transition from the D3
state to D0 state resets all PCI, ExCA, and CardBus registers. TI specific,
hot
PCI power management, and legacy base address registers are not affected.
PME status. Bit 15 is set when the CardBus function would normally assert PME, independent of the
15PMESTATR/W
14–13DATASCALER
12–9DATASELR
8PME_ENR/WPME enable. Bit 8 enables the function to assert PME. If this bit is cleared, assertion of PME is disabled.
7–2RSVDRReserved. Bits 7–2 are read only and return 0s when read.
1–0PWRSTATER/W
state of the PME_EN bit. Bit 15 is cleared by a write back of 1, and this also clears the PME
PME
was asserted by this function. Writing a 0 to this bit has no effect.
Data scale. This 2-bit field is read only, returning 0s when read. The CardBus function does not return
any dynamic data as indicated by the DYN_DATA bit.
Data select. This 4-bit field is read only and returns 0s when read. The CardBus function does not
return any dynamic data as indicated by the DYN_DATA bit.
Power state. This 2-bit field is used both to determine the current power state of a function and to set
the function into a new power state. This field is encoded as:
00 = D0
01 = D1
10 = D2
11 = D3
hot
signal if
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
73
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
power-management control/status register bridge support extensions
Bit76543210
NamePower-management control/status register bridge support extensions
TypeRRRRRRRR
Default10000000
Register:Power-management control/status register bridge support extensions
Type:Read only
Offset:A6h (functions 0, 1)
Default:80h
Description: The power-management control/status register bridge support extensions support PCI bridge
specific functionality and are required for all PCI-to-PCI bridges. Refer to Table 48 for a
complete description of the register contents.
Table 48. Power-Management Control/Status Register Bridge Support Extensions
BITSIGNALTYPEFUNCTION
Bus power/clock control. When read, bit 7 returns 1b. This bit is encoded as:
7BPCC_ENR
6B2_B3R
5–0RSVDRReserved. These bits are read only and return 0s when read.
A 0 indicates that the bus power/clock control policies defined in the PCI Power Management
specification are disabled. When the bus power/clock control enable mechanism is disabled the
bridge’s PMCSR PowerState field cannot be used by the system software to control the power or the
clock of the bridge’s secondary bus. A 1 indicates that the bus power/clock control mechanism is
enabled.
B2/B3 support for D3
of programming the function to D3
is encoded as:
0 = Bus power/clock control is disabled.
1 = Bus power/clock control is enabled (default).
. The state of this bit determines the action that is to occur as a direct result
hot
0 = When the bridge is programmed to D3
(B3)
1 = When the bridge is programmed to D3
(B2).
. This bit is meaningful only if bit 7 BPCC_Enable is a 1. This bit
hot
, its secondary bus has its power removed
hot
, its secondary bus’s PCI clock is stopped
hot
74
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
ExCA compatibility registers (functions 0 and 1)
The ExCA (Exchangeable Card Architecture) registers implemented in the PCI1251A are register-compatible
with the popular Intel 82365SL–DF PCMCIA controller. ExCA registers are identified by an offset value that is
compatible with the legacy I/O index/data scheme used on the Intel 82365 ISA controller. The ExCA registers
are accessed through this scheme by writing the register offset value into the index register (I/O base) and
reading or writing the data register (I/O base + 1). The I/O base address used in the index/data scheme is
programmed in the PC Card 16-Bit I/F legacy mode base address register, which is shared by both card sockets.
The offsets from this base address run contiguous from 00h to 3Fh for socket A, and from 40h to 7Fh for socket
B. Refer to Figure 16 for an ExCA I/O mapping illustration. Table 49 identifies each ExCA register and its
respective ExCA offset.
PCI1251A Configuration Registers
CardBus Socket/ExCA Base Address
16-Bit Legacy-Mode Base Address
Offset
10h
†
44h
Host I/O Space
Index
Data
PC Card A
ExCA
Registers
PC Card B
ExCA
Registers
Offset
00h
3Fh
40h
7Fh
†
The 16-bit legacy mode base address register is shared by functions 0 and 1 as indicated by the shading.
Figure 16. ExCA Register Access Through I/O
The TI PCI1251A also provides a memory mapped alias of the ExCA registers by directly mapping them into
PCI memory space. They are located through the CardBus Socket Registers/ExCA Registers Base Address
Register (PCI Register 10h) at memory offset 800h. Each socket has a separate base address programmable
by function. Refer to Figure 17 for an ExCA memory mapping illustration. The memory offsets are 800h–844h
for both functions 0 and 1. This illustration also identifies the CardBus Socket Register mapping, which are
mapped into the same 4 K window at memory offset 0h.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
75
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
ExCA compatibility registers (functions 0 and 1) (continued)
Host
PCI1251A Configuration Registers
10h
CardBus Socket/ExCA Base Address
16-Bit Legacy-Mode Base Address
†
The CardBus socket/ExCA base address mode register is separate for functions 0 and 1.
†
44h
Memory Space
CardBus
Socket A
Registers
ExCA
Registers
Card A
Offset
00h
20h
800h
844h
Host
Memory Space
CardBus
Socket B
Registers
ExCA
Registers
Card B
Figure 17. ExCA Register Access Through Memory
The interrupt registers, as defined by the 82365SL Specification, in the ExCA register control such card
functions as reset, type, interrupt routing, and interrupt enables. Special attention must be paid to the interrupt
routing registers and the host interrupt signaling method selected for the PCI1251A to ensure that all possible
PCI1251A interrupts can potentially be routed to the programmable interrupt controller . The ExCA registers that
are critical to the interrupt signaling are at memory address ExCA offset 803h and 805h.
OffsetOffset
00h
20h
800h
844h
Access to I/O mapped 16-bit PC cards is available to the host system via two ExCA I/O windows. These are
regions of host I/O address space into which the card I/O space is mapped. These windows are defined by start,
end, and offset addresses programmed in the ExCA registers described in this section. I/O windows have byte
granularity .
Access to memory mapped 16-bit PC Cards is available to the host system via five ExCA memory windows.
These are regions of host memory space into which the card memory space is mapped. These windows are
defined by start, end, and offset addresses programmed in the ExCA registers described in this section. Memory
windows have 4K-byte granularity.
76
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
REGISTER NAME
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 49. ExCA Registers and Offsets
PCI MEMORY ADDRESS
OFFSET (HEX)
Identification and revision8000040
Interface status8010141
Power control8020242
Interrupt and general control8030343
Card status change8040444
Card status-change-interrupt configuration8050545
Address window enable8060646
I / O window control8070747
I / O window 0 start-address low byte8080848
I / O window 0 start-address high byte8090949
I / O window 0 end-address low byte80A0A4A
I / O window 0 end-address high byte80B0B4B
I / O window 1 start-address low byte80C0C4C
I / O window 1 start-address high byte80D0D4D
I / O window 1 end-address low byte80E0E4E
I / O window 1 end-address high byte80F0F4F
Memory window 0 start-address low byte8101050
Memory window 0 start-address high byte8111151
Memory window 0 end-address low byte8121252
Memory window 0 end-address high byte8131353
Memory window 0 offset-address low byte8141454
Memory window 0 offset-address high byte8151555
Card detect and general control8161656
Reserved8171757
Memory window 1 start-address low byte8181858
Memory window 1 start-address high byte8191959
Memory window 1 end-address low byte81A1A5A
Memory window 1 end-address high byte81B1B5B
Memory window 1 offset-address low byte81C1C5C
Memory window 1 offset-address high byte81D1D5D
Global control81E1E5E
Reserved81F1F5F
Memory window 2 start-address low byte8202060
Memory window 2 start-address high byte8212161
Memory window 2 end-address low byte8222262
Memory window 2 end-address high byte8232363
Memory window 2 offset-address low byte8242464
Memory window 2 offset-address high byte8252565
Reserved8262666
Reserved8272767
ExCA identification and revision register† (index 00h)
Bit76543210
NameExCA identification and revision
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default10000100
Register:ExCA identification and revision
Type:Read only, read/write (see individual bit descriptions)
Offset:CardBus socket address + 800h; Card A ExCA offset 00h
Card B ExCA offset 40h
Default:84h
Description: This register provides host software with information on 16-bit PC Card support and Intel
82365SL-DF compatibility. Refer to Table 50 for a complete description of the register
†
When bit 5 in the system control register is 1, this register is read only.
BITSIGNALTYPEFUNCTION
7–6IFTYPER/W
5–4RSVDR/WReserved. Bits 5–4 can be used for Intel82365SL-DF emulation.
3–0365REVR/W
contents.
Table 50. ExCA Identification and Revision Register (Index 00h)
Interface type. These bits default to 10b and identify the 16-bit PC Card support provided by the PCI1251A.
The PCI1251A supports both I/O and memory 16-bit PC cards.
Intel82365SL-DF revision. This read/write field stores the Intel82365SL-DF revision supported by the
PCI1251A. Host software can read this field to determine compatibility to the Intel
This field defaults to 0100b upon PCI1251A reset.
82365SL-DF register set.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
79
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
ExCA interface status register (index 01h)
Bit76543210
NameExCA interface status
TypeRRRRRRRR
Default00XXXXXX
Register:ExCA interface status
Type:Read only (see individual bit descriptions)
Offset:CardBus socket address + 801h; Card A ExCA offset 01h
Card B ExCA offset 41h
Default:00XX XXXXb
Description: This register provides information on the current status of the PC Card interface. An X in the
default bit value indicates that the value of the bit after reset depends on the state of the
PC Card interface. Refer to Table 51 for a complete description of the register contents.
Table 51. ExCA Interface Status Register (Index 01h)
BITSIGNALTYPEFUNCTION
7RSVDRReserved. Bit 7 is read only and returns 0 when read. Writes have no effect.
Card Power. Bit 6 indicates the current power status of the PC Card socket. This bit reflects how the power
6CARDPWRR
5READYR
4CARDWPR
3CDETECT2R
2CDETECT1R
1–0BVDSTATR
control register has been programmed. Bit 6 is encoded as:
Ready. Bit 5 indicates the current status of the READY signal at the PC Card interface.
Card write protect. Bit 4 indicates the current status of WP at the PC Card interface. This signal reports
to the PCI1251A whether or not the memory card is write protected. Furthermore, write protection for an
entire PCI1251A 16-bit memory window is available by setting the appropriate bit in the memory window
offset high-byte register.
Card detect 2. Bit 3 indicates the status of CD2 at the PC Card interface. Software may use this and
CDETECT1 to determine if a PC Card is fully seated in the socket.
Card detect 1. Bit 2 indicates the status of CD1 at the PC Card interface. Software may use this and
CDETECT2 to determine if a PC Card is fully seated in the socket.
Battery voltage detect. When a 16-bit memory card is inserted, the field indicates the status of the battery
voltage detect signals (BVD1, BVD2) at the PC Card interface, where bit 1 reflects the BVD1 status and
bit 0 reflects BVD2.
When a 16-bit I/O card is inserted, this field indicates the status of SPKR
the PC Card interface. In this case, the two bits in this field directly reflect the current state of these card
outputs.
0 = VCC and VPP to the socket turned off (default)
1 = VCC and VPP to the socket turned on
0 = PC Card not ready for data transfer
1 = PC Card ready for data transfer
0 = WP is 0. PC Card is R/W.
1 = WP is 1. PC Card is read only.
0 = CD2 is 1. No PC Card is inserted.
1 = CD2 is 0. PC Card is at least partially inserted.
0 = CD1 is 1. No PC Card is inserted.
1 = CD1 is 0. PC Card is at least partially inserted.
00 = Battery dead
01 = Battery dead
10 = Battery low; warning
11 = Battery good
(bit 1) and STSCHG (bit 0) at
80
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
ExCA power-control register (index 02h)
Bit76543210
NameExCA power control
TypeR/WRRR/WR/WRR/WR/W
Default00000000
Register:ExCA power control
Type:Read only, read/write (see individual bit descriptions)
Offset:CardBus socket address + 802h; Card A ExCA offset 02h
Card B ExCA offset 42h
Default:00h
Description: This register provides PC Card power control. Bit 7 of this register controls the 16-bit outputs
on the socket interface and can be used for power management in 16-bit PC Card
applications. Refer to Table 52 for a complete description of the register contents.
Table 52. ExCA Power-Control Register (Index 02h)
BITSIGNALTYPEFUNCTION
Card output enable. Bit 7 controls the state of all of the 16-bit outputs on the PCI1251A. This bit is
7COER/W
6–5RSVDRReserved. Bits 6–5 are read only and return 0s when read. Writes have no effect.
4–3EXCAVCCR/W
2RSVDRReserved. Bit 2 is read only and returns 0 when read. Writes have no effect.
1–0EXCAVPPR/W
encoded as:
VCC. Bits 4–3 are used to request changes to card VCC. This field is encoded as:
VPP. Bits 1–0 are used to request changes to card VPP. The PCI1251A ignores this field unless VCC to the
socket is enabled (i.e., 5 V or 3.3 V). This field is encoded as:
0 = 16-bit PC Card outputs disabled (default)
1 = 16-bit PC Card outputs enabled
00 = 0 V (default)
01 = 0 V reserved
10 = 5 V
11 = 3 V
00 = 0 V (default)
01 = V
CC
10 = 12 V
11 = 0 V reserved
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
81
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
ExCA interrupt and general-control register (index 03h)
Bit76543210
NameExCA interrupt and general control
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:ExCA interrupt and general control
Type:Read/write (see individual bit descriptions)
Offset:CardBus socket address + 803h; Card A ExCA offset 03h
Card B ExCA offset 43h
Default:00h
Description: This register controls interrupt routing for I/O interrupts, as well as other critical 16-bit
PC Card functions. Refer to Table 53 for a complete description of the register contents.
Table 53. ExCA Interrupt and General-Control Register (Index 03h)
BITSIGNALTYPEFUNCTION
7RINGENR/W
6CARD_RSTR/W
5CARDTYPER/W
4CSCROUTER/W
3–0INTSELECTR/W
Card ring indicate enable. Bit 7 enables the ring indicate function of BVD1/RI. This bit is encoded as:
Card reset. Bit 6 controls the 16-bit PC Card RESET, and allows host software to force a card reset. Bit 6
affects 16-bit cards only. This bit is encoded as
Card type. Bit 5 indicates the PC card type. This bit is encoded as:
PCI Interrupt CSC routing enable bit. When bit 4 is set (high), the card status change interrupts are routed
to PCI interrupts. When low, the card status change interrupts are routed using bits 7–4 in the ExCA card
status change interrupt configuration register. This bit is encoded as:
Card interrupt select for I/O PC Card functional interrupts. Bits 3–0 select the interrupt routing for I/O
PC Card functional interrupts. This field is encoded as:
0 = Ring indicate disabled (default)
1 = Ring indicate enabled
0 = RESET signal asserted (default)
1 = RESET signal deasserted
0 = Memory PC Card installed (default)
1 = I/O PC Card installed
0 = CSC interrupts are routed by ExCA registers (default).
1 = CSC interrupts are routed to PCI interrupts.
Bit76543210
NameExCA card status change
TypeRRRRRRRR
Default00000000
Register:ExCA card status change
Type:Read only (see individual bit descriptions)
Offset:CardBus socket address + 804h; Card A ExCA offset 04h
Card B ExCA offset 44h
Default:00h
Description: This register reflects the status of PC Card CSC interrupt sources. The ExCA card
status-change interrupt configuration register, Table 55, enables these interrupt sources to
generate an interrupt to the host. When the interrupt source is disabled, the corresponding bit
in this register always reads 0. When an interrupt source is enabled, the corresponding bit in
this register is set to indicate that the interrupt source is active. After generating the interrupt to
the host, the interrupt service routine must read this register to determine the source of the
interrupt. The interrupt service routine is responsible for resetting the bits in this register as
well. Resetting a bit is accomplished by one of two methods: a read of this register or an
explicit write back of 1 to the status bit. The choice of these two methods is based on the
interrupt flag clear mode select, bit 2, in the global control register. Refer to Table 54 for a
complete description of the register contents.
7–4RSVDRReserved. Bits 7–4 are read only and return 0s when read. Writes have no effect.
Card detect change. Bit 3 indicates whether a change on CD1 or CD2 occurred at the PC Card
3CDCHANGER
2READYCHANGER
1BATWARNR
0BA TDEADR
interface. A read of this bit or writing a 1 to this bit clears it. This bit is encoded as:
Ready change. When a 16-bit memory is installed in the socket, bit 2 includes whether the source
of a PCI1251A interrupt was due to a change on READY at the PC Card interface, indicating that the
PC Card is now ready to accept new data. A read of this bit or writing a 1 to this bit clears it. This bit
is encoded as:
When a 16-bit I/O card is installed, bit 2 is always 0.
Battery warning change. When a 16-bit memory card is installed in the socket, bit 1 indicates whether
the source of a PCI1251A interrupt was due to a battery-low warning condition. A read of this bit or
writing a 1 to this bit clears it. This bit is encoded as:
When a 16-bit I/O card is installed, bit 1 is always 0.
Battery dead or status change. When a 16-bit memory card is installed in the socket, bit 0 indicates
whether the source of a PCI1251A interrupt was due to a battery dead condition. A read of this bit
or writing a 1 to this bit clears it. This bit is encoded as:
Ring indicate. When the PCI1251A is configured for ring indicate operation, bit 0 indicates the status
of RI.
0 = No change detected on either CD1 or CD2
1 = Change detected on either CD1 or CD2
0 = No low-to-high transition detected on READY (default)
1 = Detected low-to-high transition on READY
Interrupt select for card status change. Bits 7–4 select the interrupt routing for card status change
7–4CSCSELECTR/W
3CDENR/W
2READYENR/W
1BATWARNENR/W
0BATDEADENR/W
interrupts. This field is encoded as:
Card detect enable. Bit 3 enables interrupts on CD1 or CD2 changes. This bit is encoded as:
Ready enable. Bit 2 enables/disables a low-to-high transition on PC Card READY to generate a host
interrupt. This interrupt source is considered a card status change. This bit is encoded as:
Battery Warning Enable. Bit 1 enables/disables a battery warning condition to generate a CSC interrupt.
This bit is encoded as:
Battery dead enable. Bit 0 enables/disables a battery dead condition on a memory PC Card or assertion
of the STSCHG
Register:ExCA address window enable
Type:Read only, read/write (see individual bit descriptions)
Offset:CardBus socket address + 806h; Card A ExCA offset 06h
Card B ExCA offset 46h
Default:00h
Description: This register enables/disables the memory and I/O windows to the 16-bit PC Card. By default,
all windows to the card are disabled. The PCI1251A does not acknowledge PCI memory or I/O
cycles to the card if the corresponding enable bit in this register is 0, regardless of the
programming of the memory or I/O window start/end/offset address registers. Refer to
Table 56 for a complete description of the register contents.
Bit76543210
NameExCA I/O window control
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:ExCA I/O window control
Type:Read/write (see individual bit descriptions)
Offset:CardBus socket address + 807h; Card A ExCA offset 07h
Card B ExCA offset 47h
Default:00h
Description: This register contains parameters related to I/O window sizing and cycle timing. Refer to
Table 57 for a complete description of the register contents.
Table 57. ExCA
BITSIGNALTYPEFUNCTION
I/O window 1 wait state. Bit 7 controls the I/O window 1 wait state for 16-bit I/O accesses. Bit 7 has no
effect on 8-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel
7WAITSTATE1R/W
6ZEROWS1R/W
5IOIS16W1R/W
4DATASIZE1R/W
3WAITSTATE0R/W
2ZEROWS0R/W
1IOIS16W0R/W
0DATASIZE0R/W
This bit is encoded as:
I/O window 1 zero wait state. Bit 6 controls the I/O window 1 wait state for 8-bit I/O accesses. Bit 6 has
no effect on 16-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel
82365SL-DF. This bit is encoded as:
I/O window 1 IOIS16 source. Bit 5 controls the I/O window 1 automatic data sizing feature that uses
IOIS16
I/O window 1 data size. Bit 4 controls the I/O window 1 data size. Bit 4 is ignored if the I/O window 1
IOIS16
I/O window 0 wait state. Bit 3 controls the I/O window 0 wait state for 16-bit I/O accesses. Bit 3 has no
effect on 8-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel
This bit is encoded as:
I/O window 0 zero wait state. Bit 2 controls the I/O window 0 wait state for 8-bit I/O accesses. Bit 2 has
no effect on 16-bit accesses. This wait-state timing emulates the ISA wait state used by the Intel
82365SL-DF. This bit is encoded as:
I/O window 0 IOIS16 source. Bit 1 controls the I/O window 0 automatic data sizing feature that uses
IOIS16
I/O window 0 data size. Bit 0 controls the I/O window 0 data size. Bit 0 is ignored if the I/O window 0
IOIS16
I/O Window Control Register (Index 07h)
0 = 16-bit cycles have standard length (default).
1 = 16-bit cycles are extended by one equivalent ISA wait state.
0 = 8-bit cycles have standard length (default).
1 = 8-bit cycles are reduced to equivalent of three ISA cycles.
from the PC Card to determine the data width of the I/O data transfer. This bit is encoded as:
0 = Window data width determined by DATASIZE1, bit 4 (default).
1 = Window data width determined by IOIS16
source bit (bit 5) is set. This bit is encoded as:
0 = Window data width is 8 bits (default).
1 = Window data width is 16 bits.
0 = 16-bit cycles have standard length (default).
1 = 16-bit cycles are extended by one equivalent ISA wait state.
0 = 8-bit cycles have standard length (default).
1 = 8-bit cycles are reduced to equivalent of three ISA cycles.
from the PC Card to determine the data width of the I/O data transfer. This bit is encoded as:
0 = Window data width is determined by DATASIZE0, bit 0 (default).
1 = Window data width is determined by IOIS16
source bit (bit 1) is set. This bit is encoded as:
0 = Window data width is 8 bits (default).
1 = Window data width is 16 bits.
Card B ExCA offset 4Ch
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the low byte of the 16-bit I/O window start address for I/O windows 0
and 1. The eight bits of these registers correspond to the lower eight bits of the start address.
Bit76543210
NameExCA I/O window 0 and 1 start-address high byte
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:ExCA I/O window 0 start-address high byte
Offset:CardBus socket address + 809h; Card A ExCA offset 09h
Card B ExCA offset 49h
Register:ExCA I/O window 1 start-address high byte
Offset:CardBus socket address + 80Dh; Card A ExCA offset 0Dh
Card B ExCA offset 4Dh
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the high byte of the 16-bit I/O window start address for I/O windows 0
and 1. The eight bits of these registers correspond to the upper eight bits of the start address.
Bit76543210
NameExCA I/O window 0 and 1 end-address high byte
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
I/O window 1 end-address low byte
Card B ExCA offset 4Eh
and 1. The eight bits of these registers correspond to the lower eight bits of the end address.
Register:ExCA I/O window 0 end-address high byte
Offset:CardBus socket address + 80Bh; Card A ExCA offset 0Bh
Card B ExCA offset 4Bh
Register:ExCA
I/O window 1 end-address high byte
Offset:CardBus socket address + 80Fh; Card A ExCA offset 0Fh
Card B ExCA offset 4Fh
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the high byte of the 16-bit I/O window end address for I/O windows 0
and 1. The eight bits of these registers correspond to the upper eight bits of the end address.
Card B ExCA offset 70h
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the low byte of the 16-bit memory window start address for memory
windows 0, 1, 2, 3, and 4. The eight bits of these registers correspond to bits A19–A12 of the
start address.
Bit76543210
NameExCA memory window 0–4 start-address high byte
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:ExCA memory window 0 start-address high byte
Offset:CardBus socket address + 811h; Card A ExCA offset 11h
Card B ExCA offset 51h
Register:ExCA memory window 1 start-address high byte
Offset:CardBus socket address + 819h; Card A ExCA offset 19h
Card B ExCA offset 59h
Register:ExCA memory window 2 start-address high byte
Offset:CardBus socket address + 821h; Card A ExCA offset 21h
Card B ExCA offset 61h
Register:ExCA memory window 3 start-address high byte
Offset:CardBus socket address + 829h; Card A ExCA offset 29h
Card B ExCA offset 69h
Register:ExCA memory window 4 start-address high byte
Offset:CardBus socket address + 831h; Card A ExCA offset 31h
Card B ExCA offset 71h
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the high nibble of the 16-bit memory window start address for memory
windows 0, 1, 2, 3, and 4. The lower four bits of these registers correspond to bits A23–A20 of
the start address. In addition, the memory window data width and wait states are set in
this register. Refer to Table 58 for a complete description of the register contents.
Data size. Bit 7 controls the memory window data width. This bit is encoded as:
7DATASIZER/W
Zero wait state. Bit 6 controls the memory window wait state for 8- and 16-bit accesses. This wait-state
timing emulates the ISA wait state used by the Intel
6ZEROWAITR/W
5–4SCRATCHR/WScratch pad bits. Bits 5–4 are read/write and have no effect on memory window operation.
3–0STAHNR/W
Start-address high nibble. Bits 3–0 represent the upper address bits A23–A20 of the memory window
start address.
0 = Window data width is 8 bits (default).
1 = Window data width is 16 bits.
82365SL-DF. This bit is encoded as:
0 = 8- and 16-bit cycles have standard length (default).
1 = 8-bit cycles are reduced to equivalent of three ISA cycles.
16-bit cycles are reduced to equivalent of two ISA cycles.
Card B ExCA offset 72h
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the low byte of the 16-bit memory window end address for memory
windows 0, 1, 2, 3, and 4. The eight bits of these registers correspond to bits A19–A12 of the
end address.
Bit76543210
NameExCA memory window 0–4 end-address high byte
TypeR/WR/WRRR/WR/WR/WR/W
Default00000000
Register:ExCA memory window 0 end-address high byte
Offset:CardBus socket address + 813h; Card A ExCA offset 13h
Card B ExCA offset 53h
Register:ExCA memory window 1 end-address high byte
Offset:CardBus socket address + 81Bh; Card A ExCA offset 1Bh
Card B ExCA offset 5Bh
Register:ExCA memory window 2 end-address high byte
Offset:CardBus socket address + 823h; Card A ExCA offset 23h
Card B ExCA offset 63h
Register:ExCA memory window 3 end-address high byte
Offset:CardBus socket address + 82Bh; Card A ExCA offset 2Bh
Card B ExCA offset 6Bh
Register:ExCA memory window 4 end-address high byte
Offset:CardBus socket address + 833h; Card A ExCA offset 33h
Card B ExCA offset 73h
Type:Read only, read/write (see individual bit descriptions)
Default:00h
Size:One byte
Description: These registers contain the high nibble of the 16-bit memory window end address for memory
windows 0, 1, 2, 3, and 4. The lower four bits of these registers correspond to bits A23–A20 of
the end address. In addition, the memory window wait states are set in this register. Refer to
Table 59 for a complete description of the register contents.
7–6MEMWSR/W
5–4RSVDRReserved. Bits 5–4 are read only and return 0s when read. Writes have no effect.
3–0ENDHNR/W
Wait state. Bits 7–6 specify the number of equivalent ISA wait states to be added to 16-bit memory accesses.
The number of wait states added is equal to the binary value of these two bits.
End-address high nibble. Bits 3–0 represent the upper address bits A23–A20 of the memory window end
address.
Card B ExCA offset 74h
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the low byte of the 16-bit memory window offset address for memory
windows 0, 1, 2, 3, and 4. The eight bits of these registers correspond to bits A19–A12 of the
offset address.
Bit76543210
NameExCA memory window 0–4 offset-address high byte
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:ExCA memory window 0 offset-address high byte
Offset:CardBus socket address + 815h; Card A ExCA offset 15h
Card B ExCA offset 55h
Register:ExCA memory window 1 offset-address high byte
Offset:CardBus socket address + 81Dh; Card A ExCA offset 1Dh
Card B ExCA offset 5Dh
Register:ExCA memory window 2 offset-address high byte
Offset:CardBus socket address + 825h; Card A ExCA offset 25h
Card B ExCA offset 65h
Register:ExCA memory window 3 offset-address high byte
Offset:CardBus socket address + 82Dh; Card A ExCA offset 2Dh
Card B ExCA offset 6Dh
Register:ExCA memory window 4 offset-address high byte
Offset:CardBus socket address + 835h; Card A ExCA offset 35h
Card B ExCA offset 75h
Type:Read only, read/write (see individual bit descriptions)
Default:00h
Size:One byte
Description: These registers contain the high six bits of the 16-bit memory window offset address for
memory windows 0, 1, 2, 3, and 4. The lower six bits of these registers correspond to bits
A25–A20 of the offset address. In addition, the write protection and common/attribute
memory configurations are set in this register . Refer to Table 60 for a complete description of
the register contents.
Card B ExCA offset 78h
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the low byte of the 16-bit I/O window offset address for I/O windows 0
and 1. The eight bits of these registers correspond to the lower eight bits of the offset address,
and bit 0 is always 0.
Bit76543210
NameExCA I/O window 0 and 1 offset-address high byte
TypeR/WR/WR/WR/WR/WR/WR/WR/W
Default00000000
Register:ExCA I/O window 0 offset-address high byte
Offset:CardBus socket address + 837h; Card A ExCA offset 37h
Card B ExCA offset 77h
Register:ExCA I/O window 1 offset-address high byte
Offset:CardBus socket address + 839h; Card A ExCA offset 39h
Card B ExCA offset 79h
Type:Read/write
Default:00h
Size:One byte
Description: These registers contain the high byte of the 16-bit I/O window offset address for I/O windows 0
and 1. The eight bits of these registers correspond to the upper eight bits of the offset address.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
95
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
ExCA card detect and general-control register (index 16h)
Bit76543210
NameExCA I/O card detect and general control
TypeRRWR/WRRR/WR
DefaultXX000000
Register:ExCA card detect and general control
Type:Read only, write only, read/write (see individual bit descriptions)
Offset:CardBus socket address + 816h; Card A ExCA offset 16h
Card B ExCA offset 56h
Default:XX00 0000b
Description: This register controls how the ExCA registers for the socket respond to card removal, as well
as reports the status of VS1
complete description of the register contents.
Table 61. ExCA Card Detect and General-Control Register (Index 16h)
BITSIGNALTYPEFUNCTION
VS2 state. Bit 7 reports the current state of VS2 at the PC Card interface and, therefore, does not have
7VS2STATR
6VS1STATR
5SWCSCW
4CDRESUMER/W
3–2RSVDRReserved. Bits 3–2 are read only and return 0s when read. Writes have no effect.
1REGCONFIGR/W
0RSVDRReserved. Bit 0 is read only and returns 0 when read. Writes have no effect.
a default value.
0 = VS2
1 = VS2
VS1 state. Bit 6 reports the current state of VS1 at the PC Card interface and, therefore, does not have
a default value.
0 = VS1
1 = VS1
Software card detect interrupt. If the card detect enable bit in the card status change interrupt
configuration register is set, writing a 1 to bit 5 causes a card detect card status change interrupt for the
associated card socket. If the card detect enable bit is cleared to 0 in the card status change interrupt
configuration register , writing a 1 to the software card detect interrupt bit has no effect. Bit 5 is write only .
A read operation of this bit always returns 0. Writing a 1 to this bit also clears it. If bit 2 of the global control
register is set, and a 1 is written to clear bit 3 of the ExCA card status change interrupt register, this bit
also is cleared.
Card detect resume enable. If bit 4 is set to 1, then once a card detect change has been detected on CD1
and CD2 inputs, RI_OUT goes from high to low. RI_OUT remains low until the card status change bit
in the card status change register is cleared. If this bit is a 0, then the card detect resume functionality
is disabled.
Register configuration on card removal. Bit 1 controls how the ExCA registers for the socket react to a
card removal event. This bit is encoded as:
0 = No change to ExCA registers on card removal (default)
1 = Reset ExCA registers on card removal
and VS2 at the PC Card interface. Refer to Table 61 for a
low
high
low
high
96
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
ExCA global-control register (index 1Eh)
Bit76543210
NameExCA global control
TypeRRRR/WR/WR/WR/WR/W
Default00000000
Register:ExCA global control
Type:Read only, read/write (see individual bit descriptions)
Offset:CardBus socket address + 81Eh; Card A ExCA offset 1Eh
Card B ExCA offset 5Eh
Default:00h
Description: This register controls both PC Card sockets and is not duplicated for each socket. The host
interrupt mode bits in this register are retained for Intel 82365SL-DF compatibility. Refer to
Table 62 for a complete description of the register contents.
7–5RSVDRReserved. Bits 7–5 are is read only and returns 0s when read. Writes have no effect.
Level/edge interrupt mode select – card B. Bit 4 selects the signaling mode for the PCI1251A host interrupt
4INTMODEBR/W
3INTMODEAR/W
2IFCMODER/W
1CSCMODER/W
0PWRDWNR/W
for card B interrupts. This bit is encoded as:
0 = Host interrupt is edge mode (default).
1 = Host interrupt is level mode.
Level/edge interrupt mode select – card A. Bit 3 selects the signaling mode for the PCI1251A host interrupt
for card A interrupts. This bit is encoded as:
0 = Host interrupt is edge mode (default).
1 = Host interrupt is level mode.
Interrupt flag clear mode select. Bit 2 selects the interrupt flag clear mechanism for the flags in the ExCA
card status change register. This bit is encoded as:
0 = Interrupt flags are cleared by read of CSC register (default).
1 = Interrupt flags are cleared by explicit write back of 1.
Card status change level/edge mode select. Bit 1 selects the signaling mode for the PCI1251A host
interrupt for card status changes. This bit is encoded as:
0 = Host interrupt is edge mode (default).
1 = Host interrupt is level mode.
Power-down mode select. When bit 0 is set to 1, the PCI1251A is in power-down mode. In power-down
mode, the PCI1251A card outputs are 3-stated until an active cycle is executed on the card interface.
Following an active cycle, the outputs are again 3-stated. The PCI1251A still receives DMA requests,
functional interrupts, and/or card status change interrupts; however , an actual card access is required to
wake up the interface. This bit is encoded as:
0 = Power-down mode is disabled (default).
1 = Power-down mode is enabled.
Register:ExCA memory window 0–4 page
Type:Read/write
Offset:CardBus socket address + 840h 841h, 842h, 843h, 844h
Default:00h
Description: The upper eight bits of a 4-byte PCI memory address are compared to the contents of this
register when decoding addresses for 16-bit memory windows. Each window has its own
page register, all of which default to 00h. By programming this register to a nonzero value,
host software can locate 16-bit memory windows in any one of 256 16M-byte regions in the
4G-byte PCI address space. These registers are only accessible when the ExCA registers are
memory mapped, i.e., these registers can not be accessed using the index/data I/O scheme.
CardBus socket registers (functions 0 and 1)
The PCMCIA CardBus specification requires a CardBus socket controller to provide five 32-bit registers that
report and control socket-specific functions. The PCI1251A provides the CardBus socket/ExCA base address
register (PCI offset 10h) to locate these CardBus socket registers in PCI memory address space. Each socket
has a separate base address register for accessing the CardBus socket registers (see Figure 18). Table 63
gives the location of the socket registers in relation to the CardBus socket/ExCA base address.
The PCI1251A implements an additional register at offset 20h that provides power management control for the
socket.
Host
PCI1251A Configuration Registers
CardBus Socket/ExCA Base Address
16-Bit Legacy-Mode Base Address
NOTE: The CardBus socket/ExCA base address mode register is separate for functions 0 and 1.
Offset
10h
44h
Memory Space
CardBus
Socket A
Registers
ExCA
Registers
Card A
Offset
00h
20h
800h
844h
Host
Memory Space
CardBus
Socket B
Registers
ExCA
Registers
Card B
Figure 18. Accessing CardBus Socket Registers Through PCI Memory
Offset
00h
20h
800h
844h
98
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
CardBus socket registers (functions 0 and 1) (continued)
Table 63. CardBus Socket Registers
REGISTER NAMEOFFSET
Socket event00h
Socket mask04h
Socket present state08h
Socket force event0Ch
Socket control10h
Reserved14h
Reserved18h
Reserved1Ch
Socket Power Management20h
Register:Socket event
Type:Read only, read/write (see individual bit descriptions)
Offset:CardBus socket address + 00h
Default:0000 0000h
Description: The socket event register indicates a change in socket status has occurred. These bits do not
indicate what the change is, only that one has occurred. Software must read the socket
present state register for current status. Each bit in this register can be cleared by writing a 1 to
that bit. The bits in this register can be set to a 1 by software by writing a 1 to the corresponding
bit in the socket force event register. All bits in this register are cleared by PCI reset. They can
be immediately set again, if, when coming out of PC Card reset, the bridge finds the status
unchanged (i.e., CSTSCHG reasserted or card detect is still true). Software must clear this
register before enabling interrupts. If it is not cleared, when interrupts are enabled an interrupt
is generated (but not masked) based on any bit set. Refer to Table 64 for a complete
description of the register contents.
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
99
PCI1251A GFN/GJG
PC CARD CONTROLLER
SCPS038 – AUGUST 1998
Table 64. Socket Event Register
BITSIGNALTYPEFUNCTION
31–4RSVDRReserved. Bits 31–4 are read only and return 0s when read.
Power cycle. Bit 3 is set when the PCI1251A detects that the PWRCYCLE bit in the socket present-state
register has changed. This bit is cleared by writing a 1.
CCD2. Bit 2 is set when the PCI1251A detects that the CDETECT2 field in the socket present-state
register has changed. This bit is cleared by writing a 1.
CCD1. Bit 3 is set when the PCI1251A detects that the CDETECT1 field in the socket present-state
register has changed. This bit is cleared by writing a 1.
CSTSCHG. Bit 0 is set when the CARDSTS field in the socket present-state register has changed state.
For CardBus cards, bit 0 is set on the rising edge of CSTSCHG. For 16-bit PC Cards, bit 0 is set on both
transitions of CSTSCHG. This bit is reset by writing a 1.
Register:Socket mask
Type:Read only, read/write (see individual bit descriptions)
Offset:CardBus socket address + 04h
Default:0000 0000h
Description: The socket mask register allows software to control the CardBus card events that generate a
status change interrupt. The state of these mask bits does not prevent the corresponding bits
from reacting in the socket event register. Refer to Table 65 for a complete description of the
register contents.
Table 65. Socket Mask Register
BITSIGNALTYPEFUNCTION
31–4RSVDRReserved. Bits 31–4 are read only and return 0s when read.
Power cycle. Bit 3 masks the PWRCYCLE bit in the socket present state register from causing a status
3PWRMASKR/W
2–1CDMASKR/W
0CSTSMASKR/W
change interrupt.
0 = PWRCYCLE event does not cause CSC interrupt (default).
1 = PWRCYCLE event causes CSC interrupt.
Card detect mask. Bits 2–1 mask the CDETECT1 and CDETECT2 bits in the socket present-state register
from causing a CSC interrupt.
00 = Insertion/removal does not cause CSC interrupt (default).
01 = Reserved (undefined)
10 = Reserved (undefined)
11 = Insertion/removal causes CSC interrupt.
CSTSCHG mask. Bit 0 masks the CARDSTS field in the socket present-state register from causing a CSC
interrupt.
0 = CARDSTS event does not cause CSC interrupt (default).
1 = CARDSTS event causes CSC interrupt.
100
POST OFFICE BOX 655303 • DALLAS, TEXAS 75265
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.