
V PERIPHERAL MODULES 3 (INTERFACE): GENERAL-PURPOSE SERIAL INTERFACE (EFSIO)
S1C33E07 TECHNICAL MANUAL
EPSON
V-1-17
V
EFSIO
V.1.4 Asynchronous Interface
V.1.4.1 Outline of Asynchronous Interface
Asynchronous transfers are performed by adding a start bit and a stop bit to the start and end points of each serial-
converted data. With this method, there is no need to use a clock that is fully synchronized on the transmit and receive
sides; instead, transfer operations are timed by the start and stop bits added to the start and end points of each data.
In the 8-bit asynchronous mode (SMDx[1:0] = 0b11), 8 bits of data can be transferred; in the 7-bit asynchronous
mode (SMDx[1:0] = 0b10), 7 bits of data can be transferred.
SMDx[1:0]: Serial I/F Ch.x Transfer Mode Select Bits in the Serial I/F Ch.x Control Register (D[1:0]/0x300Bx3)
In either mode, it is possible to select the stop-bit length, add a parity bit, and choose between even and odd parity.
The start bit is fixed at 1.
The operating clock can be selected between an internal clock generated by an 8-bit timer or an external clock that
is input from the #SCLKx pin.
Since the transmit unit has 2-byte buffer and the receive unit has 4-byte buffer (FIFO), successive transmit and
receive operations are possible. Furthermore, since the transmit and receive units are independent, full-duplex com-
munication in which transmit and receive operations are performed simultaneously is also possible.
Figure V.1.4.1.1 shows an example of how input/output pins are connected for transfers in the asynchronous mode.
Data input
Data output
External clock
SINx
SOUTx
#SCLKx
SINx
SOUTx
External
serial device
(1) When external clock is used
(2) When internal clock is used
S1C33E07
Data input
Data output
External
serial device
S1C33E07
Figure V.1.4.1.1 Example of Connection in Asynchronous Mode
When the asynchronous mode is selected, it is possible to use the IrDA interface function.
Asynchronous-transfer data format
The data format for asynchronous transfer is shown below.
Data length: 7 or 8 bits (determined by the selected transfer mode)
Start bit:
1 bit, fixed
Stop bit:
1 or 2 bits
Parity bit:
Even or odd parity, or none
Sampling clock (for transmitting)
s1: start bit, s2 & s3: stop bit, p: parity bit
7-bit asynchronous mode
(Stop bit: 1 bit, parity: none)
s1
D0
D1
D2
D3
D4
D5
D6
s2
(Stop bit: 1 bit, parity: used)
s1
D0
D1
D2
D3
D4
D5
D6
p
s2
(Stop bit: 2 bits, parity: none)
s1
D0
D1
D2
D3
D4
D5
D6
s2
s3
(Stop bit: 2 bits, parity: used)
s1
D0
D1
D2
D3
D4
D5
D6
p
s2
s3
8-bit asynchronous mode
(Stop bit: 1 bit, parity: none)
s1
D0
D1
D2
D3
D4
D5
D6
D7
s2
(Stop bit: 1 bit, parity: used)
s1
D0
D1
D2
D3
D4
D5
D6
D7
p
s2
(Stop bit: 2 bits, parity: non)
s1
D0
D1
D2
D3
D4
D5
D6
D7
s2
s3
(Stop bit: 2 bits, parity: used)
s1
D0
D1
D2
D3
D4
D5
D6
D7
p
s2
s3
Figure V.1.4.1.2 Data Format for Asynchronous Transfer
Serial data is transmitted and received, starting with the LSB.