CHAPTER 14 SERIAL INTERFACE UART6
Preliminary User’s Manual U16315EJ1V0UD
284
14.4.2 Asynchronous serial interface (UART) mode
In this mode, data of 1 byte is transmitted/received following a start bit, and a full-duplex operation can be
performed.
A dedicated UART baud rate generator is incorporated, so that communication can be executed at a wide range of
baud rates.
(1) Register setting
The UART mode is set by asynchronous serial interface operation mode register 6 (ASIM6), asynchronous serial
interface reception error status register 6 (ASIS6), asynchronous serial interface transmission status register 6
(ASIF6), and asynchronous serial interface control register 6 (ASICL6).
(a) Asynchronous serial interface operation mode register 6 (ASIM6)
This 8-bit register controls the serial transfer operations of serial interface UART6.
ASIM6 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to 01H.
Remark
ASIM6 can be refreshed (the same value is written) by software during a communication operation
(when bit 7 (POWER6) and bit 6 (TXE6) of ASIM6 = 1 or bit 7 (POWER6) and bit 5 (RXE6) of
ASIM6 = 1).
Address: FF50H After reset: 01H R/W
Symbol
7
6
5
4
3
2
1
0
ASIM6
POWER6
TXE6
RXE6
PS61
PS60
CL6
SL6
ISRM6
POWER6
Enables/disables operation of internal operation clock
0
Note 1
Disables operation of the internal operation clock (fixes the clock to low level) and asynchronously
resets the internal circuit.
1
Note 2
Enables operation of the internal operation clock.
TXE6
Enables/disables transmission
0
Disables transmission (synchronously resets the transmission circuit).
1
Enables transmission
Notes 1.
The output of the T
X
D6 pin goes high and the input from the R
X
D6 pin is fixed to the high level when
POWER6 = 0.
2.
Operation of the internal operation clock is enabled at the second input clock after 1 is written to the
POWER6 bit.
Caution
At startup, set POWER6 to 1 and then set TXE6 to 1. Clear TXE6 to 0 first, and then clear
POWER6 to 0.
Содержание 78K0/KD1 Series
Страница 2: ...Preliminary User s Manual U16315EJ1V0UD 2 MEMO ...
Страница 444: ...Preliminary User s Manual U16315EJ1V0UD 444 MEMO ...