The
sckmode
register defines the serial clock polarity and phase. Table 67 and Table 68
describe the behavior of the
pol
and
pha
fields, respectively. The reset value of
sckmode
is
0
.
Serial Clock Mode Register (
sckmode
)
Register Offset
0x4
Bits
Field Name
Attr.
Rst.
Description
0
pha
RW
0x0
Serial clock phase
1
pol
RW
0x0
Serial clock polarity
[31:2]
Reserved
Value
Description
0
Inactive state of SCK is logical 0
1
Inactive state of SCK is logical 1
Value
Description
0
Data is sampled on the leading edge of SCK and shifted on the trailing edge of SCK
1
Data is shifted on the leading edge of SCK and sampled on the trailing edge of SCK
The
csid
is a
-bit register that encodes the index of the CS pin to be toggled
by hardware chip select control. The reset value is
0x0
.
Chip Select ID Register (
csid
)
Register Offset
0x10
Bits
Field Name
Attr.
Rst.
Description
Table 66:
Serial Clock Mode Register
Table 67:
Serial Clock Polarity
Table 68:
Serial Clock Phase
Table 69:
Chip Select ID Register
Chapter 18 Serial Peripheral Interface (SPI)
FE310-G003 Manual
© SiFive, Inc.
Page 90
Содержание FE310-G003
Страница 1: ...SiFive FE310 G003 Manual v1p1 SiFive Inc ...