English
Language : 

M16C28 Datasheet, PDF (201/423 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES
M16C/28 Group (M16C/28, M16C/28B)
14. Serial I/O
14.1.1.4 Continuous receive mode
When the UiRRM bit (i=0 to 2) is set to "1" (continuous receive mode), the TI bit in the UiC1 register is
set to “0” (data present in the UiTB register) by reading the UiRB register. In this case, i.e., UiRRM bit
is set to "1", do not write dummy data to the UiTB register in a program. The U0RRM and U1RRM bits
are the bit 2 and bit 3 in the UCON register, respectively, and the U2RRM bit is the bit 5 in the U2C1
register.
14.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 14.13 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
NOTES:
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 14.13 Serial data logic switch timing
14.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 14.14)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 14.14 Transfer Clock Output From Multiple Pins
Rev. 2.00 Jan. 31, 2007 page 181 of 385
REJ09B0047-0200