m5m51016btp Renesas Electronics Corporation., m5m51016btp Datasheet - Page 66

no-image

m5m51016btp

Manufacturer Part Number
m5m51016btp
Description
Renesas 16-bit Single-chip Microcomputer M16c Family / M16c/20 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10LL/-10L
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-10VHTC4
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MIT
Quantity:
3 909
Part Number:
m5m51016btp-10VLL
Manufacturer:
MITSUMI
Quantity:
20 000
Part Number:
m5m51016btp-12LL
Manufacturer:
MIT
Quantity:
4 390
Part Number:
m5m51016btp-70LL
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
m5m51016btp-70LLTC4
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(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 transmit data again due to an error on the reception side, set the UARTi transmit buffer register
again, then transmit the data again.
To set the UARTi transmit buffer register again
In operating UART, the following functions can be used:
(a) CTS/RTS function
(b) Data logic select function
(c) LSB/MSB first 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).
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 first falling edge of the transfer clock.
When using clock-asynchronous serial I/O, choose one of three types of CTS/RTS functions.
This function is to reverse data when writing to transmit buffer register or reading from receive buffer
register.
This function is to choose whether to transmit/receive data from bit 0 or bit 7. This is valid when the
transfer data length is 8 bits long.
Choose either of the following:
This function is to reverse 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
• LSB first Data is transmitted/received from bit 0.
• MSB first Data is transmitted/received from bit 7.
_______ _______
transmit buffer register.
_______ _______
_______
_______
page 57 of 354
_______
_______
_______
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.
_______
_______ _______
_______
_______
2. UART

Related parts for m5m51016btp