User guide

Redpine Signals, Inc. Proprietary and Confidential. Page 166
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 36: Transmitting Data
4.11.2 Receive data
Description
This process is used to receive data, by the Host, from the module. When data is to
be sent by module to the Host, it raises an interrupt to the Host. The actions at the
Host side are shown below.
The description for the frame descriptor while receiving data from module to Host is
explained below:
Word
Data Frame
Descriptor
Word0
W0[15:0]
Bits [11:0]
Number of bytes
to be sent
Bits [15:12] -
Ignore this bits
Tx routine
called
Query buffer
status( Interrupt
Status Register
Bit[0]
Send
descriptor
(Slave write)
Return
buffer
full
Send data (Slave write)
C1 = 0x7C, C2=0x42, C3=0x10, C4=0x00,
W0[11:0] = Length of data to be sent
W1,W2,W3,W4,W5,W6,=0x00
W7 = 0x0002
C1 (0x7C), C2 (0x42), C3, C4, Data Stream
C3 = Length of data[7:0]
C4= Length of data[15:8]