Datasheet

2010 Microchip Technology Inc. DS39935C-page 13
ENC424J600/624J600
2.6 INT Pin
The INT pin is an active-low signal that is used to flag
interrupt events to external devices. Depending on the
application, it can be used to signal the host micro-
controller whenever a packet has been received or
transmitted, or that some other asynchronous
operation has occurred. It can also be used to wake-up
the microcontroller or other system components based
on LAN activity; its use is optional.
The INT
pin is driven high when no interrupt is pending
and is driven low when an interrupt has occurred. It
does not go into a high-impedance state, except during
initial power-on while the multiplexed SPISEL pin
function is being used.
Since ENC424J600/624J600 devices incorporate a
buffer for storing transmit and receive packets, the host
microcontroller never needs to perform real-time
operations on the device. The microcontroller can poll
the device registers to discover if the device status has
changed.
2.7 Host Interface Pins
For the maximum degree of flexibility in interfacing with
microcontrollers, ENC424J600/624J600 devices offer
a choice between a serial interface based on the Serial
Peripheral Interface (SPI) standard, and a flexible 8 or
16-bit parallel slave port (PSP) interface. Only one
interface may be used at any given time.
The I/O interface is hardware selected on power-up
using the SPISEL function on the INT
/SPISEL pin. This
is done by latching in the voltage level applied to the pin
approximately 1 to 10 s after power is applied to the
device and the device exits Power-on Reset. If SPISEL
is latched at a logic high state, the serial interface is
enabled. If SPISEL is latched at a logic low state, the
PSP interface is enabled. Figure 2-9 shows example
connections required to select the SPI or PSP interface
upon power-up.
To ensure the SPI interface is selected upon power-up,
an external pull-up resistor to V
DD must be connected
to the SPISEL pin. Alternatively, if the parallel interface
is to be used, a pull-down resistor to V
SS must be
connected to the SPISEL pin. In most circuits, it is rec-
ommended that a 100 k or smaller resistor be used to
ensure that the correct logic level is latched in reliably.
If a large capacitance is present in the SPISEL circuit,
such as from stray capacitance, a smaller pull-up or
pull-down resistor may be required to compensate and
ensure the correct level is sensed during power-up.
As SPISEL is multiplexed with the INT
interrupt output
function, a direct connection to V
DD or VSS without a
resistor is prohibited. If INT
is connected to the host
microcontroller, the microcontroller must leave this
signal in a high-impedance state and not attempt to
drive it to an incorrect logic state during power-up.
If the V
DD supply has a slow ramp rate, the device will
exit POR, exceed the 1 to 10 s latch timer and sample
the SPISEL pin state before VDD has reached the spec-
ified minimum operating voltage of the device. In this
case, the device will still latch in the correct value,
assuming the minimum V
IH (D004) or maximum VIL
(D006) specification is met, which is a function of VDD.
FIGURE 2-9: USING THE INT/SPISEL PIN TO SELECT THE I/O INTERFACE
I/O
SCK
SDO
SDI
INT0
MCU
CS
SCK
SI
SO
INT
/SPISEL
ENCX24J600
3.3V
100
k
PMALL
PMCS2
RMRD
PMWR
INT0
MCU
AL
CS
RD
WR
INT
/SPISEL
ENCX24J600
ADx
PMAx/PMDx
100
k
SPI Selected PSP Selected (Mode 5 shown)
~2.2V
VSS
(internal weak pull-up on CS enabled) (internal weak pull-down on CS enabled)