III PERIPHERAL BLOCK: SERIAL INTERFACE
I/O Pins of Serial Interface
Table 8.1 lists the I/O pins used by the serial interface.
Table 8.1
Pin name | I/O | Function | Function select bit |
P00/SIN0 | I/O | I/O port / Serial IF Ch.0 data input | CFP00(D0)/P0 function select register(0x402D0) |
P01/SOUT0 | I/O | I/O port / Serial IF Ch.0 data output | CFP01(D1)/P0 function select register(0x402D0) |
P02/#SCLK0 | I/O | I/O port / Serial IF Ch.0 clock input/output | CFP02(D2)/P0 function select register(0x402D0) |
P03/#SRDY0 | I/O | I/O port / Serial IF Ch.0 ready input/output | CFP03(D3)/P0 function select register(0x402D0) |
P04/SIN1/ | I/O | I/O port / Serial IF Ch.1 data input | CFP04(D4)/P0 function select register(0x402D0) |
#DMAACK2 |
| / #DMAACK2 signal output | CFEX4(D4)/Port function extension register(0x402DF) |
P05/SOUT1/ | I/O | I/O port / Serial IF Ch.1 data output | CFP05(D5)/P0 function select register(0x402D0) |
#DMAEND2 |
| / #DMAEND2 signal output | CFEX5(D5)/Port function extension register(0x402DF) |
P06/#SCLK1/ | I/O | I/O port / Serial IF Ch.1 clock input/output | CFP06(D6)/P0 function select register(0x402D0) |
#DMAACK3 |
| / #DMAACK3 signal output | CFEX6(D6)/Port function extension register(0x402DF) |
P07/#SRDY1/ | I/O | I/O port / Serial IF Ch.1 ready input/output | CFP07(D7)/P0 function select register(0x402D0) |
#DMAEND3 |
| / #DMAEND3 signal output | CFEX7(D7)/Port function extension register(0x402DF) |
P27/TM5/SIN2 | I/O | I/O port / Serial IF Ch.2 data input | CFP27(D7)/Function select register(0x402D8) |
|
|
| SSIN2(D0)/Function select register(0x402DB) |
P26/TM4/SOUT2 | I/O | I/O port / Serial IF Ch.2 data output | CFP26(D6)/Function select register(0x402D8) |
|
|
| SSOUT2(D1)/Function select register(0x402DB) |
P25/TM3/#SCLK2 | I/O | I/O port / Serial IF Ch.2 serial clock input/output | CFP25(D5)/Function select register(0x402D8) |
|
|
| SSCLK2(D2)/Function select register(0x402DB) |
P24/TM2/#SRDY2 | I/O | I/O port / Serial IF Ch.2 ready input/output | CFP24(D4)/Function select register(0x402D8) |
|
|
| SSRDY2(D3)/Function select register(0x402DB) |
P33/#DMAACK1/ | I/O | I/O port / Serial IF Ch.3 data input | CFP33(D3)/Function select register(0x402DC) |
SIN3 |
|
| SSIN3(D0)/Function select register(0x402D7) |
P16/EXCL5/ | I/O | I/O port / Serial IF Ch.3 data output | CFP16(D6)/Function select register(0x402D4) |
#DMAAND1/ |
|
| SSOUT3(D1)/Function select register(0x402D7) |
SOUT3 |
|
|
|
P15/EXCL4/ | I/O | I/O port / Serial IF Ch.3 serial clock input/output | CFP15(D5)/Function select register(0x402D4) |
#DMAAND0/ |
|
| SSCLK3(D2)/Function select register(0x402D7) |
#SCLK3 |
|
|
|
P32/#DMAACK0/ | I/O | I/O port / Serial IF Ch.3 ready input/output | CFP32(D2)/Function select register(0x402DC) |
#SRDY3 |
|
| SSRDY3(D3)/Function select register(0x402D7) |
SINx
This pin is used to input serial data to the device, regardless of the transfer mode.
SOUTx
This pin is used to output serial data from the device, regardless of the transfer mode.
#SCLKx (clock input/output pin)
This pin is used to input or output a clock.
In the
In the asynchronous mode, this pin is used as clock input when an external clock is used. This pin is not used when the internal clock is used, so it can be used as an I/O port.
#SRDYx
This pin is used to input or output the ready signal that is used in the
In the
This pin is not used in the asynchronous mode, so it can be used as an I/O port.
Method for setting the
All of the pins used in the serial interface are shared with I/O ports. At cold start, they are all set for I/O port pins P0x (function select bit Pxx, CFPxx = "0"). When using the serial interface, make function select bit settings for the pins used, according to the channel and transfer mode to be used.
At hot start, the pins retain their status from prior to the reset.
EPSON | S1C33L03 FUNCTION PART |