GR740-UM-DS, Nov 2017, Version 1.7
332
www.cobham.com/gaisler
GR740
24.3.1 Capability register
Table 420.
0x00 - CAP - Capability register
24.3.2 Mode register
31
24 23
20 19 18 17 16 15
8
7
6
5
4
0
SSSZ
MAXWLEN
T
W
E
N
A
M
O
D
E
A
S
E
L
A
S
S
E
N
FDEPTH
SR
FT
REV
2
0
1
0
1
1
4
1
0
0x5
r
r
r
r
r
r
r
r
r
r
31: 24
Slave Select register size (SSSZ) -This field contains the number of available signals: 2.
23: 20
Maximum word Length (MAXWLEN) - The maximum word length supported by the core:
0b0000 is 4-16, and 32-bit word length.
19
Three-wire mode Enable (TWEN) - ‘1’, the core supports three-wire mode.
18
Auto mode (AMODE) - ‘0’
17
Automatic slave select available (ASELA) - ‘1’, core has support for setting slave select signals
automatically.
16
Slave Select Enable (SSEN) - ‘1’, the core has a slave select register.
15: 8
FIFO depth (FDEPTH) - This field contains the depth (4) of the core’s internal FIFOs. The number
of words the core can store in each queue is 1, since the transmit and receive registers can
contain one word each.
7
SYNCRAM (SR) - ‘1’, signals type of internal buffers. No impact for software.
6: 5
Fault-tolerance (FT) - “00”, internal buffers is implemented with radiation hardended flip-flops.
4: 0
Core revision (REV) - Core has revision 5.
Table 421.
0x20 - MODE - Mode register
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
R
L
O
O
P
C
P
O
L
C
P
H
A
D
I
V
1
6
R
E
V
M
S
E
N
LEN
PM
T
W
E
N
A
S
E
L
F
A
C
T
O
D
CG
A
S
E
L
D
E
L
T
A
C
T
T
O
I
G
S
E
L
C
I
T
E
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
r
rw rw rw rw rw rw rw
rw
rw
rw rw rw rw
rw
rw
rw rw rw rw
r
31
RESERVED
30
Loop mode (LOOP) - When this bit is set, and the core is enabled, the core’s transmitter and receiver
are interconnected and the core will operate in loopback mode. The core will still detect, and will be
disabled, on Multiple-master errors.
29
Clock polarity (CPOL) - Determines the polarity (idle state) of the SCK clock.
28
Clock phase (CPHA) - When CPHA is ‘0’ data will be read on the first transition of SCK. When
CPHA is ‘1’ data will be read on the second transition of SCK.
27
Divide by 16 (DIV16) - Divide system clock by 16, see description of PM field below and see sec-
tion 24.2.4 on clock generation. This bit has no significance in slave mode.
26
Reverse data (REV) - When this bit is ‘0’ data is transmitted LSB first, when this bit is ‘1’ data is
transmitted MSB first. This bit affects the layout of the transmit and receive registers.
25
Master/Slave (MS) - When this bit is set to ‘1’ the core will act as a master, when this bit is set to ‘0’
the core will operate in slave mode.
24
Enable core (EN) - When this bit is set to ‘1’ the core is enabled. No fields in the mode register
should be changed while the core is enabled. This can bit can be set to ‘0’ by software, or by the core
if a multiple-master error occurs.