19 UNIVERSAL SERIAL INTERFACE WITH LCD INTERFACE (USIL)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
19-37
Master mode
USIL_CK (SCPOL = 1, SCPHA = 1)
USIL_CK (SCPOL = 1, SCPHA = 0)
USIL_CK (SCPOL = 0, SCPHA = 1)
USIL_CK (SCPOL = 0, SCPHA = 0)
USIL_DI/USIL_DO
Fetching received data
into shift register
D7 (MSB)
D0 (LSB)
Slave mode
USIL_CK (SCPOL = 1, SCPHA = 1)
USIL_CK (SCPOL = 1, SCPHA = 0)
USIL_CK (SCPOL = 0, SCPHA = 1)
USIL_CK (SCPOL = 0, SCPHA = 0)
USIL_DI
USIL_DO
Fetching received data
into shift register
D7 (MSB)
D0 (LSB)
D7 (MSB)
D0
8.1 Clock and Data Transfer Timing (MSB first)
Figure 19.
D1
Reserved (Do not set to 1.)
D0
SFSTMOD: Fast Mode Select Bit (for SPI master mode)
Selects Fast mode.
1 (R/W): Fast mode
0 (R/W): Normal mode (default)
In SPI master mode, either normal or fast clock mode can be selected using SFSTMOD. Setting SF-
STMOD to 0 (default) places the USIL into normal mode and the USIL generates the transfer clock by
dividing the T8 output by 2. Setting SFSTMOD to 1 places the USIL into fast mode and the USIL uses
PCLK2 supplied from the CMU directly as the transfer clock. The fast mode does not use the T8.
The SPI slave mode uses the T8 output clock for generating the sampling clock.
USIL SPI Master/Slave Mode Interrupt Enable Register (USIL_SIE)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
USIL SPI
Master/Slave
Mode Interrupt
Enable Register
(USIL_SIE)
0x300651
(8 bits)
D7–3 –
reserved
–
–
–
0 when being read.
D2
SEIE
Receive error interrupt enable
1 Enable
0 Disable
0
R/W
D1
SRDIE
Receive buffer full interrupt enable 1 Enable
0 Disable
0
R/W
D0
STDIE
Transmit buffer empty int. enable
1 Enable
0 Disable
0
R/W
Note: This register is effective only in SPI master and slave modes. Configure USIL to SPI master/slave
mode before this register can be used.
D[7:3]
Reserved
D2
SEIE: Receive Error Interrupt Enable Bit
Enables interrupt requests to the ITC when an overrun error occurs.
1 (R/W): Enabled
0 (R/W): Disabled (default)
Set this bit to 1 to process overrun errors using interrupts.