176
CHAPTER 13 SERIAL INTERFACE UART
Preliminary User’s Manual U14581EJ3V0UM00
(a) Asynchronous serial interface mode register (ASIM)
ASIM is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input clears ASIM to 00H.
Caution
In UART mode, set the port mode register (PM5X) as follows. Besides that, set all output
latches to 0.
• When receiving
Set P53 (RxD) to the input mode (PM53 = 1)
• When transmitting
Set P54 (TxD) to the output mode (PM54 = 0)
• When transceiving
Set P53 to the input mode and P54 to the output mode
Address: FF85H After Reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
ASIM
TXE
RXE
PS1
PS0
CL
SL
ISRM
0
TXE
RXE
Operation Mode
RxD/P53 Pin Function
TxD/P54 Pin Function
0
0
Operation stop
Port function (P53)
Port function (P54)
0
1
UART mode
Serial function (RxD)
Port function (P54)
(receive only)
1
0
UART mode
Port function (P53)
Serial function (TxD)
(transmit only)
1
1
UART mode
Serial function (RxD)
Serial function (TxD)
(transmit and receive)
PS1
PS0
Parity Bit Specification
0
0
No parity
0
1
Zero parity always added during transmission
No parity detection during reception (parity errors do not occur)
1
0
Odd parity
1
1
Even parity
CL
Character Length Specification
0
7 bits
1
8 bits
SL
Stop Bit Length Specification for Transmit Data
0
1 bit
1
2 bits
ISRM
Receive Completion Interrupt Control When Error Occurs
0
Receive completion interrupt is issued when an error occurs
1
Receive completion interrupt is not issued when an error occurs
Cautions 1. Do not switch the operation mode until after the current serial transmit/receive
operation has stopped.
2. Bit 0 must be set to 0.
Summary of Contents for mPD780851
Page 2: ...2 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 8: ...8 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 12: ...12 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 26: ...26 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 46: ...46 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 74: ...74 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 90: ...90 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 100: ...100 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 136: ...136 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 142: ...142 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 186: ...186 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 222: ...222 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 230: ...230 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 240: ...240 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 262: ...262 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 296: ...296 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 304: ...304 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...
Page 314: ...314 Preliminary User s Manual U14581EJ3V0UM00 MEMO ...