Sunday, September 6, 2009

SPI Guide

SPI is one of the popular interfaces for embedded systems. Since SPI supports full duplex mode as oppose to I2C , it is a very attractive interface. Also, this interface uses four wires only (MOSI, MISO, Chip select and a reference clock) Because SPI doesn't need any special protocol to use it, it's actually a very simple interface and easy to use.

Currently, only our W3150A+ and W5100 support the SPI interface. Our chipsets run in SPI slave mode 0.

In order to use our chip via SPI, you should connect our chip by using the following schematic.

Be sure that the SEN pin is connected to the source. If you are using multiple SPI peripherals, you should use an inverter to invert the /SCS signal. Then, the inverted signal should be feed to the SEN pin to avoid any problems with other SPI devices. The following schematic is for multiple SPI peripherals.

This is the basic connection for the SPI interface. I hope you enjoy! Thank you



No comments:

Post a Comment