Datasheet

KSZ8863MLL/FLL/RLL
DS00002335B-page 32 2017 Microchip Technology Inc.
2. Enable SPI Slave mode by setting the KSZ8863MLL/FLL/RLL strap-in pins P2LED [1:0] to “10”.
3. Power up the board and assert reset to KSZ8863MLL/FLL/RLL.
4. Configure the desired register settings in KSZ8863MLL/FLL/RLL using the SPI write or multiple write command.
5. Read back and verify the register settings in KSZ8863MLL/FLL/RLL using the SPI read or multiple read com-
mand.
Some of the configuration settings, such as “Aging Enable,” “Auto Negotiation Enable,” “Force Speed,” and “Power
Down,” can be programmed after the switch has been started.
Figure 3-9, Figure 3-10, Figure 3-11, and Figure 3-12 illustrate the SPI data cycles for “Write,” “Read,” “Multiple Write,”
and “Multiple Read.” The read data is registered out of SPIQ on the falling edge of SPIC, and the data input on SPID is
registered on the rising edge of SPIC.
TABLE 3-14: SPI CONNECTIONS
Pin Number Signal Name
External Processor Signal
Description
39 SPISN SPI Slave Select
36 SCL (SPIC) SPI Clock
37 SDA (SPID) SPI Data
(Master output Slave input)
38 SPIQ SPI Data
(Master input; Slave output)
FIGURE 3-9: SPI WRITE DATA CYCLE
FIGURE 3-10: SPI READ DATA CYCLE
SPIQ
SPIC
SPID
SPIS_N
00000010X A7 A6 A5 A4 A3 A2 A1
A0
WRITE COMMAND WRITE ADDRESS WRITE DATA
D2 D0D1D3D4D5D6D7
SPIQ
SPIC
SPID
SPIS_N
00000010X A7 A6 A5 A4 A3 A2 A1
A0
READ COMMAND READ ADDRESS READ DATA
D2 D0D1D3D4D5D6D7