English
Language : 

EP7209 Datasheet, PDF (31/128 Pages) Cirrus Logic – Ultra-Low-Power Audio Decoder System-on-Chip
EP7209
3.8 CL-PS6700 PC Card Controller
Interface
Two of the expansion memory areas are dedicated
to supporting up to two CL-PS6700 PC Card con-
troller devices. These are selected by nCS4 and
nCS5 (once enabled by bits 5 and 6 of SYSCON2).
For efficient, low power operation, both address
and data are carried on the lower 16 bits of the
EP7209 data bus. Accesses are initiated by a write
or read from the area of memory allocated for nCS4
or nCS5. The memory map within each of these ar-
eas is segmented to allow different types of PC
Card accesses to take place, for attribute, I/O, and
common memory space. The CL-PS6700 internal
registers are memory mapped within the address
space as shown in Table 15.
NOTE:
It must be noted that, due to the operating
speed of the CL-PS6700, this interface is
supported only for processor speeds of
13 and 18 MHz.
A complete description of the protocol and AC tim-
ing characteristics can be found in the CL-PS6700
data sheet. A transaction is initiated by an access to
the nCS4 or nCS5 area. The chip select is asserted,
and on the first clock, the upper 10 bits of the PC
Card address, along with 6 bits of size, space, and
slot information are put out onto the lower 16 bits
of the EP7209’s data bus. Only word (i.e., 4-byte)
and single-byte accesses are supported, and the slot
field is hardcoded to 11, since the slot field is de-
fined as a ‘Reserved field’ by the CL-PS6700. The
chip selects are used to select the device to be ac-
cessed. The space field is made directly from the
A26 and A27 CPU address bits, according to the
decode shown in Table 16. The size field is forced
to 11 if a word access is required, or to 00 if a byte
access is required. This avoids the need to config-
ure the interface after a reset. On the second clock
cycle, the remaining 16 bits of the PC Card address
are multiplexed out onto the lower 16 bits of the
data bus. If the transaction selected is a CL-PS6700
register transaction, or a write to the PC Card (as-
suming there is space available in the CL-PS6700’s
internal write buffer) then the access will continue
on the following two clock cycles. During these
following two clock cycles the upper and lower
halves of the word to be read or written will be put
onto the lower 16 bits of the main data bus.
The ‘ptype’ signal on the CL-PS6700s should be
connected to the EP7209’s WRITE output pin.
During PC Card accesses, the polarity of this pin
changes and it becomes low to signify a write and
high to signify a read. It is valid with the first half
word of the address. During the second half word
of the address it is always forced high to indicate to
the CL-PS6700 that the EP7209 has initiated either
the write or read.
The PRDY signals from each of the two CL-
PS6700 devices are connected to Port B bits 0 and
1, respectively. When the PC CARD1 or PC
CARD2 control bits in the SYSCON2 register are
Access Type
Attribute
I/O
Common memory
CL-PS6700 registers
Addresses for CL-PS6700 Interface 1
0x40000000–0x43FFFFFF
0x44000000–0x47FFFFFF
0x48000000–0x4BFFFFFF
0x4C000000–0x4FFFFFFF
Addresses for CL-PS6700 Interface 2
0x50000000– 0x53FFFFFF
0x54000000–0x57FFFFFF
0x58000000–0x5BFFFFFF
0x5C000000–0x5FFFFFFF
Table 15. CL-PS6700 Memory Map
DS453PP2
31