KSZ8895MQ_12 MICREL [Micrel Semiconductor], KSZ8895MQ_12 Datasheet - Page 49

no-image

KSZ8895MQ_12

Manufacturer Part Number
KSZ8895MQ_12
Description
Integrated 5-Port 10/100 Managed Ethernet Switch with MII/RMII interface
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet
Micrel, Inc.
To use the KSZ8895MQ/RQ/FMQ SPI:
1. At the board level, connect KSZ8895MQ/RQ/FMQ pins as follows:
2. Set the input signals PS[1:0] (pins 113 and 114, respectively) to “10” to set the serial configuration to SPI slave
3. Power up the board and assert a reset signal. After reset wait 100µs, the start switch bit in Register 1 will be set
4. Write configuration to registers using a typical SPI write data cycle as shown in Figure 9 or SPI multiple write as
5. Registers can be read and configuration can be verified with a typical SPI read data cycle as shown in Figure 10
6. After configuration is written and verified, write a ‘1’ to Register 1 bit 0 to begin KSZ8895MQ/RQ/FMQ switch
March 2012
SPIS_N
SPIS_N
KSZ8895MQ/RQ/FMQ
SPIC
SPID
SPIQ
SPIC
SPID
SPIQ
mode.
to ‘0’. Configure the desired settings in the KSZ8895MQ/RQ/FMQ before setting the start register to ‘1.'
shown in Figure 11. Note that data input on SPID is registered on the rising edge of SPIC.
or a multiple read as shown in Figure 12. Note that read data is registered out of SPIQ on the falling edge of
SPIC.
operation.
Pin Number
112
110
111
109
X
X
0
0
0
READ COMMAND
0
KSZ8895MQ/RQ/FMQ
0
WRITE COMMAND
0
Signal Name
0
SPIS_N
0
SPIC
SPID
SPIQ
0
0
0
0
1
Figure 10. SPI Read Data Cycle
Figure 9. SPI Write Data Cycle
1
Table 10. SPI Connections
1
Microprocessor Signal Description
SPI Slave Select
SPI Clock
Master Out Slave Input
Master In Slave Output
0
A7 A6 A5 A4 A3 A2 A1 A0
A7 A6 A5 A4 A3 A2 A1 A0
READ ADDRESS
WRITE ADDRESS
49
D7
D7
D6
D6
READ DATA
D5
D5
KSZ8895MQ/RQ/FMQ
WRITE DATA
D4
D4
D3
D3
D2
M9999-032612-1.5
D2
D1
D1
D0
D0

Related parts for KSZ8895MQ_12