Datasheet

2006-2012 Microchip Technology Inc. . DS39662E-page 25
ENC28J60
4.0 SERIAL PERIPHERAL
INTERFACE (SPI)
4.1 Overview
The ENC28J60 is designed to interface directly with the
Serial Peripheral Interface (SPI) port available on many
microcontrollers. The implementation used on this
device supports SPI mode 0,0 only. In addition, the SPI
port requires that SCK be at Idle in a low state;
selectable clock polarity is not supported.
Commands and data are sent to the device via the SI
pin, with data being clocked in on the rising edge of
SCK. Data is driven out by the ENC28J60 on the SO
line, on the falling edge of SCK. The CS
pin must be
held low while any operation is performed and returned
high when finished.
FIGURE 4-1: SPI INPUT TIMING
FIGURE 4-2: SPI OUTPUT TIMING
CS
SCK
SI
SO
LSb In
MSb In
High-Impedance State
CS
SCK
SO
MSb Out
LSb Out
Don’t Care
SI