Renesas M16C/6NK Hardware Manual page 192

16-bit single-chip microcomputer m16c family / m16c/60 series
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
_______ _______
15.1.2.6 CTS/RTS Function
_______
When the CTS function is used transmit operation start when "L" is applied to the CTSi/RTSi (i = 0 to 2)
pin. Transmit operation begins when the CTSi/RTSi pin is held "L". If the "L" signal is switched to "H"
during a transmit operation, the operation stops before the next data.
_______
When the RTS function is used, the CTSi/RTSi pin outputs on "L" signal when the microcomputer is
ready to receive. The output level becomes "H" on the first falling edge of the CLKi pin.
CRD bit in UiC0 register = 1 (disables UART0 CTS/RTS function) CTSi/RTSi pin is programmable I/O function
CRD bit = 0, CRS bit in UiC0 register= 0 (CTS function is selected)
CRD bit = 0, CRS bit = 1 (RTS function is selected)
_______ _______
15.1.2.7 CTS/RTS Separate Function (UART0)
This function separates CTS0/RTS0, outputs RTS0 from the P6_0 pin, and accepts as input the CTS0
from the P6_4 pin. To use this function, set the register bits as shown below.
• CRD bit in U0C0 register = 0 (enables UART0 CTS/RTS)
• CRS bit in U0C0 register = 1 (outputs UART0 RTS)
• CRD bit in U1C0 register = 0 (enables UART1 CTS/RTS)
• CRS bit in U1C0 register = 0 (inputs UART1 CTS)
• RCSP bit in UCON register = 1 (inputs CTS0 from the P6_4 pin)
• CLKMD1 bit in UCON register = 0 (CLKS1 not used)
Note that when using the CTS/RTS separate function, UART1 CTS/RTS separate function cannot be used.
Figure 15.22 shows CTS/RTS separate function usage.
_______ _______
Figure 15.22 CTS/RTS Separate Function
Rev.2.00
Nov 28, 2005
REJ09B0124-0200
________ ________
_______
_________ _________
_______
_______ _______
_______ _______
Microcomputer
TXD0(P6_3)
RXD0(P6_2)
RTS0(P6_0)
CTS0(P6_4)
page 174 of 378
________ ________
_______ _______
________ ________
_______
________
_______ _______
_______
_______ _______
_______
_______ _______
IN
OUT
CTS
RTS
15. Serial Interface
________ ________
________ ________
_______
CTSi/RTSi pin is CTS function
________ ________
_______
CTSi/RTSi pin is RTS function
IC
_________

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6nm

Table of Contents