Rev.2.00 Oct 16, 2006 page 50 of 354
REJ09B0340-0200
M30245 Group
2. Clock-Synchronous Serial I/O
Example of wiring
Figure 2.3.8. Operation timing of reception in clock-synchronous serial I/O mode
1 / f
EXT
Transmit enable
bit (TE)
Transmit buffer
empty flag (Tl)
CLKi
RxDi
Receive complete
flag (Rl)
RTSi
“H”
“L”
“0”
“1”
“0”
“1”
“0”
“1”
Receive enable
bit (RE)
“0”
“1”
The above timing applies to the following settings:
• External clock is selected.
• RTS function is selected.
• CLK polarity select bit = “0”.
f
EXT
: frequency of external clock
Make sure that the following conditions are met when
the CLKi pin input =“H” before data reception
• Transmit enable bit
→
“1”
• Receive enable bit
→
“1”
• Dummy data write to UARTi transmit buffer register
Receive interrupt
request bit (IR)
“0”
“1”
Cleared to “0” when interrupt request is accepted, or cleared by software
D
0
D
1
D
2
D
3
D
4
D
5
D
6
D
7
D
0
D
1
D
2
D
3
D
4
D
5
Shown in ( ) are bit symbols.
Reception data is taken in
Transferred from UARTi receive register
to UARTi receive buffer register
Read out from UARTi receive buffer register
Transferred from UARTi transmit register to UARTi transmit buffer register
Dummy data is set in UARTi transmit buffer register
Overrun error flag
(OER)
“0”
“1”
D
6
Even if the reception is completed, RTS does not change.
RTS becomes "L" when the RI bit changes from "1" to "0".
Example of operation
CLKi
R
X
Di
RTSi
CLK
T
X
D
Port
Microcomputer
Transmitter side IC
Summary of Contents for M16C FAMILY
Page 12: ...Chapter 1 Hardware...
Page 13: ...See M30245 group datasheet...
Page 14: ...Chapter 2 Peripheral Functions Usage...
Page 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Page 340: ...Chapter 4 External Buses...
Page 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Page 362: ...Chapter 5 Standard Characteristics...