NEC 78K0S/KB1+ User Manual page 188

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0S/KB1+:
Table of Contents

Advertisement

<R>
Cautions 2. At startup, reception enable status is entered after having set POWER6 to 1, then setting
RXE6 to 1, and one clock of the base clock (f
operation, set POWER6 to 0 after having set RXE6 to 0.
3. Set POWER6 = 1 → RXE6 = 1 in a state where a high level has been input to the RxD6 pin. If
<R>
POWER6 = 1 → RXE6 = 1 is set during low-level input, reception is started and correct data
will not be received.
4. Clear the TXE6 and RXE6 bits to 0 before rewriting the PS61, PS60, and CL6 bits.
5. Fix the PS61 and PS60 bits to 0 when the interface is used in LIN communication operation.
6. Make sure that TXE6 = 0 when rewriting the SL6 bit. Reception is always performed with "the
number of stop bits = 1", and therefore, is not affected by the set value of the SL6 bit.
7. Make sure that RXE6 = 0 when rewriting the ISRM6 bit.
(2) Asynchronous serial interface reception error status register 6 (ASIS6)
This register indicates an error status on completion of reception by serial interface UART6. It includes three
error flag bits (PE6, FE6, OVE6).
This register is read-only by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H if bit 7 (POWER6) and bit 5 (RXE6) of ASIM6 = 0. 00H is read
when this register is read.
Figure 11-6. Format of Asynchronous Serial Interface Reception Error Status Register 6 (ASIS6)
Address: FF93H After reset: 00H R
Symbol
7
ASIS6
0
PE6
0
1
FE6
0
1
OVE6
0
1
Cautions 1. The operation of the PE6 bit differs depending on the set values of the PS61 and PS60 bits of
asynchronous serial interface operation mode register 6 (ASIM6).
2. The first bit of the receive data is checked as the stop bit, regardless of the number of stop
bits.
3. If an overrun error occurs, the next receive data is not written to receive buffer register 6
(RXB6) but discarded.
4. Be sure to read ASIS6 before reading receive buffer register 6 (RXB6).
188
CHAPTER 11 SERIAL INTERFACE UART6
6
5
0
0
If POWER6 = 0 and RXE6 = 0, or if ASIS6 register is read
If the parity of transmit data does not match the parity bit on completion of reception
If POWER6 = 0 and RXE6 = 0, or if ASIS6 register is read
If the stop bit is not detected on completion of reception
If POWER6 = 0 and RXE6 = 0, or if ASIS6 register is read
If receive data is set to the RXB register and the next reception operation is completed before the
data is read.
User's Manual U17446EJ3V1UD
) has elapsed. When stopping reception
XCLK6
4
3
0
0
PE6
Status flag indicating parity error
Status flag indicating framing error
Status flag indicating overrun error
2
1
0
FE6
OVE6

Advertisement

Table of Contents
loading

Table of Contents