14-17
Seiko Epson Corporation
S1C31D50 TECHNICAL MANUAL
(Rev. 1.00)
SPIA Ch.
n
Control Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
SPIA_
n
CTL
15
–
8
–
0x00
–
R
–
7
–
2
–
0x00
–
R
1
SFTRST
0
H0
R/W
0
MODEN
0
H0
R/W
Bits 15
–
2
Reserved
Bit 1
SFTRST
This bit issues software reset to SPIA.
1 (W): Issue software reset
0 (W): Ineffective
1 (R): Software reset is executing.
0 (R): Software reset has finished. (During normal operation)
Setting this bit resets the SPIA shift register and transfer bit counter. This bit is
automatically cleared after the reset processing has finished.
Bit 0
MODEN
This bit enables the SPIA operations.
1 (R/W): Enable SPIA operations (In master mode, the operating clock is supplied.)
0 (R/W): Disable SPIA operations (In master mode, the operating clock is stopped.)
Note:
If the SPIA_
n
CTL.MODEN bit is altered from 1 to 0 while sending/receiving data, the data being
sent/received cannot be guaranteed. When setting the SPIA_
n
CTL.MODEN bit to 1 again after that,
be sure to write 1 to the SPIA_
n
CTL.SFTRST bit as well.
SPIA Ch.
n
Transmit Data Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
SPIA_
n
TXD
15
–
0
TXD[15:0]
0x0000
H0
R/W
–
Bits 15
–
0
TXD[15:0]
Data can be written to the transmit data buffer through these bits. In master mode, writing
to these bits starts data transfer.
Transmit data can be written when the SPIA_
n
INTF.TBEIF bit = 1 regardless of whether data
is being output from the SDO
n
pin or not.
Note that the upper data bits that exceed the data bit length configured by the
SPIA_
n
MOD. CHLN[3:0] bits will not be output from the SDO
n
pin.
Note:
Be sure to avoid writing to the SPIA_nTXD register when the SPIA_nINTF.TBEIF bit = 0. Other- wise,
transfer data cannot be guaranteed.
SPIA Ch.
n
Receive Data Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
SPIA_
n
RXD
15
–
0
RXD[15:0]
0x0000
H0
R
–
Bits 15
–
0
RXD[15:0]
The receive data buffer can be read through these bits. Received data can be read when
the SPIA_
n
INTF.RBFIF bit = 1 regardless of whether data is being input from the SDI
n
pin
or not. Note that the upper bits that exceed the data bit length configured by the
SPIA_
n
MOD.CHLN[3:0] bits become 0.
Содержание S1C31D50
Страница 461: ...25 1 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 25 Package TQFP12 48PIN ...
Страница 462: ...25 2 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP13 64PIN ...
Страница 463: ...25 3 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 TQFP14 80PIN ...
Страница 464: ...25 4 Seiko Epson Corporation S1C31D50 TECHNICAL MANUAL Rev 1 00 QFP15 100PIN ...