Asynchronous Serial Interface Transmit/Receive Data Format - NEC PD78052 User Manual

Pd78054 series; pd78054y series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Communication operation
(a) Data format
The transmit/receive data format is as shown in Figure 19-7.
Figure 19-7. Asynchronous Serial Interface Transmit/Receive Data Format
Start
Bit
One data frame consists of the following bits.
• Start bits ..................
• Character bits .........
• Parity bits ................
• Stop bit(s) ...............
The character bit length, parity, and stop bit length for each data frame are specified with asynchronous
serial interfaece mode register (ASIM).
When 7 bits are selected as the number of character bits, only the lower 7 bits (bits 0 to 6) are valid; in
transmission the most significant bit (bit 7) is ignored, and in reception the most significant bit (bit 7) is
always "0".
The serial transfer rate is set with ASIM and the baud rate generator control register (BRGC).
If a serial data receive error is generated, the receive error contents can be determined by reading the
status of the asynchronous serial interface status register (ASIS).
CHAPTER 19 SERIAL INTERFACE CHANNEL 2
One Data Frame
D0
D1
D2
D3
D4
D5
Character Bits
1 bit
7 bits/8 bits
Even parity/odd parity/0 parity/no parity
1 bit/2 bits
Parity
D6
D7
Stop Bit
Bit
461

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents