0.60 7/24/03 First Draft (described Overview, Block Diagram and Pin description only)
0.70 9/10/03 Addition of the regulator description (Spec 4) and the electrical characteristics
(Spec 5).
0.80 11/6/03 Change from NewCard to ExpressCard.
Mistakes in writing are corrected.
1.00 1/30/04 First Public Release
Mistakes in writing are corrected.
1.10 5/18/04 Changes in the chart of Global Reset Timing (Ch. 5.3.6).
Deletion of the 2.5V power supply support for the core logic.
RICOH COMPANY,LTD.
12345 2004 REV. 1.10
Page 3
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
1 OVERVIEW
The R5C841 is a single chip solution offering five PCI functions (a PCI bus bridge to a PC Card, an IEEE
1394, an SD Card, a Memory Stick and an xD Picture Card) with an ExpressCard (USB Interface Type)
switch.
PC98/99/2001 compliant
PC2001 Design Guide compliant (Subsystem ID, Subsystem Vendor ID)
Compliant with ACPI and PCI Bus Power Management 1.1
Support Global Reset
Low Power consumption
Low operating power consumption due to the improvement of Power Management
Software Suspend mode compliant with ACPI
Hardware Suspend
CLKRUN#, CCLKRUN# support
The core logic - powered at 1.8V, the others – powered at 3.3V
1-slot PC Card
2 ports of IEEE1394
MDIOxx pins shared by SD Card, Memory Stick and xD Picture Card
− Providing Ricoh’s proprietary driver for Memory Stick and xD Picture Card
ExpressCard (USB Interface Type) supported by the PC Card passive adapter
PCI Bus Interface
Compliant with PCI Local Bus Specification2.3
The maximum frequency 33MHz
PCI Master/Target protocol support
PCI configuration space for each function
3.3V Interface (5V tolerant)
CardBus PC card Bridge
Compliant with PC Card Standard Release 8.1 Specification
The maximum frequency 33MHz
Support CardBus Master/Target protocol
Support Memory Write Posting/ Read Prefetching
Transfer transactions
− All memory read/write transaction (bi-direction)
Compliant with PC Card Standard Release 8.1 16-bit Specification
5 programmable memory windows
2 programmable I/O windows
Compliant with i82365SL compatible register set/ExCA
Support Legacy 16-bit mode (3E0, 3E2 I/O ports)
12345 2004 REV. 1.10 1-1
Page 4
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
IEEE1394 Interface
Compliant with IEEE1394-1995 Standard Specification and IEEE1394a-2000 Standard Specification
Compliant with 1394 OHCI Release 1.1/1.0 Standard Specification
Support Cycle Master
Provide the Asynchronous receive/transmit FIFO and isochronous receive/transmit FIFO
Support Self-ID, physical DMA
Data transmission rate of 100, 200 and 400Mbps
2 ports of 1394 Cable interface
24.576MHz crystal oscillator and Internal 393.216MHz PLL
Support Cable Power monitoring (CPS)
Set Initial values of Power Class and CMC by PCI Configuration registers
Small Card Interface
SD Card
− Compliant with SD Memory Card Specification Version 1.01
− Compliant with SD Input/Output (SDIO) Card Specification Version 1.0
− Compliant with SD Host Controller Standard Specification Version 1.0
Memory Stick
− Compliant with Memory Stick Standard Format Specification Version 1.4
− Compliant with Memory Stick PRO Format Specification Version 1.00
• xD Picture Card
− Compliant with xD Picture Card Specification Version 1.00
− Compliant with xD Picture Card Host Guideline Version 1.00
− Backward compatible with the Smart Media
ExpressCard Interface
Compliant with EXPRESSCARD STANDARD Draft Release 1.0
Pass USB signals from a USB-HOST to a Card Slot
System Interrupt
Support INTA#, INTB# and INTC# for PC system interrupt (Each unit is programmable.)
Support Serialized IRQ
IRQx support for ISA system interrupt
Support Remote Wake Up by CSTSCHG
Support an internal regulator to convert the 3.3V power into the power for the internal core logic
Support Zoomed Video Port (Bypass type)
Support PC Card LED, 1394 LED, SD LED, Memory Stick LED and xD Picture Card LED
Support BAY function with the PC Card passive adapter
1: Pullup is attached when PC Card Interface is configured as a CardBus Interface Mode.
2: Pullup or Pulldown is configured according to the type of a card inserted.
12345 2004 REV. 1.10 3-7
Page 13
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
Small Card Pin Assignments
Pin Media I/F SD Card Memory Stick xD Picture Card
In this chapter, the detailed signal pins in the R5C841 are explained. Every signal is divided
according to their relational interface.
Card Interface signal pin is multi
the card insertion; CardBus card or 16-bit card. And the pin function is redefined again.
# mark means the signal is on either active or asserted when the signal is low
no−mark means the signal is asserted when the signal is high−level.
The following the notations are used to describe the signal type.
IN
OUT
OUT (TS)
OUT (OD)
I/O
I/O (OD)
s/h/z
Input Pin
Output Pin
Three State Output Pin
Open Drain Output Pin
Input Output Pin
Input Output Pin (Output is Open Drain)
Sustained Tri−State is an active low tri−state signal owned and driven by one and only one agent
at a time. The agent that drives an s/h/z pin low must drive it high for at least one clock before
letting it float. A new agent cannot start driving an s/h/z signal any sooner than one clock after the
previous owner tri−state is.
−functional pin. Card Interface mode is configured automatically by
−level. Otherwise,
12345 2004 REV. 1.10 3-11
Page 17
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
3.3.1 PCI Local Bus interface signals
Pin Name Type Description
PCI Bus Interface Pin Descriptions
PCICLK IN PCI CLOCK: PCICLK provides timing for all transactions on PCI. All other PCI signals
are sampled on the rising edge of PCICLK.
CLKRUN# I/O (OD) PCI CLOCK RUN: This signal indicates the status of PCICLK and an open drain output
to request the starting or speeding up of PCICLK. This pin complies with Mobile PCI
specification. If CLKRUN# is not implemented, then this pin should be tied low. In this
case, CardBus clock is controlled by setting of StopClock bit included Socket Control
Register. This signal has no meaning for the PC Card16 Cards, the CardBus Cards that
does not support CCLKRUN# and not insert Cards to socket. During PCI bus reset is
asserted, this pin placed in a high-impedance state.
And also, refer to the chapter 4.21 for the LED output.
PCIRST# IN PCI RESET: This input is used to initialize all registers, sequences and signals of the
R5C841 to their reset states. PCIRST# causes the R5C841 to place all output buffers in
a high-impedance state. The negation of PCIRST# requires no-bounds.
AD [31:0] I/O ADDRESS AND DATA: Address and Data are multiplexed on the same PCI pins.
C/BE [3:0]# I/O BUS COMMAND AND BYTE ENABLES: Bus Command and Byte Enables are
multiplexed on the same PCI pins. During the address phase of transaction, C/BE [3:0]#
define the bus command. During the data phase C/BE [3:0]# are used as Byte Enables.
The Byte Enables are valid for the entire data phase and determine which byte lanes
carry meaningful data.
PAR I/O PARITY: Parity is even parity across AD [31:0] and C/BE [3:0]#. PAR is stable and valid
one clock after the address phase. For data phases, PAR is stable and valid one clock
after either IRDY# is asserted on a write transaction or TRDY# is asserted on a read
transaction. The master drives PAR for address and write data phases; the target drives
PAR for read data phases.
FRAME# I/O
s/h/z
TRDY# I/O
s/h/z
IRDY# I/O
s/h/z
STOP# I/O
s/h/z
IDSEL IN INITIALIZATION DEVICE SELECT: This signal is used as chips select during
DEVSEL# I/O
s/h/z
PERR# I/O
s/h/z
CYCLE FRAME: This signal is driven by the current master to indicate the beginning
and duration of an access. FRAME# is asserted to indicate a bus transaction is
beginning. While FRAME# is asserted, data transfers continue. When FRAME# is
deasserted, the transaction is in the final data phase or has complete.
TARGET READY: This signal indicates the initialing agent‘s ability to complete the
current data phase of the transaction. TRDY# is used in conjunction with IRDY#. A data
phase is completed on any clock both TRDY# and IRDY# are sampled asserted. During
a read, TRDY# and IRDY# are sampled asserted. During a read, TRDY# indicates that
valid data is present on AD [31:0]. During a write, it indicates the target is prepared to
accept data. Wait cycles are inserted both IRDY# and TRDY# are asserted together.
INITIATOR READY: This signal indicates the initiating agent‘s ability to complete the
current data phase of the transaction. IRDY# is used in conjunction with TRDY#. A data
phase is completed on any clock both TRDY# and IRDY# are sampled asserted. During
a write, IRDY# indicates that valid data is present on AD [31:0]. During a read, it
indicates the target is prepared to accept data. Wait cycles are inserted both IRDY# and
TRDY# are asserted together.
STOP: This signal indicates the current target is requesting the master to stop the
current transaction.
configuration read and write transactions.
DEVICE SELECT: When actively driven, indicates the driving device has decoded its
address as the target of the current access. As an input, DEVSEL# indicates whether
any device on the bus has been selected.
PARITY ERROR: This signal is only for the reporting of data parity errors during all PCI
transactions except a Special Cycle. The R5C841 drives this output active “low” if it
detects a data parity error during a write phase.
12345 2004 REV. 1.10 3-12
Page 18
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
Pin Name Type Description
PCI Bus Interface Pin Descriptions (Continued)
SERR# OUT (OD) SYSTEM ERROR: This signal is pure open drain. The R5C841 actively drives this
output for a single PCI clock when it detects an address parity error on either the primary
bus or the secondary bus.
REQ# OUT (TS) REQUEST: This signal indicates to the arbiter that the R5C841 desires use of the bus.
This is a point to point signal.
GNT# IN GRANT: This signal indicates the R5C841that access to the bus has been granted. This
is a point to point signal.
GBRST# IN GLOBAL RESET: This input is used to initialize registers for control of PME_Context
register. This should be asserted only once when system power supply is on.
3.3.2 System Interrupt signals
Pin Name Type Description
System Interrupt Pin Descriptions
INTA# OUT (OD)
INTB# OUT (OD)
INTC# OUT (OD)
UDIO0/SRIRQ#
UDIO1/GPIO0
UDIO2/GPIO1
UDIO3/GPIO2
UDIO4/GPIO3
UDIO5/LED0#
RI_OUT#/
PME#
I/O (TS)
OUT (OD)
PCI INTERRUPT REQUEST A: This signal indicates a programmable interrupt request
generated from the PC Card interface. This signal is connected to the interrupt line of the
PCI bus.
PCI INTERRUPT REQUEST B: This signal indicates a programmable interrupt request
generated from the IEEE 1394 interface. This signal is connected to the interrupt line of
the PCI bus.
PCI INTERRUPT REQUEST C: This signal indicates a programmable interrupt request
generated from the Memory Stick interface, the SD Card interface or the xD Picture Card
interface. This signal is connected to the interrupt line of the PCI bus.
USER DEFINABLE INPUT/OUTPUT: These signals can be used as user-definable
input/output. Users can define functions such as *GPIO, LED, IRQ and so on for each
pin in the PC Card Misc Control 4 Register. For details, refer to “PCI-CardBus Bridge
Registers Descripion” in the registers description.
*GPIO : General Purpose I/O
RING INDICATE OUTPUT: When 16-bit card is inserted and Ring Indicate Enable bit in
the Interrupt and General Control register is set to one, RI# on the IO Card is forwarded
to RI_OUT#.
POWER MANAGEMENT EVENT: When PME_En bit in Power Management
Control/Status register is set or when Power Status is set to any state mode except D0,
this signal is assigned as PME#.
12345 2004 REV. 1.10 3-13
Page 19
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
3.3.3 16-bit PC Card Interface signals
Pin Name Type Description
16-bit PC Card Interface Pin Descriptions
CDATA [15:0]
CADR [25:0] OUT (TS) 16-bit Card ADDRESS BUS SIGNALS [25:0]:
I/O 16-bit Card DATA BUS SIGNALS [15:0]: Input buffer is disabled when the card socket
power supply is off or card is not inserted.
IORD#
IOWR#
OE#
WE#
CE1#
CE2#
REG#
READY/
IREQ#
WP/
IOIS16#
RESET
WAIT#
BVD1/
STSCHG#/
RI#
BVD2/
SPKR#/
LED
INPACK#
CD1#
CD2#
VS1
VS2
OUT (TS) 16-bit Card I/O READ:
OUT (TS) 16-bit Card I/O WRITE:
OUT (TS) 16-bit Card OUTPUT ENABLE:
OUT (TS) 16-bit Card WRITE ENABLE:
OUT (TS) 16-bit Card CARD ENABLE 1:
OUT (TS) 16-bit Card CARD ENABLE 2:
OUT (TS) 16-bit Card ATTRIBUTE MEMORY SELECT: This signal selects Attribute Memory
access or common memory access during 16bit memory cycle. Attribute memory
access is selected when this signal is “low” and common memory access is selected
when this signal is “high”.
IN 16-bit Card READY/BUSY or INTERRUPT REQUEST: This signal has two different
functions. READY/BUSY# input on the memory PC card, and IREQ# input on the I/O
card.
IN 16-bit Card WRITE PROTECT or CARD IS 16-BIT PORT: This signal has two different
functions. Write Protect Switch input on the memory PC card, and IOIS16 input on the
I/O card.
OUT (TS) 16-bit Card CARD RESET:
IN 16-bit Card BUS CYCLE WAIT:
IN 16-bit Card BATTERY VOLTAGE DETECT 1 or STATUS CHANGE: This signal has
three different functions. The battery voltage detect input 1 on the memory PC card, and
Card Status Change#/Ring Indicate# input on the I/O card.
IN 16-bit Card BATTERY VOLTAGE DETECT 2 or DIGITAL AUDIO or LED INPUT: This
signal has three different functions. The battery voltage detect input 2 on the memory
PC card, and SPEAKER# input or LED input on the I/O card.
IN 16-bit Card INPUT ACKNOWLEDGE:
IN 16-bit Card CARD DETECT 1: CD [2:1]# pins are used to detect the card insertion. CD
[2:1]# pins are used in conjunction with VS [2:1] to decode card type information.
IN 16-bit Card CARD DETECT 2: CD [2:1]# pins are used to detect the card insertion. CD
[2:1]# pins are used in conjunction with VS [2:1] to decode card type information.
I/O 16-bit Card CARD VOLTAGE CAPABILITY SENSE 1: VS [2:1] pins are used in
conjunction with CD [2:1]# to decode card type information.
I/O 16-bit Card CARD VOLTAGE CAPABILITY SENSE 2: VS [2:1] pins are used in
conjunction with CD [2:1]# to decode card type information.
12345 2004 REV. 1.10 3-14
Page 20
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
3.3.4 CardBus PC Card Interface signals
Pin Name Type Description
CardBus PC Card Interface Pin Descriptions
CCLK
CCLKRUN#
CRST#
CAD [31:0]
CC/BE [3:0]#
CPAR
CFRAME#
CIRDY#
CTRDY#
CSTOP#
CDEVSEL#
CREQ#
OUT (TS)
I/O
s/h/z
OUT (TS)
I/O
I/O
I/O
I/O
s/h/z
I/O
s/h/z
I/O
s/h/z
I/O
s/h/z
I/O
s/h/z
IN
CardBus Clock: This signal provides timing for all transactions on the PC Card
Standard interface and it is an input to every PC Card Standard device. All other
CardBus PC Card signals, except CRST# (upon assertion), CCLKRUN#, CINT#,
CSTSCHG, CAUDIO, CCD [2:1]#, and CVS [2:1], are sampled on the rising edge of
CCLK, and all timing parameters are defined with respect to this edge.
CardBus Clock Run: This signal is used by cards to request starting (or speeding up)
clock; CCLK. CCLKRUN# also indicates the clock status. For PC cards, CCLKRUN# is
an open drain output and it is also an input. The R5C841 indicates the clock status of the
primary bus to the CardBus card.
CardBus Card Reset: This signal is used to bring CardBus Card specific registers,
sequencers and signals to a consistent state. Anytime CRST# is asserted, all CardBus
card output signals will be driven to their begin state.
CardBus Address/Data: These signals are multiplexed on the same CardBus card
pins. A bus transaction consists of an address phase followed by one or more data
phases. CardBus card supports both read and write bursts. CAD [31:0] contains a
physical address (32 bits). For I/O, this is a byte address; for configuration and memory
it is a DWORD address. During data phases, CAD [7:0] contains the east significant byte
(LSB) and CAD [31:24] contains the most significant byte (MSB). Write data is stable
and valid when CIRDY# is asserted and read data is stable and valid when CTRDY# is
asserted. Data is transferred during those clocks where both CIRDY# and CTRDY# are
asserted.
CardBus Command/Bye Enables: These signals are multiplexed on the same
CardBus card pins. During the address phase of a transaction, CC/BE [3:0]# define the
bus command. During the data phase, CC/BE [3:0]# are used as Byte Enables. The Byte
Enables are valid for the entire data phase and determine which byte lanes carry
meaningful data. CC/BE [0]# applies to byte 0 (LSB) and CC/BE [3]# applies to byte 3
(MSB).
CardBus Parity: This signal is even parity across CAD [31:0] and CC/BE [3:0]#. All
CardBus card agents require parity generation. CPAR is stable and valid clock after
either CIRDY# is asserted on a write transaction or CTRDY# is asserted on a read
transaction. Once CPAR is valid, it remains valid until one clock after the completion of
the current data phase. (CPAR has the same timing as CAD [31:0] but delayed by one
clock.) The master drives CPAR for address and write data phases; the target drives
CPAR for read data phases.
CardBus Cycle Frame: This signal is driven by the current master to indicate the
beginning and duration of a transaction. CFRAME# is asserted to indicate that a bus
transaction is beginning. While CFRAME# is asserted, data transfers continue. When
CFRAME# is deasserted, the transaction is in the final data phase.
CardBus Initiator Ready: This signal indicates the initiating agent’s (bus master’s)
ability to complete the current data phase of the transaction. CIRDY# is used in
conjunction with CTRDY#. A data phase is completed on any clock both CIRDY# and
CTRDY# are sampled asserted. During a write, CIRDY# indicates that valid data is
present on CAD [31:0]. During a read, it indicates the master is prepared to accept data.
Wait cycles are inserted until both CIRDY# and CTRDY# are asserted together.
CardBus Target Ready: This signal indicates the agent’s (selected target’s) ability to
complete the current data phase of the transaction. CTRDY# is used in conjunction with
CIRDY#. A data phase is completed on any clock both CTRDY# and CIRDY# are
sampled asserted. During a read, CTRDY# indicates that valid data is present on CAD
[31:0]. During a write, it indicates the target is prepared to accept data. Wait cycles are
inserted until both CIRDY# and CTRDY# are asserted together.
CardBus Stop: This signal indicates the current target is requesting the master to stop
the current transaction.
CardBus Device Select: This signal indicates the driving device has decoded its
address as the target of the current access when actively driven. As an input,
CDEVSEL# indicates whether any device on the bus has been selected.
CardBus Request: This signal indicates to the arbiter that this agent desires use of the
bus. Every master has its own CREQ#.
12345 2004 REV. 1.10 3-15
Page 21
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
Pin Name Type Description
CardBus PC Card Interface Pin Descriptions (Continued)
CGNT#
CPERR#
CSERR#
CINT#
CSTSCHG
CAUDIO
CCD1#
CCD2#
CVS1
CVS2
OUT
I/O
s/h/z
IN
IN
IN
IN
IN
IN
I/O
I/O
CardBus Grant: This signal indicates to the agent that access to the bus has been
granted. Every master has its own CGNT#.
CardBus Parity Error: This signal is only for the reporting of data parity errors during all
CardBus Card transactions except a Special Cycle. An agent cannot report a CPERR#
until it has claimed the access by asserting CDEVSEL# and completed a data phase.
CardBus System Error: This signal is for reporting address parity errors, data parity
errors on the Special Cycle command, or any other system error where the result could
be catastrophic.
CardBus Interrupt Request: This signal is an input signal from CardBus card. It is level
sensitive, and asserted low (negative true), using an open drain output driver. The
assertion and deassertion of CINT# is asynchronous to CCLK.
CardBus Card Status Change: This signal is an input signal used to alert the system to
changes in the READY, WP, or BVD [2:1] conditions of the card. It is also used for the
system and/or CardBus card interface Wake up. CSTSCHG is asynchronous to CCLK.
CardBus Card Audio: This signal is a digital audio input signal from a CardBus Card to
the system’s speaker. CAUDIO has no relationship to CCLK.
CardBus Card Detect 1: CCD [2:1]# pins are used to detect the card insertion. CCD
[2:1]# pins are used in conjunction with CVS [2:1] to decode card type information.
CardBus Card Detect 2: CCD [2:1]# pins are used to detect the card insertion. CCD
[2:1]# pins are used in conjunction with CVS [2:1] to decode card type information.
CardBus Card Voltage Sense 1: CVS [2:1] pins are used in conjunction with CCD
[2:1]# to decode card type information.
CardBus Card Voltage Sense 2: CVS [2:1] pins are used in conjunction with CCD
[2:1]# to decode card type information.
3.3.5 Socket Power Control signals
Pin Name Type Description
VCC5EN#
VCC3EN#
VPPEN0
VPPEN1
OUT
OUT
OUT
OUT
VCC 5V ENABLE:
VCC 3.3V ENABLE:
VPP ENABLE 0:
VPP ENABLE 1:
3.3.6 Other signals
Pin Name Type Description
SPKROUT I/O
HWSPND# IN
TEST IN
SPEAKER OUTPUT: This signal is a digital audio output from SPKR#, and Connecting
this signal to pull-down sets the Serial ROM mode.
Hardware Suspend: This signal works as HWSPND# input. PCIRST# is not accepted
as long as HWSPND# is asserted so that VCC_PCI3V can be powered off. When Serial
IRQ mode is set, HWSPND# must be asserted after Serial IRQ mode on the chip-set
has been deasserted. When Hardware Suspend mode is off, HWSPND# must be
deasserted before Serial IRQ mode is enabled. When a power is on, follow the reset
sequence shown in the chapter 4.10 in order to confirm the input of PCIRST# and PCLK.
TEST: This signal is a test mode pin. Usually, this pin must be tied low.
Socket Power Control Signal Descriptions
Other Signals Descriptions
12345 2004 REV. 1.10 3-16
Page 22
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
3.3.7 IEEE1394 PHY Interface signals
Pin Name Type Description
IEEE1394 Cable Interface Pin Descriptions
TPAP1
TPAP0
TPBP1
TPBP0
TPAN1
TPAN0
TPBN1
TPBN0
TPBIAS1
TPBIAS0
CPS IN
I/O
I/O
I/O
I/O
I/O
TPA Positive : Twisted-pair cable A (positive) differential signal terminals.
TPB Positive : Twisted-pair cable B (positive) differential signal terminals.
TPA Negative : Twisted-pair cable A (negative) differential signal terminals.
TPB Negative : Twisted-pair cable B (negative) differential signal terminals.
TP Bias : Twisted-pair bias output. This pin is compliant with the IEEE1394a-2000, and
also monitors Insertion/desertion of other cables
Cable Power Status : This pin detects the Cable Power Status. See in Spec.4.22.3 for
details of CPS.
3.3.8 IEEE1394 Control signals
Pin Name Type Description
IEEE1394 Control Pin Descriptions
VREF I/O
REXT I/O
XI IN
XO OUT
FIL0 I/O
Voltage reference Resistance : It is necessary to connect a capacitance of 0.01uF
between this pin and AGND.
Resistance External: It is necessary to connect a resistor of 10kΩ±1% between this pin
and AGND.
X’tal In : 24.576MHz
X’tal Out : 24.576MHz
Filter : This pin connects to the PLL Filter. It is necessary to connect a capacitance of
0.01uF between this pin and AGND.
3.3.9 USB Interface signals
Pin Name Type Description
USB Interface Pin Descriptions
USBDP
USBDM
I/O
USB Data Port: These signals are differential signals. These signals are connected to HOST
USB D+/D- signals.
Pin Name
USBD+ IORD#
USBD- IOWR#
CPUSB# CADR22 IN
PERST# CDATA2 OUT
PC Card
Pin Name
Type Description
USB Interface Pin Descriptions
I/O
USB Data Port: These signals are differential signals.
USB ExpressCard Detect: This signal indicates whether the USB ExpressCard
is inserted to a socket.
ExpressCard Reset : This signal is a reset signal to ExpressCard.
12345 2004 REV. 1.10 3-17
Page 23
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
3.3.10 Small Card Interface signals
SD Card
Pin Name
SDCDAT0 MDIO10 I/O
SDCDAT1 MDIO11 I/O
SDCDAT2 MDIO12 I/O
SDCDAT3 MDIO13 I/O
SDCCMD MDIO08 I/O
SDCCLK MDIO09 OUT
SDWP# MDIO03 IN
SDCD# MDIO00 IN
SDEXTCK MDIO07 IN
SDPWR0 MDIO04 OUT
SDPWR1 MDIO05 OUT
SDLED# MDIO06 OUT
MDIO Pin
Name
Type Description
SD Card Control Pin Descriptions
SD Data [3:0] : SD Card 4bit data bus signals.
SD Command : SD Card Command signal.
SD Clock : SD Card Clock signal.
SD Write Protect : This signal indicates the state of SD card’s write protect
switch. This pin is connected to a reserved pin of the SD card socket.
SD Card Detect : This signal indicates whether the SD card is inserted to a
socket. This pin is connected to a reserved pin of the SD card socket.
SD External Clock : This signal must be connected to GND because the
R5C841 does not support SDEXTCK for the SD Card.
SD Card Power0 Control : This signal is provided to control the power supply
(3.3V) for an SD card.
SD Card Power1 Control : This signal is provided to control the power supply
(1.8V) for an SD card. R5C841does not support this signal.
SD Card LED Control : This signal indicates an access state to the SD card.
Memory Stick
Pin Name
MSCDAT0 MDIO10 I/O
MSCDAT1 MDIO11 I/O
MSCDAT2 MDIO12 I/O
MSCDAT3 MDIO13 I/O
MSBS MDIO08 OUT
MSCCLK MDIO09 OUT
MSCD# MDIO01 IN
MSEXTCK MDIO07 IN
MSPWR MDIO04 OUT
MSLED# MDIO06 OUT
MDIO Pin
Name
Type Description
Memory Stick Control Pin Descriptions
Memory Stick Data [3:0] : Memory Stick Data signals. Normally, MSCDAT0 only is used.
Memory Stick Bus State : Memory Stick Bus State signal.
Memory Stick Clock : Memory Stick Clock signal.
Memory Stick Card Detect : This signal indicates whether the Memory Stick is inserted to a socket. This pin is connected to the INS signal of Memory Stick.
Memory Stick External Clock : This signal is input to the Memory Stick block.
This clock supports 0 - 40MHz. If the internal PCICLK is used, this signal can be
connected to GND.
Memory Stick Power Control : This signal is provided to control the power
supply for the Memory Stick.
Memory Stick LED Control : This signal indicates an access state to the
Memory Stick.
12345 2004 REV. 1.10 3-18
Page 24
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
xD Picture Card
Pin Name
XDCDAT0 MDIO10 I/O
XDCDAT1 MDIO11 I/O
XDCDAT2 MDIO12 I/O
XDCDAT3 MDIO13 I/O
XDCDAT4 MDIO14 I/O
XDCDAT5 MDIO15 I/O
XDCDAT6 MDIO16 I/O
XDCDAT7 MDIO17 I/O
XDCLE MDIO18 OUT
XDALE MDIO19 OUT
XDCD0# MDIO00
XDCD1# MDIO01
XDWP# MDIO05 OUT
XDPWR MDIO04 OUT
XDR/B# MDIO03 IN
XDLED# MDIO06 OUT
XDWE# MDIO08 OUT
XDCE# MDIO02 OUT
XDRE# MDIO09 OUT
MDIO Pin
Name
Type Description
xD Picture Card Control Pin Descriptions
xD Picture CardData [7:0] : xD Picture Card Data bus signals.
xD Picture Card Detect : These signals indicate a detection of the xD Picture
Card when two signals are set to ‘Low’ by insertion of xD Picture Card.
xD Picture Card Write Protect : This signal indicates the state of xD Picture
Card’s write protect. This pin is connected to the -WP signal of the xD Picture
Card.
xD Picture Card Power Control : This signal is provided to control the power
supply for the xD Picture Card.
xD Picture Card R/B : xD Picture Card Ready/Busy signal. When this signal is
low, xD Picture Card is busy.
xD Picture Card LED Control: This signal indicates an access state to the xD
Picture Card.
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
s
3.3.11 Power and GND signals
Pin Name Type Description
Power Pin Descriptions
REGEN# IN
VCC_PCI3V PWR
VCC_3V PWR
VCC_MD3V PWR
VCC_RIN PWR
VCC_ROUT PWR
AVCC_PHY3V PWR
GND PWR
AGND PWR
Regulator Enable: This pin controls an internal regulator. Setting this pin to ‘Low’ enables
the internal regulator, and setting this pin to ‘High’ disables it.
PCI VCC: Power Supply pins for the PCI interface signals. This pin can be powered at 3.3V.
3V VCC : This supply pin is connected to 3.3V. This pin must not be off on the suspend
mode because of the power supply for PME# and GBRST#. This pin supplies for a socket of
the PC Card Controller also.
Media VCC: Power Supply pins for the Media interface signals. This pin can be powered at
3.3V.
Regulator Input: Power supply input pins for an internal regulator. This pin is connected to
3.3V when an internal regulator is enabled, and to the same power as that of VCC_ROUT
(1.8V) when the regulator is disabled.
Regulator Output: Power supply output pins for an internal regulator and power supply
pins for the internal core logic. This pin is powered as an output from an internal regulator
and as an input to the core logic when an internal regulator enabled, and connected to 1.8V
as input to the core logic when the regulator disabled. Add bypass condensers between this
pin and GND.
1394 PHY VCC: Power supply for PHY analog block. This pin can be powered at 3.3V. Thi
pin must not be off on the suspend mode because of the power supply for Cable interface
block.
Digital GND:
Analog GND:
12345 2004 REV. 1.10 3-20
Page 26
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4 FUNCTIONAL DESCRIPTION
4.1 Device Configuration
The R5C841 supports PCI-CardBus Bridge Interface functions for the PC Card socket, the
PCI-IEEE1394 bridge function, the SD Card interface, the Memory Stick interface and the xD
Picture Card interface. Logically the R5C841 looks to the primary PCI as a separate secondary
bus residing in a single device. The PC Card, the IEEE 1394, the SD Card, the Memory Stick and
the xD Picture Card have their own register spaces.
4.1.1 PCI Configuration Register Space
The PCI Configuration registers are used to control the basic operations, as settings and status
control of the PCI device. Each function has 256 byte of configuration space.
4.1.2 CardBus (32-bit) Card Control Register Space
The CardBus Card Control registers are used to manage status changed events, remote wakeup
events and status information about the PC Card in the socket. These registers are used for PC
Card-32 as well as PC Card-16. The PC Card Control Register Base Address register points to
the 4 Kbyte memory mapped I/O space that contains both the PC Card-32 and PC Card-16
Status and Control registers. Socket Status/Control Registers for Card-32 are placed in the lower
2Kbyte of the 4Kbyte and start at offset 000h.
4.1.3 16-bit Card Control Register Space
The Socket Status/Control Registers for the PC Card-16 are placed in the upper 2Kbyte of the
4Kbyte pointed by the PC Card Control Register Base Address register and start at offset 800h.
4.1.4 16-bit Legacy Port
Legacy mode allows all 16-bit Card Control registers to be accessed through the index/data port
at I/O address 3E0/3E2 in order to maintain the backward compatibility like the Ricoh
RF5C396/366 that is the Intel 82365-compatible device.
4.1.5 1394 OHCI-LINK Register Space
The 1394 OHCI-LINK registers are 2Kbyte of register compliant with the 1394 OHCI
specifications. The 1394 OHCI Register Base Address register points to the 2Kbyte memory
mapped I/O space. These registers are used to control OHCI-LINK and to set DMA context.
4.1.6 1394 PHY Register Space
The 1394 PHY registers are compliant with the IEEE1394a-2000 standard specifications. These
registers are used to set the PHY block (ex. the value of Gap count.) and are accessed through
the PHY Control register in the 1394 OHCI-LINK register space.
4.1.7 SD Card Control Register Space
The SD Card Control registers, compliant with the SD Host Controller Standard specification, are
256byte of register assigned to control the SD card. These registers are used to set for access to
the SD card, to give commands and to read/write data. These are placed in the memory mapped
I/O space by the SD Card Register Base Address register.
12345 2004 REV.1.104-1
Page 27
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.1.8 Memory Stick Control Register Space
The Memory Stick Control registers are 256byte of register assigned to control the Memory Stick.
These registers are used to set for access to the Memory Stick, to give commands and to
read/write data. These are placed in the memory mapped I/O space by the Memory Stick
Register Base Address register.
4.1.9 xD Picture Card Control Register Space
The xD Picture Card Control registers are 256byte of register assigned to control the xD Picture
Card. These registers are used to set for access to the xD Picture Card, to give commands and to
read/write data. These are placed in the memory mapped I/O space by the xD Picture Card
Register Base Address register.
4.2 CardBus Card Configuration Mechanism
The R5C841 provides a mechanism to access to configuration spaces of a CardBus Card, which
is compliant with the PCI specifications. The R5C841 supports functions of changing Type 1 PCI
configuration command into Type 0 CardBus configuration command and transferring them.
4.3 Address Window and Mapping Mechanism
The R5C841 supports two kinds of PCI-Card Bridge Interface functions, and determines
automatically whether an inserted card is a CardBus Card or a 16-bit Card. Each interface can be
set independently.
On the CardBus Card interface, the transaction is implemented by two I/O windows and two
memory map I/Os or a prefetchable memory window that defined in the PCI configuration space.
The CardBus Card address and the PCI system address use a flat address in common. So the
address range specified by a base register and a limit register is forwarded from the PCI to the
CardBus Card. The R5C841 supports a CardBus Master also, so the address forwarding
transaction from the CardBus Card to the PCI or to the other card also is enabled. If the address
of the transaction started on the CardBus is out of the address range, it will be forwarded to the
PCI.
On the 16-bit Card interface, the transaction is implemented by two I/O windows and five memory
windows, which are set by the 16-bit Card Status Control register and are compliant with the
PCIC. The address forwarding transaction is enabled only from PCI to CardBus.
4.3.1 ISA Mode
The R5C841 supports ISA mode for PCI-CardBus Bridge function. Setting ISA enable bit of the
Bridge Control register enables the ISA mode. The ISA mode is applied to the I/O transaction of
particular address range specified by the I/O Base registers and the I/O Limit registers, which are
also in the first 64K Byte of PCI I/O space (0000_0000h-0000_FFFFh).
By enabled the ISA mode, the I/O transaction for the first 256-byte of each 1-Kbyte, which start
address are 0000x000h, 0000x400h, 0000x800h and 0000xC00h, are forwarded from PCI to
CardBus. The last 768-byte is blocked. Conversely, the I/O transaction in the last 768-byte is
forwarded from CardBus to PCI.
12345 2004 REV.1.104-2
Page 28
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
A
A
4.3.2 VGA Support
The R5C841 supports accesses to the CardBus interface bridge and the VGA compatible devices
that is downstream of the bridge. When the VGA Enable bit in the Bridge Control register is set,
the R5C841 positively decodes and forwards accesses to VGA frame buffer addresses and I/O
accesses to VGA registers from PCI to CardBus interface. The address range is as follows.
Memory address : 0A0000h to 0BFFFFh
I/O address : AD[9:0] = 3B0h to 3BBh, and 3C0h to 3DFh (inclusive of ISA address aliases - AD[15:10] are not decoded.)
And also, the R5C841 can forward only write transaction to the VGA Palette register of the
following ranges.
Palette address : AD [9:0] = 3C6h, 3C8h, and 3C9h (Inclusive of ISA address aliases - AD [15:10] are not decoded.)
4.4 16-bit Card Interface Timing Control
The R5C841 generates the timing of address, data, and command for the 16-bit Card interface.
Each timing is set in a timer granularity of PCI clock as shown below. When 16-bit I/O enhanced
Timing or 16-bit Memory Enhanced Timing bit in each socket control register space is cleared,
the default timing is selected regardless of the I/O Win 0-1 Enhanced Timing bit or Memory
Enhanced Timing bit. Default timing is selected when the value smaller than the minimum value is
set.
16-bit Card Signal Timing Example
PCICLK
CADR,REG#
OE#, WE#
IOW#, IOR#
CDATA
ddress Setup Time
Command Active Time
ddress Hold Time
Data
Symbol Parameter Min Max Default Unit
I/O Read/ Write
Tsu Address Setup Time 2 7 3 PCI Clocks (Typ=30ns)
Tpw Command Active Time 3 31 6 PCI Clocks (Typ=30ns)
Tpw Command Active Time 3 31 6 (8or18) Note 2 PCI Clocks (Typ=30ns)
Thl Address Hold Time 1 7 1(2) Note 3 PCI Clocks (Typ=30ns)
Note1 : 4PCI clocks for 3.3v card attribute memory access.
Note2 : 8 PCI clocks for 5v card attribute memory access.
18 PCI clocks for 3.3v card attribute memory access.
Note3 : 2PCI clocks for 3.3v card attribute memory access.
12345 2004 REV.1.104-3
Page 29
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.5 Data Buffers, Posting Write, Prefetching Read
The R5C841 provides data buffers, address buffers, and command buffers in order to maintain a
high-speed data transfer between the PCI bus and the CardBus. The transaction from the PCI
bus to the CardBus allows 8-DWORD buffers of Posting Write Data and Prefetching Read Data.
Conversely, the transaction from the CardBus to the PCI bus allows 12-DWORD buffers of
Posting Write Data and Prefetching Read Data. Posting of write data is permitted a master to end
writing data before a target’s end of writing data. The transactions that cross the R5C841 in either
direction enable a high-speed transfer.
The R5C841 provides a high-speed data transfer by PCI burst transfers when Prefetching Read
Data or Posting Write Data is implemented on the PCI bus and the 1394 bus. Accesses to the SD
Card, the Memory Stick and the xD Picture Card do not support the PCI burst transfers.
4.6 Error Support
4.6.1 Parity Error
The R5C841 provides the parity generation and the parity error detection on both the primary PCI
bus and the secondary CardBus. Having detected an address parity error, the R5C841 asserts
SERR# and sets the Detected Parity Error bit in the PCI Status register. Having detected a data
parity error, the R5C841 asserts PERR# and sets the Detected Parity Error bit in the PCI Status
register. And also, having detected a data parity error, the R5C841 passes the bad data and bad
parity on to the opposite interface if possible. This enables the parity error recovery mechanisms
outlines in the PCI Local Bus Specification without special considerations for the presence of a
bridge in the path of the transaction.
4.6.2 Master Abort
Having the occurred master abort at the destination, the R5C841 implements one of two
transactions. One is a transaction that is compatible with ISA to invalidate data. (Returns all “1”
when read and invalidates the data when write.) The other way is to assert SERR#.
4.6.3 Target Abort
Having the occurred target abort at the destination, the R5C841 transmits errors as target abort to
the original master as thoroughly as possible. But, if cannot, the R5C841 asserts SERR# and
transmits errors to the system.
4.6.4 CardBus System Error
Having the asserted CSERR# on the secondary CardBus interface, the R5C841 always asserts
SERR# on the primary PCI interface and transmits errors to the system.
4.6.5 PCI Bus Error concerned with 1394 OHCI
On the 1394 OHCI function, the R5C841 provides occurred PCI Bus errors and some information
to recover the errors to system software, via the Context register or the descriptor.
12345 2004 REV.1.104-4
Page 30
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.7 Interrupts
The R5C841 supports PCI interrupt signals INTA#, INTB# and INTC# as well as ISA interrupt
signals IRQx. They transmit to the system the Card Status Change Interrupt as a card
insert/remove event, the Function Interrupt by the PC card, the DMA Interrupt and the Device
Interrupt defined on 1394 OHCI, and interrupts defined on SD Card/Memory Stick/xD Picture
Card interface. INTA# is assigned to the PC Card interface, INTB# is assigned to the 1394 OHCI
and INTC# is assingned to the SD Card/Memory Stick/xD Picture Card interface. Interrupts of the
PC Card interface and the 1394 can be reassigned by the INT Select bits (bit1, 0) of the 1394
Misc Control 2 register, and Interrupts of SD Card/Memory Stick/xD Picture Card interface can be
reassigned by the INT Select bits (bit26, 25) of the SD Misc Control register / the MS Misc Control
register/the xD Misc Control register.
On the PC Card, setting the IRQ-ISA Enable bit of the Bridge Control register enables the IRQx
routing register for PC Card-16/32. On the other hand, setting CINT-ISA Disable bit (Config.A0h
bit6) disables the 32bit Function Interrupt to route into the ISA Interrupt and enables to route into
the INT Interrupt. And also, setting the Card Status Change Interrupt Configuration register on the
16bit Control registers the 16bit Card Status Change Interrupt to route into the ISA Interrupt. But,
the R5C841 doesn’t support IRQ-ISA function on 1394 OHCI.
On the 1394 OHCI, the R5C841 transmits interrupt signals to the host on the end of the DMA
transaction, and also transmits interrupts of the LINK layer and the PHY layer. The IntEvent
register and the IntMask register in the OHCI registers control these interrupts. The IntEvent
register is used to indicate generations of an interrupt event and the IntMask register is used to
enable the selected interrupt. Writing into the IntEventClear by software enables to clear the
interrupt.
On the SD Card interface, the Memory Stick interface and the xD Picture Card interface, the
R5C841 can inform a card insert/remove event or an error as an interrupt to the system. PCI
interrupt signals are open drain outputs. When ISA-IRQ mode is enabled, IRQx signals are
programmable to either positive edge mode or level mode. RI_OUT# can be reassigned to an
interrupt signal such as Remote Wakeup signal.
In addition to primary interrupt functions, the R5C841 supports Serialized IRQ. When SRIRQ
Enable bit (bit 7) of the PC Card Misc Control register is set to ‘1b’, UDIO0 works as SRIRQ#
(default). And GPIO and LED0# are also enabled. SRIRQ# output enables a Wired-OR structure
that simply transfer a state of one or more device’s IRQ to the host controller. Both of a device
and a host controller enables a transferring start.
A transferring, called an IRQSER Cycle, consists of three frame types: one Start Frame, several
IRQ/Data Frames, and one Stop Frame. When the SR_PCI_INT_Disable bit (bit5) of the PC Card
Misc control register is ‘Low’, frames of INTA#, INTB#, INTC# and INTD# (PCI Interrupt signals)
are output following IOCHK# frame are output. When it is ‘High’, IRQx only are output from
SRIRQ#.
All cycle uses PCICLK as its clock source. The IRQSER Start Frame has two operation modes:
Quiet (Active) mode and Continuous (Idle) mode. On the Quiet (Active) mode, any device can
initiate a Start Frame. By occurring of interruptive requests, the R5C841 outputs 1-pulse of
PCICLK (Low) and Serialized IRQ is kept on Hi-Z during the rest of a Start Frame. After that,
IRQ/DATA Frame follows.
In Continuous (Idle) mode, only Host Controller can initiate a Start Frame. The R5C841 becomes
waiting state to detect 4-8 PCICLK of Start Pulse. These modes change automatically by
monitoring the Stop pulse width in a Stop Frame. Quiet (Active) mode is repeated when width of
Stop Pulse is 2PCICLK, and Continuous (Idle) mode is repeated when it is 3PCICLK. After
assertion of the GBRST#, the default is Continuous (Idle) mode.
Timing of the Start Frame and the Stop Frame is as follows.
12345 2004 REV.1.104-5
Page 31
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
r
Start Frame timing with source sampled a low pulse on IRQ1
SL
or
H
START FRAME
H
IRQ0 FRAME IRQ1 FRAME
RTSRT S
RT
IRQ2 FRAME
SRT
PCICLK
1
IRQSER
Drive Source
1. Start Frame pulse can be 4-8 clocks wide.
Stop Frame Timing with Host using 17 IRQSER sampling period
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.8 Card Type Detection
If once a valid insertion is detected, the socket state machine in the R5C841 starts to interrogate
the PC Card to determine whether it is a CardBus Card, a 16-bit PC Card or an ExpressCard.
The R5C841 supports VCC values of 5V, 3.3V and combination of them at the socket interface.
Card type can be known by reading the Socket Present State register.
Card Type
CD2# CD1# VS2# VS1# KeyInterface Voltage
ground ground open open 5V 16bit PC Card 5V
ground ground open ground 5V 16bit PC Card 5V and 3.3V
ground ground ground ground 5V 16bit PC Card 5V, 3.3V and
X.XV
ground ground open ground LV 16bit PC Card 3.3V
ground connect to
CVS1
ground ground ground ground LV 16bit PC Card 3.3V and X.XV
connect to
CVS2
connect to
CVS1
ground ground ground open LV 16bit PC Card X.XV
connect to
CVS2
ground connect to
connect to
CVS1
ground connect to
ground connect to
connect to
CVS2
4.9 Mixed Voltage Operation
ground connect to
ground ground connect to
ground connect to
CVS2
ground open connect to
CVS1
CVS2
connect to
CVS2
open connect to
CCD1#
ground LV CardBus
CCD2#
CCD2#
open LV CardBus
CCD2#
connect to
CCD1#
ground connect to
connect to
CCD1#
connect to
CCD1#,
CCD2#
open LV CardBus
CCD2#
CCD1#
ground Reserved
open ExpressCard
LV CardBus
PC Card
3.3V and X.XV
PC Card
LV CardBus
PC Card
PC Card
PC Card
LV CardBus
PC Card
Reserved
Small Card (BAY)
3.3V, X.XV and
X.XV and Y.YV
3.3V
X.XV
X.XV
Y.YV
The R5C841 has 5 independent power rails. The power for Card (VCC_3V) and PCI
(VCC_PCI3V) is powered at 3.3V. The R5C841 can support either 3.3V or 5V for the PCI and the
PC Card, as so the R5C841’s interface has the structure of 5V tolerant. VCC_RIN and
VCC_ROUT are powered at 1.8V when an internal regulator disabled, and VCC_RIN is powered
at 3.3V when an internal regulator enabled. The 1394 OHCI interface (AVCC_PHY3V) is powered
at 3.3V. The SD Card Interface, the Memory Stick interface and the xD Picture Card interface
(VCC_3V and VCC_MD3V) are powered at 3.3V.
12345 2004 REV.1.104-7
Page 33
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.10 Reset Event
Anytime GBRST# is asserted, all R5C841 internal state machines are reset and all registers are
set to their default values (provided that each signals has followed the reset sequence below).
PCIRST# is asserted, all registers are set to their default value except the following. The default
values of each register are described in each register description.
1. These registers are initialized only by GBRST#, not by PCIRST#. (PCI RESET Resistant register).
PCI-CardBus Bridge Config. Space:
· 40h Subsystem Vendor ID [15:0]
· 42h Subsystem ID [15:0]
· 80h Bridge Configuration [15:0]
· 82h PC Card Misc Control [15:0]
· 84h 16-bit Interface Control [15:0]
· 88h 16-bit I/O Timing 0 [15:0]
· 8Ah 16-bit Memory Timing 0 [15:0]
· 8Dh Func. Disable Write Key [15:0]
· A0h PC Card Misc Control 2 [15:0]
· A2h PC Card Misc Control 3 [15:0]
· A4h PC Card Misc Control 4 [31:0]
· B0h PC Card Misc Control 5 [31:0]
· B4h PC Card Misc Control 6 [23:0]
· B7h Function Disable [7:0]
· B8h Serial ROM Control [31:0]
· C0h Writable Subsystem Vendor ID [15:0]
· C2h Writable Subsystem ID [15:0]
1394 OHCI-LINK Config. Space:
· 28h Global Unique ID Low [31:0]
1394 PHY Register:
·All Registers
SD Card Register:
·All Registers
Memory Stick Register:
·All Registers
xD Picture Card Register:
·All Registers
2. These registers are not initialized by PCIRST# when the power state is D3 and PME Enable
bit is set to ”1”. (PME_Context register)
PC Card Socket Status Control Register Space:
· 000h Socket Event [3:0]
· 004h Socket Mask [3:0]
· 008h Socket Present State [11,10,5,4]
· 010h Socket Control [6:4]
· 802h Power Control [7:2]
· 804h Card Status Change [3:0]
· 805h Card Status Change interrupt Configuration [3:0]
· 82Fh Misc Control 1 [0]
PC Card Bridge Config. Space:
· DEh Power Management Capabilities [15]
· E0h Power Management Control/ Status [15,8]
1394 OHCI-LINK Config. Space:
· DEh Power Management Capabilities [15]
· E0h Power Management Control/ Status [15,8]
SD Card Config. Space:
· 82h Power Management Capabilities [15]
· 84h Power Management Control/ Status [15,8]
Memory Stick Config. Space:
· 82h Power Management Capabilities [15]
· 84h Power Management Control/ Status [15,8]
xD Picture Card Config. Space:
· 82h Power Management Capabilities [15]
· 84h Power Management Control/ Status [15,8]
3. Excepting the above registers (PCI RESET Resistant register, PME_Context register) and
the global register, all the registers are initialized by the power state transition from D3 to D0
as long as the power state is D3.
12345 2004 REV.1.104-9
Page 35
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
≡Reset Sequence≡
Follow the sequence for initialization when a power is on.
1. Supply a power to VCC_3V, AVCC_PHY3V, VCC_MD3V, VCC_RIN and
VCC_ROUT*. (*: in case of an internal regulator disabled )
2. Supply a power to VCC_PCI3V.
3. Deassert GBRST#.
4. Deassert HWSPND#.
5. Deassert PCIRST#. (PCLK has to be supplied for 100µsec@33MHz before
deasserting PCIRST#.)
Following Step3 by Step2 has no problem.
See the timing a detail of the timing shown in Chapter 5.3.6.
4.11 Power Management
The R5C841 implements two kinds of power management, software suspend mode and
hardware suspend mode, in order to reduce the power consumption on suspend, in addition to
the adoption of circuit to reduce the power consumption when power on. The software suspend
mode conforms to the ACPI (Advanced Configuration and Power Interface) specification and the
PCI Bus Power Management Standard. The R5C841, as a PCI device, implements four power
states of D0, D1, D2, and D3. Each power state on the PC Card is the following.
The power management events for the R5C841 and their sources are listed below. The PME#
source supports the Card Detect Change event only.
When the power state is except D0, the interrupt is disabled and only PME# can be asserted.
D0 The maximum powered state. All PCI transactions are acceptable.
D1 Only the PCI Configuration Space access is allowed while the power and clock are provided.
CardBus CLK is output.
D2 Only the PCI Configuration Space access is allowed while the power and clock are provided.
CardBus CLK is stopped by the protocol of CLKRUN.
D3hot Only the PCI Configuration Space access is allowed while the power and clock are provided.
CardBus CLK is stopped compulsorily. If CardBus card is inserted, CardBus RESET# is
asserted at the same time this state is set. When the function is brought back to the D0 state,
the reset is automatically performed regardless of the assertion of PCIRST#. PCI interface is
disabled when reset. CardBus interface is reset by the assertion of CRST# on CardBus card.
D3cold PCI-CardBus Bridge defines D3cold state is to change from VCC_RIN, VCC_ROUT*, VCC_3V
and VCC_MD3V to the auxiliary power source. The R5C841 supports power management
events from D3cold with the auxiliary power source. The R5C841 can generate PME# even in
D3cold state without PCI clock if the event source is Card Detect Change or Ring Indicate.
*: in case of an internal regulator disabled
12345 2004 REV.1.104-10
Page 36
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
On the software suspend mode, the interface signals on the PC Card keep to the following levels
when the card is inserted.
CardBus : CCLK=low, CPAR=low, CAD=high or low, CCBE#=high or low, CRST#=low,
CGNT#=high, Pull-up=high, Pull-down=low
16-bit : CDATA=hi-z, CADR=low
Other pins keep the level before the software suspend mode.
In addition to the Operating system-directed power management like ACPI, the R5C841 can
control to stop or slow the clock by supporting CLKRUN# and CCLKRUN# protocol. Therefore, it
is possible to reduce the power consumption. The state of the card interface signals is the same
as the software suspend mode. The hardware suspend mode is enabled when HWSPND# is
asserted. Once HWSPND# is asserted, all PCI bus interface signals are disabled and
VCC_PCI3V can be powered off. If PCIRST# is asserted, the internal registers of the R5C841
hold the data as long as VCC_RIN, VCC_ROUT*, VCC_3V and VCC_MD3V are on.
(*: in case of an internal regulator disabled)
4.11.2 Function on 1394 OHCI-LINK
D0 Fully function of OHCI device state. Unmasked interrupts generate INTx#. And also,
PME# can be generated by PME_EN after setting PME_STS.
D1 Ack_tardy is returned on accesses from the 1394. The PCI configuration space, the 1394
OHCI register and the GUID register are preserved. Functional interrupts are masked.
Unmasked interrupts can be generated by PME_EN after setting PME_STS. All transmit
contexts must be inactive before it attempts to place the R5C841 into the D1 power state.
IEEE1394 bus manager shall not be placed into D1. Placing the R5C841 into D1 enables
the ack_tardy generation. Software must ensure that IntEve.ack_tardy is 0b and should
unmask wake-up interrupt events such as IntEvent.phy and IntEvent.ack_tardy before
placing the R5C841 into D1.
D2 LPS is deasserted and stopping supply of SCLK is requested to the PHY. The PCI
configuration space is retained and capable of access. The GUID register is retained, but
the1394 OHCI register is lost. Functional interrupts are masked. But when the LinkOn
signal that is occurred by accepting LinkOn packet or PHY.INTERRUPT is accepted from
the PHY, PME# is generated by PME_EN after setting PME_STS.
D3hot LPS is deasserted and stopping SCLK supply is requested to the PHY. The PCI
configuration Space is capable of access, but all register except the PME context is lost.
The GUID register is retained, but the1394 OHCI register is lost. On transitioning back to
D0, the internal reset is automatically done even if PCIRST# is not asserted. Functional
interrupts are masked. But when the LinkOn signal is accepted from the PHY, PME# is
generated by PME_EN after setting PME_STS.
D3cold D3cold indicates the state that VCC_RIN, VCC_ROUT*, VCC_3V, VCC_MD3V and
AVCC_PHY3V are changed to the auxiliary power on D3hot state. D3cold supports
functions like D3hot’s.
(*: in case of an internal regulator disabled)
12345 2004 REV.1.104-11
Page 37
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
PHY function
On D2 and D3 states, the PHY can be set to any one of the following low power consumption by
Software.
Doze Mode Sleep Mode
Select Condition All of Ports status is set to Disconnected, Disabled or Suspended.
Resume Time less than 200ns less than 10ms
Doze Mode: Stopping clock of the PHY digital block and getting the Cable Interface’s power down
enables the low power consumption.
Sleep Mode: In addition to the low power consumption by Doze mode, getting power down of PLL
and the oscillator enables the lower power consumption than on Doze mode.
Setting D2PhyPM bit or D3PhyPM bit on the PHY Power Management register (the 1394
OHCI-LINK Configuration register addr.98h) enables a selection of Doze mode or Sleep mode.
On Doze mode or Sleep mode, LinkOn event enables to resume from the power saving mode
automatically and PME# is asserted. Each power saving modes cannot be set without the above
selected conditions, even if the R5C841 is set to D2 state or D3 state. If the above Ports
conditions are not satisfied, the R5C841 transacts as the Repeater PHY. In this time, setting
D2ForcePM bit or D3ForcePM bit to 1b enables to ignore above conditions and to set Doze mode
or Sleep mode automatically. But, it is disabled LinkOn event to resume from the power
consumption mode automatically and to assert PME#. Writing into Power State bits enables to
return to D0 state.
In addition, don’t the power supply of VCC_RIN, VCC_ROUT*, VCC_3V, VCC_MD3V and
AVCC_PHY3V on the suspend mode in spite of the Software and the Hardware.
(*: in case of an internal regulator disabled)
4.11.3 Function on SD Card / Memory Stick/xD Picture Card
D0 The maximum powered state. All PCI/SD Card/Memory Stick/xD Picture Card transactions
are acceptable.
D1 Only the PCI Configuration Space access is allowed while the power and clock are
provided. SDCCLK and MSCCLK are output.
D2 Only the PCI Configuration Space access is allowed while the power and clock are
provided. SDCCLK and MSCCLK are output.
D3hot Only the PCI Configuration Space access is allowed while the power and clock are
provided. SDCCLK and MSCCLK are stopped compulsorily. When the function is brought
back to the D0 state, the reset is automatically performed regardless of the assertion of
PCIRST#.
D3cold PCI-CardBus Bridge defines D3cold state is to change from VCC_RIN, VCC_ROUT*,
VCC_3V and VCC_MD3V to the auxiliary power source. The R5C841 supports power
management events from D3cold with the auxiliary power source. The R5C841 can
generate PME# even in D3cold state without PCI clock if the event source is SD Card
Detect Change or Memory Stick Detect Change or xD Picture Card Detect Change.
(*: in case of an internal regulator disabled)
4.12 GPIO
UDIO1, 2, 3 and 4 pins work as GPIO (General Purpose I/O) pin when GPIO Enable bit of the PC
Card Misc Control 4 register (A4h bit31) is set to “1” on Serialized IRQ (default) mode or on
UDIO_Select mode of the PC Card Misc Control 4 register. When GPIO Enable bit is set to “0”,
GPIO outputs are Hi-Z and GPIO Inputs are disabled. User can change the characteristics of the
GPIO pins to either Input or Output by setting either I/O control bits on the GPIO register (83Ah)
or the General Purpose I/O 1 register of the Config register space (AAh). When GPIO Enable bit
is set to “1”, setting of GPIO is input mode (default). And it is possible to read the states of their
pins through each bit of the GPIO register. On Output mode, the written states of each bit are
output. If GPIO functions are not used on Serialized IRQ mode, no pull-up is required.
12345 2004 REV.1.104-12
Page 38
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.13 ZV port Interface
The R5C841 has the Bypass type ZV port interface. On the 16-bit interface, when ZV port Enable
bit of either the Misc Control 1 register (82Fh) or the PC Card Misc Control 2 register (A0h) is
enabled, CADR [25:6], IOIS16#, INPACK#, SPKR# are assigned to ZV port input signal as shown
in the below diagram.
The R5C841 has no on chip buffer for the ZV port interface. So if ZV port is enabled, the signals
for ZV port such as CADR [25:4] will be “Hi-Z” or “Input disable” and they will be reconfigured for
the ZV port interface. The R5C841 outputs the control signal for the external buffer, which is used
to switch sockets, so that the buffer control for switching sockets is enabled.
16 bit Interface
Signal Name
A10 HREF
A11 VSYNC
A9 Y0
A8 Y2
A13 Y4
A14 Y6
A16 UV2
A15 UV4
A12 UV6
A7 SCLK
A6 MCLK
A[5:4] RESERVED
A[3:0] ADDRESS[3:0]
IOIS16# PCLK
A17 Y1
A18 Y3
A19 Y5
A20 Y7
A21 UV0
A22 UV1
A23 UV3
A24 UV5
A25 UV7
INPACK# LRCLK
SPKR# SDATA
ZV Port Interface
Signal Name
ZV Port
1
card I/O
O Horizontal Sync to ZV Port
O Vertical Sync to ZV Port
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Audio SCLK PCM Signal
O Audio MCLK PCM Signal
RFU Put in three state by Host Adapter
No connection in PC Card
I Used for accessing PC Card
O Pixel Clock to ZV Port
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Video Data to ZV Port YUV:4:2:2 format
O Audio LRCLK PCM signal
O Audio PCM Data signal
Comments
ZV Port Interface Pin Assignments
1. "I" indicates signal is input to PC Card, "O" indicates signal is output from PC Card.
4.14 Subsystem ID, Subsystem Vendor ID
The R5C841 supports Subsystem ID and Subsystem Vendor ID to meet PC98/99/2001 Design
Requirements. There are three ways to write into the Subsystem ID and the Subsystem Vendor
ID registers from the system through BIOS.
1. Write Enable bit (Card: bit6 in the PC Card Misc Control, 1394: bit4 in the 1394 Misc
Control 2, SD: bit0 in the Key, Memory Stick: bit0 in the Key, xD Picture Card: bit0 in the
Key) control method.
The BIOS can turn this bit on, change the Subsystem IDs, and turn it off.
12345 2004 REV.1.104-13
Page 39
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
2. Copy of the Subsystem ID and the Subsystem Vendor ID in PCI user defined space
method.
Card: C0h, C2h
1394/SD/MS/xD: ACh, AEh
3. Load the Subsystem IDs from the Serial ROM method.
Connecting SPKROUT to pull-down enables to use the Serial ROM. The R5C841 has
the Serial ROM interface, and load the Subsystem ID and the Subsystem Vendor ID
after PCI reset disabled.
These registers are initialized only by GBRST#.
4.15 Power Up/Down Sequence
Follow the sequence when the power sequence is ON/OFF.
∗ On the power sequence is ON.
1. Supply to VCC_ RIN and VCC_ROUT*.
2. Supply to VCC_3V, VCC_MD3V and AVCC_PHY3V.
3. Supply to VCC_PCI3V.
∗ On the power sequence is OFF.
1. Stop supplying to VCC_PCI3V.
2. Stop supplying to VCC_3V, VCC_MD3V and AVCC_PHY3V.
3. Stop supplying to VCC_RIN and VCC_ROUT*.
*: in case of an internal regulator disabled
On the power sequence is on, sustain to timing of Global Reset (Chapter 5.3.6) in regards to the
control of HWSPND# and GBRST#. GBRST# must be specially asserted on the power supply to
AVCC_PHY3V, because the only GBRST# enables to initialize the Cable interface block.The
rising of VCC_PCI3V should be within HWSPND# asserted time. When the power sequence is
off, the special limit for Delay Time is none.
The R5C841 can operate the PHY as Repeater. Follow the power sequence when the R5C841
operates PHY as Repeater without providing VCC_PCI3V.
∗ On the power sequence is ON.
1. Supply to VCC_ RIN and VCC_ROUT*.
2. Supply to VCC_3V, VCC_MD3V, and AVCC_PHY3V.
∗ On the power sequence is OFF.
1. Stop supplying to VCC_3V, VCC_MD3V, and AVCC_PHY3V.
2. Stop supplying to VCC_ RIN and VCC_ROUT*.
*: in case of an internal regulator disabled
In this case also, the special limit for delay time is none on the power sequence is off. Note the
following.
a. Asserting GBRST# enables to supply power to AVCC_PHY3V, because the only
GBRST# enables to initialize Cable interface. Also, sustain the delay time shown in
the chapter 5.3.6 on use of GBRST#.
b. HWSPND# is always set to ‘Low’.
12345 2004 REV.1.104-14
Page 40
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.16 1394 OHCI
The 1394 OHCI block in the R5C841 employs DMA engines for high-performance data transfer,
host bus interface and FIFO. The R5C841 supports two types of data transfer: asynchronous and
isochronous. Prefer to the 1394 OHCI release 1.1/1.0 specifications for settings and procedures
of the controller.
4.16.1 Asynchronous Functions
The R5C841 supports all of transmission and reception defined in 1394 packet formats.
Transmitted packets are read out of host memory and received packets are written into host
memory, both using DMA. And the R5C841 can be programmed as a bus bridge between the
host bus and the 1394 interface by the direct execution of the 1394 read/write requests to the
host bus memory space.
4.16.2 Isochronous Functions
The R5C841 includes the cycle master function as defined in the 1394 specification. The cycle
start packet is transferred at intervals of 8KHz cycle clock. This cycle master uses the internal
cycle clock. When the R5C841 is not the cycle master, the R5C841 can sustain its internal cycle
timer sychronized with the cycle master node by correcting its own cycle timer with the reload
value from the cycle start packet. The R5C841 supports each DMA controller for each
isochronous transmit and isochronous receive. Each DMA controller supports 4 different DMA
contexts.
4.16.3 DMA
The R5C841 supports seven types of DMA. Each type of DMA has register space and data
stream referred to as a DMA context.
Each asynchronous and isochronous context is composed of buffer descriptor lists called a DMA
context program, which is stored in main memory. The DMA controller finds the necessary data
buffers through the DMA context programs.
The Self-ID receive controller is controlled not by the DMA context program but by the two other
registers. The R5C841 supports the Physical Request DMA and the Physical Response DMA
controllers in order to transmit the receive request, which is to read and write directly to the bus
memory space. These controllers are also controlled not by the DMA context program but by the
other reserved register.
DMA Type Number of Contexts
Asynchronous Transmit Request x 1, Response x 1
Asynchronous Receive Request x 1, Response x 1
Isochronous Transmit X 4
Isochronous Receive X 4
Self-ID Receive X 1
Physical Request & Physical Response No Context
12345 2004 REV.1.104-15
Page 41
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.16.4 LINK
The Link module sends packets which appear at the transmit FIFO interfaces to the PHY, and
places correctly addressed packets into the receive FIFO. The features are as follows.
⋅ Transmits and receives correctly formatted 1394 serial bus packets.
⋅ Generates the appropriate acknowledge for all received asynchronous packets.
⋅ Performs the cycle master function.
⋅ Generates and checks 32-bit CRC.
⋅ Detects missing cycle start packets.
⋅ Interfaces to PHY.
⋅ Receives isochronous packets at all times (Supports of asynchronous streams and cycle start
packets including a CRC error).
⋅ Ignores asynchronous packets received during the isochronous phase.
4.17 SD Card Interface
The R5C841 has one port of SD Card interface, consists of four serial data lines, one serial
command line, card detection, write protection and SD clock.
4.17.1 Protocol
After the SD Card interface block in the R5C841 is initialized, the R5C841 outputs the data
through the serial SDCMD signal by the host’s command (Writing into the SD_CMD register), and
the SD Card’s response to the command is inputted to the SDCMD signal. The contents of this
card’s response are stored into bits [7:0] of the SD_RSP register. The SD Card is initialized after
the SD Card interface block checked CRC, etc. After that, the data is transmitted between the
R5C841 and the SD Card through the data lines. When the data is written into the SD memory
card, the host writes the divided data (default 512byte) into the SD buffer of SD interface block,
and the R5C841 transmits the serialized data from the SDDAT [3:0] of SD Interface block.
Conversely, when the data is read from the SD memory card, the SD Card writes the divided data
(default 512byte) into the SDDAT [3:0] of SD interface block after initialization of the SD Card by
the command response signal.
4.18 Memory Stick Interface
The R5C841 has one port of Memory Stick interface, consists of four serial data lines, one bus
state line, card detection and MS clock.
4.18.1 Protocol
The Memory Stick interface block accesses to the Memory Stick registers and the Page Buffer by
the Transfer Protocol Command (TPC) in compliance with the host. The R5C841 checks
transmission of data between the Page Buffer in the Memory Stick and the Flash Memory and a
status after accepting INT signal of the Memory Stick. After that, the R5C841 starts to read / write
/ erase the data.
4.19 xD Picture Card Interface
The R5C841 has one port of xD Picture Card interface, consists of eight serial data lines, seven
control signals and card detection.
12345 2004 REV.1.104-16
Page 42
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.19.1 Protocol
The R5C841 accesses to the xD Picture Card through the 32-bit Data port register. Writing to the
Data port register can transfer address, command and data to the xD Picture Card. The data
transfer to the xD Picture Card enables in units of 8-bit, 16-bit or 32-bit. On the 16-bit or 32-bit
access, the R5C841 can access to the xD Picture Card by increments of 8-bit unit automatically.
Note that only lower 1byte works when write of address and command data.
4.20 Serial ROM Interface
The R5C841 can load data for Subsystem ID, Subsystem Vendor ID (the PCI Interface) and
some PCI configuration registers default value from the Serial ROM (I
R5C841 can set them to each register automatically.
2
C BUS is registered trademark of PHILIPS ELECTRONICS N.V.
• I
Purchase of Ricoh’s I2C components conveys a license under the Philips I2C patent to use the
components of the I
Philips.
4.20.1 Outline
The R5C841 supports 100k mode and 7-bit address, and automatically stores the data (See.
Chapter 4.20.3) from the Serial ROM when the first PCI Reset is deasserted after deassertion of
the GBRST#.
4.20.2 User’s Setting
Connecting the SPKROUT pin to a pull-down resistor of 100kΩ enables the use of the Serial
ROM. When the first PCI Reset is deasserted, the R5C841 starts to sample SPKROUT pin.
When SPKROUT pin is connected to a pull-down resistor of 100kΩ, the R5C841 attempts to load
data through the Serial ROM. In this case, UDIO3 is reassigned to SCL (the clock signal) and
UDIO4 is reassigned to SDA (the data signal). The SDA and the SCL must be connected to
VCC_3V through pull-up resistors of 10kΩ. When the SPKROUT pin is connected to VCC_3V
through a pull-up resistor of 100kΩ, the R5C841 does not load data through the Serial ROM. See
the PC Card Misc Control 4 register for setting of UDIO3 and UDIO4.
Without the Serial ROM With the Serial ROM
R5C841
VCC_3V
SPKROUT
UDIO4
UDIO3
2
C BUS). After that, the
2
C system, provided the system conforms to the I2C specifications defined by
Ω
100k
UDIO4
UDIO3
R5C841
VCC_3V
SPKROUT
UDIO4
UDIO3
10k
Ω
100k
Ω
Ω
10k
SDA
Serial ROM
SCL
12345 2004 REV.1.104-17
Page 43
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.20.3 Format
The R5C841 starts accesses to the Serial ROM by detecting a pull-down of the SPKROUT when
the first PCI Reset is deasserted after deassertion of the GBRST#. The accessed data is stored
to each register as follows. The retry states don’t allow PCI’s slave access during accesses to the
Serial ROM. Each parts register of 1394 OHCI-LINK Configuration Space, 1394 OHCI Registers
Space, PCI-CardBus Bridge Configuration Space, SD Card Configuration Space, Memory Stick
Configuration Space and xD Picture Card Configuration Space.
23h ―
24h Max Latency[3:0] Min Grant[3:0]
25h - - - - - - - -
CMC
Shadow
PrwCShadow[2:0]
-
SIDWREN
toLED1#
P0Dis
Shadow
PMbit15
WrEn
1394LED
toLED0#
P1Dis
Shadow
-
LEDDurationSel[1:0] -
- -
INTXSel[1:0]
12345 2004 REV.1.104-18
Page 44
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.20.3.2 1394 OHCI Register
Address Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
26h ProgPhyEn
aPhy
EnhanceEn
27h MiniROM Address[7:0]
28h Config ROM Header[7:0]
29h Config ROM Header[15:8]
2Ah Config ROM Header[23:16]
2Bh Config ROM Header[31:24]
2Ch Bus Option[7:0]
2Dh Bus Option[15:8]
2Eh Bus Option[23:16]
2Fh Bus Option[31:24]
30h Global Unique ID High[7:0]
31h Global Unique ID High[15:8]
32h Global Unique ID High[23:16]
33h Global Unique ID High[31:24]
34h Global Unique ID Low[7:0]
35h Global Unique ID Low[15:8]
36h Global Unique ID Low[23:16]
37h Global Unique ID Low[31:24]
The R5C841 can output the activity signals of the PC card, the 1394OHCI, the SD Card, the
Memory Stick and the xD PictureCard, as LED0#, LED1# and LED2#. The R5C841 uses UDIOx
pins as LED0#/1#/2#. See the PC Card Misc Control 4 (Config. (Func.0) A4h) register for use
these pins. The default of the LED signal is ‘Low’ active. But, setting the LED Polarity bit (Config,
(Func.0) 82h bit11) to “1b” enables to set the LED signal to ‘high’ active. This bit is common to the
PC card, the 1394 OHCI, the SD Card, the Memory Stick and the xD Picture Card.
The LED signal is asserted at the same time the trigger of its signal is asserted. And the internal
counter works after the trigger is deasserted. In default, the LED signal is kept for 64msec after
the deassertion of the trigger, and is deasserted. When the trigger is reasserted in operation of
the counter, the counter is cleared and restarted to count up at the same time the deassertion of
the LED signal. See the below chart.
Counter Reset
The LED trigger
Count u
The LED out
Counter Start
Counter Restart
Not Count u
LED Output Duration
The LED Output Duration is selected from among 64msec(default), 1msec and No Duration time
(through the trigger). The card and the 1394 have the different registers for selecting each other
(See the following). The trigger signals for them also are different.
The R5C841 uses a counter operating PCLK for the LED Output Duration and therefore a stop
request of PCLK by the CLKRUN protocol is refused in operation of the counter. When PCLK
must be stopped for 64msec on system, modify the LED Output Duration.
Bit 13 and bit 12 of the Config (Func.0) A2h register can set the counter’s duration.
bit 13 12 the LED Output Duration
0 0 64 msec (default)
1 1 1 msec
1 0 No Duration Time (through)
0 1 Test Mode(3.8µsec)
4.21.2 1394 LED
The 1394 LED signal indicates the condition of the IEEE1394 interface block in the R5C841. This
signal is asserted when the R5C841 is on transmission/reception.
Bit 2 and bit 1 of the Config (Func.1) 9Eh register can set the counter’s duration.
bit 2 1 the LED Output Duration
0 0 64 msec (default)
1 1 1 msec
1 0 No Duration Time (through)
0 1 Test Mode(3.8µsec)
4.21.3 SD LED
The SD LED signal indicates conditions of the SD Card interface in the R5C841. This signal is
asserted when the R5C841 is on the transmission, the reception and the debounce duration of
the card detection. Bit 29 and bit 28 of the Config (SD: Func.2) F8h register can set the counter’s
duration.
bit 29 28 the LED Output Duration
0 0 64 msec (default)
1 1 1 msec
1 0 No Duration Time (through)
0 1 Test Mode (3.8µsec)
4.21.4 MS LED/xD LED
The MS LED and the xD LED signals indicate conditions of the Memory Stick interface and the
xD Picture Card interface in the R5C841. This signal is asserted when the R5C841 is on the
transmission and the reception. Bit 29 and bit 28 of the Config (MS: Func.3, xD: Func.4) F8h
register can set the counter’s duration.
bit 29 28 the LED Output Duration
0 0 64 msec (default)
1 1 1 msec
1 0 No Duration Time (through)
0 1 Test Mode (3.8µsec)
12345 2004 REV.1.104-22
Page 48
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.21.5 LED Output Selection
All LED can be output to LED0#/LED1#. The LED for the 1394 is output by setting Config
(Func.1) 9Eh bit [4:3] to “11b”, the LED for the SD Card is output by setting Config (Func.2) F8h
bit [7:6] to “11b”, the LED for the Memory Stick is output by setting Config (Func.3) F8h bit [7:6]
to ”11b”, and the LED for the xD Picture Card is output by setting Config (Func.4) F8h bit [7:6]
to ”11b”.
Also, the LED for the IEEE1394 is output to LED2# by setting Config (Func.0) B0h bit6 to “0b”.
4.22 1394 Cable Interface
The R5C841 builds in 2 ports of 1394 Cable interface that support the transmission speed of
400/200/100Mbps compliant with the IEEE1394a-2000 standard.
4.22.1 Cable Interface Circuit
AVCC_PHY3V
ICD ICD
R5C841 Boad A Cable Boad B
Connect Detect Connect_Detect
TpBias Di sable TpB ias_Di sable
TPBIAS*
Each port consists of two twist-pairs; TPA and TPB. The TPA and the TPB are used in order to
monitor transmission/reception of a control signal (Arbitration signal) and data, and the state of a
cable line (the insert of a cable).
It is necessary for the TPA and the TPB to be connected to a termination of 55Ω resistances
according to the cable impedance. This termination resistance should be arranged near the
R5C841. On TPA side, TPBIAS should be placed to the center node of the termination resistance
in order to set up a cable’s common-mode DC potential. A capacitor of 0.33µF for decoupling
should be connected to the TPBIAS. On TPB side, a termination of 5.1kΩ and a capacitor of
270pF should be connected to between the center node of the termination resistance and AGND.
See the application manual for the substrate layout.
12345 2004 REV.1.104-23
Page 49
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.22.2 Transaction of Unused Ports
On no use of ports, TPBP* and TPBN* are directly connected to AGND, and TPAP*, TPAN* and
TPBIAS* are OPEN. After that, set Port Disable bit of the 1394 PHY Register. The PHY Shadow
register in the 1394 Configuration registers space also can set the Port disable bit. See the
Read/Write of the 1394PHY register (Ch. 4.22.4).
4.22.3 CPS (Cable Power State)
The R5C841 builds in a function monitoring the state of the cable power. The CPS pin is
connected to the cable power through the external resistor (390kΩ±1%) and detects a condition
that cable power has lowered under the threshold level (Normally 7.5V). When the four pins cable
is used (when the CPS function is not used), it is possible to select two methods: one is the direct
connection of the CPS pin with the AVCC_PHY3V, and the other is with the register’s control of
the CPS pin which is set to ‘Open’. In case of the register’s control, set CPSDis (bit1) and
CPSFixVal (bit0) on the PHY Power Management Register (98h) in the 1394 Configuration
Register space to “1b”. The Serial ROM also can be set these registers. Refer to the Serial ROM
(Chapter 4.20) for details.
On monitoring the state of Cable Power.
Cable power supply
R5C841 390kohm(±1%) 6pin connector
CPS VP
Out of monitoring the state of Cable Power.
R5C841 AVCC_PHY3V 4pin connector
CPS
4.22.4 Read/Write of 1394 PHY Registers
The R5C841 builds in the 1394 PHY registers compliant with IEEE 1394-1995 and
IEEE1394a-2000 standard. Refer to the 1394PHY Registers for details. Access to these registers
is enabled by the PHY Control register of the 1394 OHCI Registers, and offsetting [31-11] bits of
the 1394 OHCI Register Base Address (10h) in the 1394 Configuration register space enables
access to the PHY Control register (0ECh).
The data of 1394 PHY register is the little endian description. On access of the PHY Control
register, the R5C841 converts the data from a little endian to a bit endian. So the data is dealt
only in a row without the bit number of data.
PHY Register
0 1 2 3 4 5 6 7
PHY Control
wrData 7 6 5 4 3 2 1 0
rdData 23 22 21 20 19 18 17 16
12345 2004 REV.1.104-24
Page 50
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
For example, when 53h is written in wrData of the PHY Control register (bit 6, 4, 1, and 0 are set
to “1”), 53h is written in the PHY Register as they are (bit 1, 3, 6, and 7 are set to “1”). Access to
Contender bit, Power_class field, and Disable bit for Port0/Port1 in the 1394 PHY register is
enabled through the PHY Shadow register (99h) in the 1394 configuration register space. Refer
to the PHY Shadow register in the Registers Description for details.
4.22.5 Clock Circuit
The PHY block of the R5C841 requires 24.576MHz of clock frequency.
Crystal OSC. External Clock Driver
R5C841 R5C841
XO XI XO XI
10pF 10pF OPEN
(±5%) (±5%)
Recommended Conditions
Crystal Oscillator
Normal Frequency : 24.576MHz
Frequency Tolerance : ±50ppm(at 25°C)
Temperature stability : ±50ppm(reference to 25°C)
Operating Temperature Range : -20~70°C
Load Capacitance : 10pF
Driver Level : 0.1mW
Equivalent Series Resistance : 50ohm Max
Insulation resistance : 500M ohm Min (at DC100V±15V)
Shunt Capacitance : 7.0pF Max
External Clock Driver
Normal Frequency : 24.576MHz
Frequency Tolerance : ±50ppm(at 25°C)
4.22.6 PLL
The PHY block of the R5C841 produces 393.216MHz of the internal clock that is 16 times as
long as the 24.576MHz produced by the internal PLL circuit. Setting the Sleep Mode of the PHY
block can stop the PLL circuit. Refer to the Power Management (Ch. 4.11) for settings of the
Sleep Mode.
PLL External Circuit
R5C841
FIL0
0.01uF
AGND
12345 2004 REV.1.104-25
Page 51
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
4.22.7 Reference Voltage Circuit and Reference Current Circuit
The PHY block of R5C841 supports terminals of the external parts for the Reference voltage
circuit and the Reference current circuit. Each terminal should be connected to indicated
capacitors and resistors.
Reference Voltage Circuit Reference Current Circuit
R5C841 R5C841
VREF REXT
0.01uF 10kohm
±1%
AGND AGND
4.23 Function’s Selection
The R5C841 can make each function disable by UDIO3, UDIO4 and VPPEN0. Setting UDIO3 to
pull-down disables the SD Card interface, setting UDIO4 to pull-down disables the Memory Stick
interface, and setting VPPEN0 to pull-down disables the xD Picture Card interface. Disabled
function cannot detect the corresponding configuration register. (Master Aborts) The function’s
selection is as follows.
On use of the Serial ROM, set the Serial ROM in order to disable each function, because UDIO3,
UIDO4 and VPPEN0 are set to only pull-up.
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
#
4.24 Internal Regulator
The R5C841 has an internal regulator, which converts the single 3.3V power into the power for
the internal core logic. REGEN# signal enables/disables an internal regulator. The following is the
recommended circuit diagram.
Regulator Disable Mode
VCC_RIN
R5C841
VCC_ROUT
REGEN#
Regulator Enable Mode
VCC_RIN
R5C841
VCC_ROUT
0.01uF 0.1uF 0.01uF 10uF
0.01uF 0.01uF 0.47uF 0.47uF
0 ohm
open
0.01uF 0.1uF 0.01uF 10uF
0.01uF 0.01uF 0.47uF 0.47uF
from Regulator
(1.8V)
JP
short
from Regulator
(3.3V)
JP
open
REGEN
open
100k ohm
12345 2004 REV.1.104-27
Page 53
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
#
#
A
#
4.25 ExpressCard Interface
Using the external USB host interface enables the R5C841 to connect a USB device to a PC Card
socket. That is, inserting an ExpressCard passive adapter into the PC Card socket can support an
ExpressCard for the USB interface.
R5C841
ExpressCard
Passive Adapter
USB
HOST
4.26 BAY Function
With the PC Card passive adapter, the Small Card (the SD Card, the Memory Stick, the xD Picture
Card), can be inserted in the PC Card slot. To enable this function, set “1” in PCI-CardBus Bridge
Configuration register B7 [0]. (Internal Bay Mode)
Set PCI-CardBus Bridge Configuration register A0 [14] to “1” in order to use the External BAY
function. (*External Bay Mode)
You can also set these registers by using Serial ROM.
*To use the External Bay Mode, you also need to wire the 6 pins of Pin Name 1 to the 6 pins
of Pin Name 2 respectively.
USBDP
USBDM
IORD
IOWR
22
VCC3EN
Power
S/W
Pin Name 1 Pin Name 2
CE2# MDIO08
WE# MDIO09
CADR0 MDIO10
CADR1 MDIO11
CADR2 MDIO12
CADR3 MDIO13
USBD+
USBD-
CPUSB#
+3V
ExpressCard
12345 2004 REV.1.104-28
Page 54
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
5 ELECTRICAL CHARACTERISTICS
5.1 Absolute Maximum Rating
Symbol Parameter Range Unit Condition Note
Vcc 1 Supply Voltage Range 1 -0.3 ~ 2.5 V GND=0V 1
Vcc 2 Supply Voltage Range 2 -0.3 ~ 4.6 V GND=0V 2
Vte1 Voltage on Any Pin -0.3 ~ 5.8 V GND=0V 4
Vte2 Voltage on Any Pin -0.3 ~ 4.6 V GND=0V
Topr Ambient Temperature under bias -40 ~ 85 ºC
Tstg Storage Temperature Range -55 ~ 125 ºC
ESD1 Human Body Model
ESD2 Charged Device Model
LATUP Latch-up
±2.0
±1.0
±100
kV
kV
mA 5ms 3
Note 1: Applied for VCC_ROUT.
Note 2: Applied for VCC_RIN, VCC_3V, VCC_PCI3V and VCC_MD3V and AVCC_PHY3V.
Note 3: The clamping voltage of the trigger pulse power source should be below a value of Vte.
Note 4: Applied for all of Digital pins
Note: Stresses above those listed may cause permanent damage to system components. These are stress
ratings only. Functional operation at these or any conditions above those indicated in the operational
sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended
periods may affect system reliability.
C=100pF
R=1.5kΩ
5.2 DC Characteristics
5.2.1 Recommended Operating Conditions for Power Supply
Power Pin Parameter Min Typ Max Unit Note
VCC_PCI3V Supply Voltage for PCI interface
VCC_RIN Supply Voltage for Regulator 3.0 3.3 3.6 V
VCC_RIN,
VCC_ROUT
VCC_3V Supply Voltage for System and
VCC_MD3V Supply Voltage for Media interface
AVCC_PHY3V Supply Voltage for Cable interface
(3.3V Operation)
Supply Voltage for Core Logic
(Disabled regulator: 1.8V Operation)
Card Interface Signals
block
block
3.0 3.3 3.6 V
1.65 1.8 1.95 V
3.0 3.3 3.6 V
3.0 3.3 3.6 V
3.0 3.3 3.6 V
12345 2004REV. 1.105-1
Page 55
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ExpressCard Data Sheet
5.2.2 PCI Interface
For 3.3V signaling
(VCC_ROUT= 1.65~1.95V, VCC_PCI3V=3.0~3.6V, Ta=0~70ºC)
t BUFBus free time between a STOP and START condition 4.7 - us
t HD;STAHold time (repeated) START condition. After this
period, the first clock pulse is generated
t LOWLOW period of the SCL clock 4.7 - us
t HIGHHIGH period of the SCL clock 4.0 - us
t SU;STASet–up time for a repeated START condition 4.7 - us
t HD;DATData hold time for I 2 C–bus devices 0 us
t SU;DATData set–up time 250 - ns
t RRise time of both SDA and SCL signals - 1000 ns
t FFall time of both SDA and SCL signals - 300 ns
t SU;STOSet–up time for STOP condition 4.0 - us
t sp Pulse width of spikes which must be suppressed by
the input filter
C bCapacitive load for each bus line - 400 pF
All values referred to V IHmin and V ILmax levels (see 5.2.11).
4.0 - us
n/a n/a ns
Serial ROM if SDA,SCL timing
SDA(UDIO4)
t
BUF
SCL(UDIO3)
t
t
HIGH
F
t
HD;STA
t
SU;STA
t
SU;DAT
SrP
t
t
LOW
t
S P
HD;STA
R
t
HD;DAT
t
SP
t
SU;STO
12345 2004REV. 1.105-17
Page 71
Page 72
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ ExpressCard Data Sheet
NOTICE
1. The products and the product specifications described in this Data Sheet are subject to change or
discontinuation of production without notice for reasons such as improvement. Therefore, before
deciding to use the products, please refer to Ricoh sales representatives for the latest information
thereon.
2. This Data Sheet may not be copied or otherwise reproduced in whole or in part without prior written
consent of Ricoh.
3. Please be sure to take any necessary formalities under relevant laws or regulations before exporting
or otherwise taking out of your country the products or the technical information described herein.
4. The technical information described in this Data Sheet shows typical characteristics of and example
application circuits for the products. The release of such information is not to be construed as a
warranty of or a grant of license under Ricoh’s or any third party’s intellectual property rights or any
other rights.
5. The products listed in this Data Sheet are intended and designed for use as general electronic
components in standard applications (office equipment, computer equipment, measuring
instruments, consumer electronic products, amusement equipment etc.). Those customers intending
to use a product in an application requiring extreme quality and reliability, for example, in a highly
specific application where the failure or miss-operation of the product could result in human injury or
death (aircraft, spacevehicle, nuclear reactor control system, traffic control system, automotive and
transportation equipment, combustion equipment, safety devices, life support system etc.) should
first contact us.
6. We are making our continuous effort to improve the quality and reliability of our products, but
semiconductor products are likely to fail with certain probability. In order prevent any injury to
persons or damages to property resulting from such failure, customers should be careful enough to
incorporate safety measures in their design, such as redundancy feature, fire-containment feature,
and fail-safe feature. We do not assume any liability or responsibility for any loss or damage arising
from misuse or inappropriate use of the products.
7. Anti-radiation design is not implemented in the products described in this Data Sheet.
8. Please contact Ricoh sales representatives should you have any questions or comments concerning
the products or the technical information.
12345
2004 REV.1.10
Page 73
R5C841 PCI-CardBus/IEEE 1394/SD Card/Memory Stick/xD/ ExpressCard Data Sheet
RICOH Company, Ltd.
Electronic Devices Company
■ Head Office
13-1, Himemurocho, Ikeda-shi, Osaka 563-8501 JAPAN
Phone: +81-72-748-6262, Fax: +81-72-753-2120
■ Yokohama Office
3-2-3, Shinyokohama, Kouhoku-ku, Yokohama-shi,
Kanagawa 222-8530 JAPAN
Phone: +81-45-477-1703, Fax: +81-45-477-1694
RICOH CORPORATION
Electronic Devices Division
■ Cupertino Office
4 Results Way, Cupertino, CA, 95014 USA
Phone: 408-346-4463
12345
2004 REV.1.10
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.