CYD01S18V/CYD02S18V
CYD04S18V/CYD09S18V
Document #: 38-06077 Rev. *C Page 5 of 26
Master Reset
The FLEx18 family devices undergo a complete reset by
taking its MRST input LOW. The MRST input can switch
asynchronously to the clocks. The MRST initializes the
internal burst counters to zero, and the counter mask registers
to all ones (completely unmasked). The MRST also forces the
Mailbox Interrupt (INT) flags and the Counter Interrupt
(CNTINT) flags HIGH. The MRST must be performed on the
FLEx18 family devices after power-up.
Mailbox Interrupts
The upper two memory locations may be used for message
passing and permit communications between ports. Table
shows the interrupt operation for both ports of CYD09S18V.
The highest memory location, 7FFFF is the mailbox for the
right port and 7FFFE is the mailbox for the left port. Table
shows that in order to set the INTR flag, a Write opera tion by
the left port to address 7FFFF will assert INTR LOW. At least
one byte has to be acti ve fo r a Write to generate an interrupt.
A valid Read of the 7FFFF locati on by th e right p ort will reset
INTR HIGH. At least one byte has to be active in order for a
Read to reset the interrupt. When one port Writes to the other
port’s mailbox, the INT of the port that the mailbox belongs to
is asserted LOW . The INT is reset when the owner (port) of the
mailbox Reads th e con tents of the mail box. T he inte rrupt flag
is set in a flow-thru mode (i.e., it follows the clock edge of the
writing port). Also, the flag is reset in a flow-thru mode (i.e., it
follows the clock edge of the reading port).
Each port can read the other po rt’s mailbox without resetting
the interrupt. And each port can write to its own mailbox
without setting the interrupt. If an application does not require
message passing, INT pins should be left open.
Address Counter and Mask Register
Operations
This section describes the features only apply to 1-Mbit,
2-Mbit, and 4-Mbit devices. It does not apply to a 9-Mbit
device. Each port of these devices has a programmable burst
address counter . The burst counter contains three registers: a
counter register, a mask register, and a mirror register.[17]
The counter register contains the address used to access the
RAM array . It is changed only by the Counter Load, Increment,
Counter Reset, and by master reset (MRST) operations.
The mask register value affects the Increment and Counter
Reset operations by preventing the corresponding bits of the
counter register from changing. It also affects the counter
interrupt output (CNTINT). The mask register is changed only
by the Mask Load and Mask Reset operations, and by the
MRST. The mask register defines the counting range of the
counter register. It divides the counter register into two
regions: zero or more “0s” in the most significant bits define
the masked region, one or more “1s” in the least significant bits
define the unmasked region. Bit 0 may also be “0,” masking
the least significant counter bit and causing the counter to
increment by two instead of one.
The mirror register is used to reload the counter register on
increment operations (see “retransmit,” below). It always
contains the value last loaded into the counter register , and is
changed only by the Counter Load, and Counter Reset opera-
tions, and by the MRST.
Table 3 summarizes the operation of these registers and the
required input control signals. The MRST control signal is
asynchronous. All the other control signals in Table 3
(CNT/MSK, CNTRST, ADS, CNTEN) are synchronized to the
port’s CLK. All these counter and mask operations are
independent of the port’s chip enable inputs (CE0 and CE1).
VSS Ground In puts.
VCORE[12] Core Power Supply.
VTTL LVTTL Power Supply.
Pin Definitions (continued)
Lef t Port Right Port Description
Table 2. Interrupt Operatio n Example [1, 13, 14, 15, 16]
Function
Lef t Port Right Port
R/WLCELA0L–18LINTLR/WRCERA0R–18R INTR
Set Right INTR Flag L L 7FFFF X X X X L
Reset Right INTR Flag X X X X H L 7FFFF H
Set Left INTL Flag X X X L L L 7FFFE X
Reset Left INTL Flag H L 7FFFE H X X X X
Notes:
12.This family of Dual -Ports does not use V CORE, and th ese pi ns are intern ally NC. The next gener a tion Dua l-Por t fa mily, the FLEx18- E™, wil l use VCORE of 1.5V
or 1.8V. Please contact local Cypress FAE for more information.
13.CE is internal signal. CE = LOW if CE0 = LOW and CE1 = HIGH. For a single Read operati on, CE only needs t o be asserted once at th e rising edge of the CLK
and can be deasserted after that. Data will be out after the f ollowing CLK edge and will be three-stated after the next CLK edge.
14.OE is “Don’t Care” for mailbox operation.
15.At least one of BE0, BE1 must be LOW.
16.A18x is a NC for CYD04S18V , therefore the Interrupt Addresses are 3FFFF and 3FFFE. A18x and A17x are NC for CYD02S18V , therefore the Interrupt addresses
are 1FFFF and 1FFFE; A18x, A17x and A16x are NC for CYD01S18V, therefore the Interrupt Addresses are FFFF and FFFE.
17.This section describes the CYD04S18V, CYD02S18V, CYD01S18V 18, 17, and 16 address bits .