WIZ820io WIZnet, WIZ820io Datasheet - Page 8

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
< Read Sequence >
/* Pseudo Code for Read data of 8bit per packet */
#define
data_read_command
0x00
uint16 addr;
// Address : 16bits
int16 data_len;
// Data length :15bits
uint8 data_buf[];
// Array for data
SpiSendData();
// Send data from MCU to W5200
SpiRecvData();
// Receive data from W5200 to MCU
{
ISR_DISABLE();
// Interrupt Service Routine disable
CSoff();
// CS=0, SPI start
// SpiSendData
SpiSendData(((addr+idx) & 0xFF00) >> 8);
// Address byte 1
SpiSendData((addr+idx) & 0x00FF);
// Address byte 2
// Data write command + Data length upper 7bits
SpiSendData((data_read_command| ((data_len& 0x7F00) >> 8)));
// Data length bottom 8bits
SpiSendData((data_len& 0x00FF));
// Read data:On data_len> 1, Burst Read Processing Mode.
for(int idx = 0; idx<data_len; idx++)
{
8
(WIZnet Co., Ltd.)
WIZ820io User Manual

Related parts for WIZ820io