44
SiFive E300 Platform Reference Manual, Version 1.0.1
Value
Name
Description
0
AUTO
Assert/de-assert CS at the beginning/end of each frame
2
HOLD
Keep CS continuously asserted after the initial frame
3
OFF
Disable hardware control of the CS pin
Table 13.4: Chip select modes.
Delay Control Registers (
delay0
and
delay1
)
The
delay0
and
delay1
registers allow for the insertion of arbitrary delays specified in units of one
SCK period.
The
cssck
field specifies the delay between the assertion of CS and the first leading edge of SCK.
When
sckmode
.
pha
= 0
, an additional half-period delay is implicit. The reset value is
0x01
.
The
sckcs
field specifies the delay between the last trailing edge of SCK and the de-assertion of
CS. When
sckmode
.
pha
= 1
, an additional half-period delay is implicit. The reset value is
0x01
.
The
intercs
field specifies the minimum CS inactive time between de-assertion and assertion.
The reset value is
0x01
.
The
interxfr
field specifies the delay between two consecutive frames without de-asserting CS.
This is applicable only when
sckmode
is HOLD or OFF. The reset value is
0x00
.
R
es
er
ve
d
31
24
sckcs
23
16
R
es
er
ve
d
15
8
cssck
7
0
Figure 13.6: Format of
delay0
register.
R
es
er
ve
d
31
24
interxfr
23
16
R
es
er
ve
d
15
8
intercs
7
0
Figure 13.7: Format of
delay1
register.
Frame Format Register (
fmt
)
The
fmt
register defines the frame format for transfers initiated through the programmed-I/O (FIFO)
interface. Tables 13.5, 13.6, and 13.7 describe the
proto
,
endian
, and
dir
fields, respectively. The
len
field defines the number of bits per frame, where the allowed range is 0 to 8 inclusive.
The reset value is 0x80000, corresponding to
proto
= single,
dir
= Rx,
endian
= MSB, and
len
= 8
.
Summary of Contents for E300
Page 1: ...SiFive E300 Platform Reference Manual Version 1 0 1 c SiFive Inc ...
Page 2: ...2 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 4: ...ii SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 12: ...4 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 14: ...6 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 22: ...14 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 32: ...24 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 40: ...32 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 56: ...48 SiFive E300 Platform Reference Manual Version 1 0 1 ...
Page 60: ...52 SiFive E300 Platform Reference Manual Version 1 0 1 ...