Asynchronous Serial Interface (Uart) Mode - NEC PD789488 User Manual

Pd789489 subseries 8-bit single-chip microcontrollers
Table of Contents

Advertisement

11.4.2 Asynchronous serial interface (UART) mode

In this mode, the one-byte data following the start bit is transmitted/received, enabling full-duplex communication.
This device incorporates a UART-dedicated baud rate generator that enables communications at the desired baud
rate. In addition, the baud rate can also be defined by dividing the clock input to the ASCK20 pin.
The UART-dedicated baud rate generator also can output the 31.25 Kbps baud rate that complies with the MIDI
standard.
(1)
Register setting
UART mode is set by serial operation mode register 20 (CSIM20), asynchronous serial interface mode
register 20 (ASIM20), asynchronous serial interface status register 20 (ASIS20), baud rate generator control
register 20 (BRGC20), port mode register 2 (PM2), and port 2 (P2).
(a) Serial operation mode register 20 (CSIM20)
CSIM20 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets CSIM20 to 00H.
Set CSIM20 to 00H when UART mode is selected.
Symbol
<7>
6
CSIM20
CSIE20
0
CSIE20
0
Operation disabled
1
Operation enabled
DIR20
0
MSB
1
LSB
CSCK20
0
External clock input to the SCK20 pin
1
Output of the dedicated baud rate generator
Cautions 1.
2.
CHAPTER 11 SERIAL INTERFACE 20
5
4
3
2
0
0
0
DIR20 CSCK20
3-wire serial I/O mode operation control
3-wire serial I/O mode clock selection
Bits 0 and 3 to 6 must be set to 0.
Switch operation modes after halting the serial transmission/reception operation.
User's Manual U15331EJ4V1UD
1
0
Address
After reset
0
FF72H
First-bit specification
R/W
00H
R/W
199

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78f9488Pd78f9489Pd789489

Table of Contents