M30622MA-XXXFP RENESAS [Renesas Technology Corp], M30622MA-XXXFP Datasheet - Page 365

no-image

M30622MA-XXXFP

Manufacturer Part Number
M30622MA-XXXFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
UART
350
(4) How to deal with an error
(5) Functions selection
When receiving data, read an error flag and reception data simultaneously to determine which error
has occurred. If the data read is erroneous, initialize the error flag and the UARTi receive buffer
register, then receive the data again.
To initialize the UARTi receive buffer register
To set the UARTi transmit buffer register again
In operating UART, the following functions can be used:
(a) CTS/RTS function
(b) Sleep mode
(c) Data logic select function
(d) TxD, RxD I/O polarity reverse function
1. Set the receive enable bit to “0” (disable reception).
2. Set the receive enable bit to “1” again (enable reception).
To transmit data again due to an error on the reception side, set the UARTi transmit buffer register
again, then transmit the data again.
1. Set the serial I/O mode select bits to “000
2. Set the serial I/O mode select bits again.
3. Set the transmit enable bit to “1” (enable transmission), then set transmission data in the UARTi
CTS function is a function in which an external IC can start transmission/reception by means of
inputting an “L” level to the CTS pin. The CTS pin input level is detected when transmission/reception
starts, so if the level is gone to“ H” while transmission/reception is in progress, transmission/recep-
tion stops at the next data.
_______
RTS function is a function to inform an external IC that RTS pin output level has changed to “L” when
reception is ready. RTS regoes to “H” at the falling edge of the transfer clock.
When using clock-asynchronous serial I/O, choose one of four types of CTS/RTS functions.
Sleep mode is a mode in which data is transferred to a particular microcomputer among those con-
nected by use of clock-asynchronous serial I/O devices.
This function is to reserve data when writing to transmit buffer register or reading from receive buffer
register.
This function receive a polarity of TxD port output level and a polarity of RxD port input level.
_______
• CTS/RTS functions disabled
• CTS function only enabled
• RTS function only enabled
• CTS/RTS separation function
_______ _______
transmit buffer register.
_______ _______
_______
_______
_______ _______
_______
_______
_______
2
” (invalidate serial I/O).
_______ _______
CTS/RTS pin is a programmable I/O port.
_______ _______
CTS/RTS pin performs the CTS function.
_______ _______
CTS/RTS pin performs the RTS function.
P6
forms the CTS function. When CTS/RTS separation
function is selected, CTS/RTS function cannot select
simultaneously.
0
pin performs the RTS function, and P6
_______
_______
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
_______ _______
_______
_______ _______
_______
_______
_______ _______
Mitsubishi microcomputers
M16C / 62 Group
4
pin per-

Related parts for M30622MA-XXXFP