5.0 Functional Description (Continued)
D7 D6 D5 D4 D3 D2 D1 D0
Unused Unused Unused Unused FCLKEN DIV PPOL PCNTL
FCLKENÐIf set, these enable the FCLK pin to receive a
clock out. If clear, FCLK will be forced low. These are set
and cleared by software if desired or statically loaded upon
card power up from the EEPROM.
DIVÐIf set, the respective clock output from FCLK will be
divided by 32 from the input clocks MCLK. If clear, the clock
output FCLK will equal the respective clock input MCLK.
These are set and cleared by software if desired or statically
loaded upon card power up from the EEPROM.
PPOLÐSets the active polarity of the PCNTL signal such
that the function is asserted. If PPOL is set to zero (0),
PCNTL is asserted when in the high state. If set to one (1),
PCNTL is asserted when in the low state. The default is set
to zero (0), i.e. PCNTL defaults to active high.
PCNTLÐThis bit controls the PCNTL Pin. If hardware power management is not selected in the Function Configuration Option Register’s Function Configuration Index, then
this bit may be used as an output signal by software for
general purposes. If the hardware power management configuration is selected, this bit is de-asserted (defined by
PPOL) when the PCM16C010’s CTERM counter expires.
This bit will be asserted if a transaction occurs to the function through an I/O window or the function requests service
by issuing a RIÐIN( ). In either strategy, software may always write and read back these bits. This bit defaults to zero
(0) during power-on until the PMGR and Clock Register can
be loaded from the EEPROM.
UnusedÐThese bits are not used for operation of the
PCM16C010. These bits must be set to zero (0) in the CIS
for initialization and must not be changed from zero (0) to
insure proper operation of the card.
CTERM Register
[
0x03E8
]
This register is used to define the value of the function’s
power time-out counter. If the function’s power time-out
counter expires, the PCNTL bit for the function in the PMGR
and Clock Register is de-asserted. This will occur if a function is in-active long enough for it’s power time-out counter
to expire. Active is defined as having either an I/O access
from the host or receiving a RIÐIN( )
Ý
. Devices that may
operate for long periods of time without a host I/O access
should follow a software controlled power management
strategy that uses the PwrDn bits in the Function Configuration Status Register.
D7–D0
NeTime-Out Counter Terminal Count Value
The function’s terminal counter is 8 bits wide and counts at
a rate of MCLK(0)/(2
17
). For example, if the MCLK frequency is 30 MHz the device can be programmed to time-out
between 0.0s to 1.114s. The general formula is:
Time
e
(1/mclk) * 217* N,
where NeÀ0, 1, 2, . . . , 255
Ó
For a 5 MHz MCLK frequency, the equation is:
TimeeN (26.2144 ms) where NeÀ0,1,2, . . . ,255
Ó
Note: A value of zero implies the function is powered down.
Miscellaneous Register
[
0x03F0
]
D7 D6 D5 D4 –D0
FastEE RFU RFU EEPROMStartAddr
FastEEÐIf this bit is set to one (1), then the clock used to
access the EEPROM shall be MCLK/2. If this bit is set to
zero (0), the clock used to access the EEPROM shall be
MCLK/32.
EEPROMStartAddrÐThis field contains a starting address
for EEPROM read or write access. This is ordinarily set to
zero and is used for debug/test purposes.
Wait State Timer Register
[
0x03F6
]
This register allows the insertion of default wait states from
the PCM16C010 using HWAIT
Ý
. It is intended to be used in
situations where either the function is too slow to respond
with a CWAIT or the unique wait timing constraints between
the system and PC Card design necessitate a default wait
state.
D7–D4 D3–D2 D1–D0
Reserved Unused Func0Wait
Func0WaitÐThis value is the number (0, 1, 2, or 3) of
MCLK time periods that the PCM16C010 will assert
HWAIT
Ý
during a valid access to a particular function. For
Zero wait states, program this value to 00b.
NAND Flash (NM29N16) Configuration Register[0x03F8
]
D7–D4 D3 D2 D1 D0
Reserved memÐioÐspace NANDÐIOCS16 BC NANDÐEN
memÐioÐspaceÐMemÐioÐspace selects whether
NAND Read/Write strobes are generated by accesses to
common memory space or I/O space. When Function 0 is
configured for NAND Flash (NM29N16) Mode, if memÐio
Ð
space is set to 0, NAND (NM29N16) Read/Write strobes
are generated by an I/O access to the function 0 base address
a
4. If memÐioÐspace is set to 1, Read/Write
strobes are generated by any read/write access to common
memory.
NANDÐIOCS16ÐWhen the Function is configured for
NAND Flash (NM29N16) Mode, D2 replaces the external
pin IOCS16
Ý
to allow the host to know if the NAND
(NM29N16) is organized for 8- or 16-bit accesses. If the
Function is NOT configured for NAND Flash (NM29N16)
Mode, the bit performs no function. This register gets downloaded during EEPROM reads.
BCÐIf set to zero (0), PCM16C010 will assert only one of
the four external CE
Ý
pins at a time, (based on the value of
bits D0 and D1 in the Device Select Register), allowing up to
four unique enable control lines. If set to one (1),
PCM16C010 will place on the external CE
Ý
lines the exact
binary number placed in bits D0 – D3 of the Device Select
Register. This will allow external decoding to produce up to
15 unique CE
Ý
control lines which can control up to 30
pairs of NAND Flash (NM29N16) devices. (Reference table
in Section 5.4.4 for details.)
http://www.national.com 10