USR-WIFI232-G2 SPI Interface User Manual
http://en.usr.cn
Jinan USR IOT Technology Limited
Page 2 of 3
1
、
Function Description
The USR-WIFI232-G2 module supports SPI data communication mode, the module
connect with SPI device via 5 pin, using interrupt trigger level to support different clock
polarity and phase four transmission modes, up to 6MHz rate.
1.1 Hardware connect
In SPI communication mode, the module operates in master mode, the connection
circuit as following.
Module SPI pins description:
SPI pins
WIFI232-G2
Module pin index
Function description
MOSI
Pin 30
SPI data out pin
MISO
Pin 27
SPI data in pin
CLK
Pin 28
SPI clock signal pin
CS
Pin 29
SPI select pins
INTR_I
Pin 23
SPI interrupt input pin, if the data
needs to be sent from the slave
device to the master device, the
slave device need to sends an
interrupt
to
the
master
device
through the INTR pin.
Low effective.
Master device read data from slave
device when INTR pin is low, and
stop read data when INTR pin is
high.