![](http://datasheet.mmic.net.cn/30000/M30263F3AFP_datasheet_2358719/M30263F3AFP_330.png)
page 313
19. Usage Notes
9
2
3
f
o
7
0
2
,
5
1
.
b
e
F
0
.
2
.
v
e
R
0
2
0
-
2
0
2
0
B
9
0
J
E
R
)
T
6
2
/
C
6
1
M
,
B
6
2
/
C
6
1
M
,
A
6
2
/
C
6
1
M
(
p
u
o
r
G
A
6
2
/
C
6
1
M
19.8 Serial I/O
19.8.1 Clock-Synchronous Serial I/O
19.8.1.1 Transmission/reception
_______
________
1. With an external clock selected, and choosing the RTS function, the output level of the RTSi pin
goes to “L” when the data-receivable status becomes ready, which informs the transmission side
________
that the reception has become ready. The output level of the RTSi pin goes to “H” when reception
________
starts. So if the RTSi pin is connected to the CTSi pin on the transmission side, the circuit can
_______
transmit and receive data with consistent timing. With the internal clock, the RTS function has no
effect.
_____
2. If a low-level signal is applied to the SD pin when the IVPCR1 bit in the TB2SC register is set to “1”
_____
_________
(three-phase output forcible cutoff by input on SD pin enabled), the P73/RTS2/TxD1(when the
U1MAP bit in PACR register is “1”) and CLK2 pins go to a high-impedance state.
19.8.1.2 Transmission
When an external clock is selected, the conditions must be met while if the CKPOL bit in the UiC0
register is set to “0” (transmit data output at the falling edge and the receive data taken in at the
rising edge of the transfer clock), the external clock is in the high state; if the CKPOL bit in the UiC0
register is set to “1” (transmit data output at the rising edge and the receive data taken in at the
falling edge of the transfer clock), the external clock is in the low state.
The TE bit in the UiC1 register is set to “1” (transmission enabled)
The TI bit in the UiC1 register is set to “0” (data present in UiTB register)
_______
If CTS function is selected, input on the CTSi pin is “L”
19.8.1.3 Reception
1. In operating the clock-synchronous serial I/O, operating the transmitter generates a clock for the
receiver shift register. Fix settings for transmission even when using the device only for reception.
Dummy data is output to the outside from the TxDi pin when receiving data.
2. When an internal clock is selected, set the TE bit in the UiC1 register (i = 0 to 2) to 1 (transmission
enabled) and write dummy data to the UiTB register, and the clock for the receiver shift register will
thereby be generated. When an external clock is selected, set the TE bit to "1" and write dummy
data to the UiTB register, and the clock for the receiver shift register will be generated when the
external clock is fed to the CLKi input pin.
3. When successively receiving data, if all bits of the next receive data are prepared in the UARTi
receive register while the RE bit in the UiC1 register (i = 0 to 2) is set to “1” (data present in the UiRB
register), an overrun error occurs and the OER bit in the UiRB register is set to “1” (overrun error
occurred). In this case, because the content of the UiRB register is indeterminate, a corrective
measure must be taken by programs on the transmit and receive sides so that the valid data before
the overrun error occurred will be retransmitted. Note that when an overrun error occurred, the IR
bit in the SiRIC register does not change state.
4. To receive data in succession, set dummy data in the lower-order byte of the UiTB register every
time reception is made.
5. When an external clock is selected, make sure the external clock is in high state if the CKPOL bit is
set to “0”, and in low state if the CKPOL bit is set to “1” before the following conditions are met:
Set the RE bit in the UiC1 register to “1” (reception enabled)
Set the TE bit in the UiC1 register to “1” (transmission enabled)
Set the TI bit in the UiC1 register to “0” (data present in the UiTB register)