User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 156
R
R
S
S
9
9
1
1
1
1
0
0
-
-
N
N
-
-
1
1
1
1
-
-
2
2
2
2
/
/
2
2
4
4
/
/
2
2
8
8
S
S
o
o
f
f
t
t
w
w
a
a
r
r
e
e
P
P
r
r
o
o
g
g
r
r
a
a
m
m
m
m
i
i
n
n
g
g
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
M
M
a
a
n
n
u
u
a
a
l
l
V
V
e
e
r
r
s
s
i
i
o
o
n
n
4
4
.
.
1
1
5
5
Figure 33: Process for Reading Data
Interrupt
received?
Read
SPI_INTR_HOST
register
Bit[3] = 1?
Confirmed that it is
a data pending
interrupt
Do Frame Read to
read 16 byte
descriptor from
module
W7[7:0] =
0x02?
Confirmed that this is a data
frame (Data Frames (TCP/IP
Commands) (Frame Write) ). Use
w0[11:0] as length of expected
payload and do a slave read
accordingly.
Check codes in Data
Frame Based Response
Codes (sent from module
to host) and read
data/response accordingly
yes
No
Continue normal
operations
Yes
Confirmed that it
is not a data
pending interrupt
No
Confirmed that it is
the response to a
management
frame.
W7[7:0] =
0x04?
Yes
Spurious
interrupt
Yes
No
Use W0[7:0] or W4 (according
to Frame Descriptor for
Management/Data Frames in SPI
mode) as length to do a slave
read