14-1
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
14.
Synchronous Serial Interface (SPIA)
14.1.
Overview
SPIA is a synchronous serial interface. The features of SPIA are listed below.
•
Supports both master and slave modes.
•
Data length: 2 to 16 bits programmable
•
Either MSB first or LSB first can be selected for the data format.
•
Clock phase and polarity are configurable.
•
Supports full-duplex communications.
•
Includes separated transmit data buffer and receive data buffer registers.
•
Can generate receive buffer full, transmit buffer empty, end of transmission, and overrun
interrupts.
•
Can issue a DMA transfer request when a receive buffer full or a transmit buffer empty occurs.
•
Master mode allows use of a 16-bit timer to set baud rate.
•
Slave mode is capable of being operated with the external input clock SPICLK
n
only.
•
Slave mode is capable of being operated in SLEEP mode allowing wake-up by an SPIA interrupt.
Input pins can be pulled up/down with an internal resistor. Figure 14.1.1 shows the SPIA configuration.
Table 14.1.1 SPIA Channel Configuration of S1C31D50
Item
S1C31D50
Number of channels
3 channels (Ch.0 , Ch.1 and Ch.2)
Internal clock input
Ch.0
←
16-bit timer Ch.1 Ch.1
←
16-bit timer Ch.6
Ch.2
←
16-bit timer Ch.5
Figure 14.1.1 SPIA Configuration
Clock/shift
register
control circuit
Pull
-
up/down
control
circuit
Receive data buffer
RXD[15:0]
Shift register
Transmit data
buffer
TXD[15:0]
Interrupt
control circuit
CPU core
Timer
1/2
CPOL
PUEN
TENDIE
RBFIE
TBEIE
TENDIF
RBFIF
TBEIF
MODEN
SFTRST
LSBFST
CPHA
NOCLKDIV
DMA
controller
DMA request
control circuit
RBFDMAEN
TBEDMAEN
In
te
rn
al
da
ta
b
us
SPICLK
n
#SPISS
n
SDI
n
SDO
n
Clock
generator
16-bit timer
CLK_T16_
m
Underflow
CLK_SPIA
n
(Used only in slave mode)
V
DD
V
DD
V
DD
V
SS
Summary of Contents for S1C31D50
Page 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Page 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Page 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Page 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...