WIZ820io WIZnet, WIZ820io Datasheet - Page 6

no-image

WIZ820io

Manufacturer Part Number
WIZ820io
Description
Ethernet Modules W5200 & MAG JACK ioPLATFORM MODULE
Manufacturer
WIZnet
Datasheet

Specifications of WIZ820io

Rohs
yes
Product
Serial to Ethernet Modules
Operating Supply Voltage
3.3 V
Maximum Operating Temperature
+ 85 C
Dimensions
23 mm x 25 mm
Minimum Operating Temperature
- 40 C
3. Device SPI operations
WIZ820io is controlled by a set of instruction that is sent from a external host ,
commonly referred to as the SPI Master. The SPI Master communicates with
W5200 via the SPI bus, which is composed of four signal lines: Slave Chip Select
(nSS), Serial Clock (SCLK), MOSI (Master Out Slave In) and MISO (Master In
Slave Out).
The SPI protocol defines four modes for its operation (Mode 0-3). Each mode
differs according to the SCLK polarity and phase - how the polarity and phase
control the flow of data on the SPI bus. The W5200 operates as SPI Slave device
and supports the most common modes - SPI Mode 0 and 3.
The only difference between SPI Mode 0 and 3 is the polarity of the SCLK signal
at the inactive state. With SPI Mode 0 and 3, data is always latched in on the
rising edge of SCLK and always output on the falling edge of SCLK.
3.1 Process of using general SPI Master device
WIZ820io User Manual
1. Configure Input/Output direction on SPI Master Device pins.
2. Configure nSCS as ‘High’ on inactive
3. Write target address for transmission on SPDR register (SPI Data Register).
4. Write OP code and data length for transmission on SPDR register.
5. Write desired data for transmission on SPDR register.
6. Configure nSCS as ‘Low’ (data transfer start)
7. Wait for reception complete
8. If all data transmission ends, configure nSCS as ‘High’
(WIZnet Co., Ltd.)
< W5200 SPI Frame Format >
6

Related parts for WIZ820io