English
Language : 

CY7C67300_07 Datasheet, PDF (66/98 Pages) Cypress Semiconductor – EZ-Host™ Programmable Embedded USB Host and Peripheral Controller with Automotive AEC Grade Support
CY7C67300
SPI Configuration Register [0xC0C8] [R/W]
Figure 71. SPI Configuration Register
Bit #
Field
Read/Write
Default
15
3Wire
Enable
R/W
1
14
13
12
Phase
Select
SCK Polarity
Select
R/W
R/W
R/W
0
0
0
11
10
Scale Select
R/W
R/W
0
0
9
8
Reserved
R/W
-
0
0
Bit #
7
6
5
4
3
2
1
0
Field
Master
Active
Enable
Master
Enable
SS
Enable
SS Delay Select
Read/Write
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Default
0
0
0
1
1
1
1
1
Register Description
The SPI Configuration register controls the SPI port. Fields
apply to both master and slave mode unless otherwise noted.
3Wire Enable (Bit 15)
The 3Wire Enable bit indicates if the MISO and MOSI data
lines are tied together allowing only half duplex operation.
1: MISO and MOSI data lines are tied together
0: Normal MISO and MOSI Full Duplex operation (not tied
together)
Phase Select (Bit 14)
The Phase Select bit selects advanced or delayed SCK phase.
This field only applies to master mode.
1: Advanced SCK phase
0: Delayed SCK phase
SCK Polarity Select (Bit 13)
This SCK Polarity Select bit selects the polarity of SCK.
1: Positive SCK polarity
0: Negative SCK polarity
Scale Select (Bits [12:9])
The Scale Select field provides control over the SCK
frequency, based on 48 MHz. Refer to Table 45 for a definition
of this field. This field only applies to master mode.
Table 45. Scale Select Field Definition for SCK Frequency
Scale Select [12:9]
0000
0001
0010
0011
0100
0101
0110
0111
1000
SCK Frequency
12 MHz
8 MHz
6 MHz
4 MHz
3 MHz
2 MHz
1.5 MHz
1 MHz
750 KHz
Table 45. Scale Select Field Definition for SCK Frequency
(continued)
Scale Select [12:9]
1001
1010
1011
1100
1101
1110
1111
SCK Frequency
500 KHz
375 KHz
250 KHz
375 KHz
250 KHz
375 KHz
250 KHz
Master Active Enable (Bit 7)
The Master Active Enable bit is a read only bit that indicates if
the master state machine is active or idle. This field only
applies to master mode.
1: Master state machine is active
0: Master state machine is idle
Master Enable (Bit 6)
The Master Enable bit sets the SPI interface to master or
slave. This bit is only writable when the Master Active Enable
bit reads ‘0’, otherwise the value does not change.
1: Master SPI interface
0: Slave SPI interface
SS Enable (Bit 5)
The SS Enable bit enables or disables the master SS output.
1: Enable master SS output
0: Disable master SS output (three state master SS output, for
single SS line in slave mode)
SS Delay Select (Bits [4:0])
When the SS Delay Select field is set to ‘00000’ this indicates
manual mode. In manual mode SS is controlled by the SS
Manual bit of the SPI Control register. When the SS Delay
Select field is set between ‘00001’ to ‘11111’, this value
indicates the count in half bit times of auto transfer delay for:
SS low to SCK active, SCK inactive to SS high, SS high time.
This field only applies to master mode.
Document #: 38-08015 Rev. *H
Page 66 of 98