English
Language : 

M16C26A Datasheet, PDF (165/352 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/26A Group (M16C/26A, M16C/26B, M16C/26T)
13. Serial I/O
13.1.1.5 Serial data logic switch function (UART2)
When the U2LCH bit in the U2C1 register is set to "1" (reverse), the data written to the U2TB register
has its logic reversed before being transmitted. Similarly, the received data has its logic reversed
when read from the U2RB register. Figure 13.1.1.4.1 shows serial data logic.
(1) When the U2LCH bit in the U2C1 register is set to "0" (no reverse)
Transfer clock “H”
“L”
TxD2 “H”
(no reverse) “L”
D0 D1 D2 D3 D4 D5 D6 D7
(2) When the U2LCH bit in the U2C1 register is set to "1" (reverse)
Transfer clock “H”
“L”
TxD2 “H”
(reverse) “L”
D0 D1 D2 D3 D4 D5 D6 D7
NOTE:
1. This applies to the case where the CKPOL bit in the U2C0 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) and the UFORM bit is set to "0" (LSB first).
Figure 13.1.1.4.1. Serial data logic switch timing
13.1.1.6 Transfer clock output from multiple pins function (UART1)
The CLKMD1 to CLKMD0 bits in the UCON register can choose one from two transfer clock output
pins. (See Figure 13.1.1.6.1) This function is valid when the internal clock is selected for UART1.
Microcomputer
TXD1 (P67)
CLKS1 (P64)
CLK1 (P65)
IN
CLK
IN
CLK
Transfer enabled
when the CLKMD0
bit in the UCON
register is set to "0"
Transfer enabled
when the CLKMD0
bit in the UCON
register is set to "1"
NOTES:
1. This applies to the case where the CKDIR bit in the U1MRregister is set to "0" (internal clock) and
the CLKMD1 bit in the UCON register is set to "1" (transfer clock output from multiple pins).
2. This applies to the case where U1MAP bit in PACR register is set to “0” (P67 to P64).
Figure 13.1.1.6.1 Transfer Clock Output From Multiple Pins
Rev. 2.00 Feb.15, 2007 page 148 of 329
REJ09B0202-0200