Value
Name
Description
0
AUTO
Assert/deassert 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
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
0x1
.
The
sckcs
field specifies the delay between the last trailing edge of SCK and the deassertion of
CS. When
sckmode.pha
= 1, an additional half-period delay is implicit. The reset value is
0x1
.
The
intercs
field specifies the minimum CS inactive time between deassertion and assertion.
The reset value is
0x1
.
The
interxfr
field specifies the delay between two consecutive frames without deasserting
CS. This is applicable only when
sckmode
is HOLD or OFF. The reset value is
0x0
.
Delay Control Register 0 (
delay0
)
Register Offset
0x28
Bits
Field Name
Attr.
Rst.
Description
[7:0]
cssck
RW
0x1
CS to SCK Delay
[15:8]
Reserved
[23:16]
sckcs
RW
0x1
SCK to CS Delay
[31:24]
Reserved
Delay Control Register 1 (
delay1
)
Register Offset
0x2C
Table 72:
Chip Select Modes
Table 73:
Delay Control Register 0
Table 74:
Delay Control Register 1
Chapter 18 Serial Peripheral Interface (SPI)
FE310-G003 Manual
© SiFive, Inc.
Page 92
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...