(2)
Communication operation
(a) Data format
The transmit/receive data format is as shown in Figure 12-7. One data frame consists of a start bit,
character bits, parity bit, and stop bit(s).
The specification of character bit length in one data frame, parity selection, and specification of stop bit
length is carried out with asynchronous serial interface mode register 20 (ASIM20).
Figure 12-7. Format of Asynchronous Serial Interface Transmit/Receive Data
Start
bit
• Start bits .................. 1 bit
• Character bits ........... 7 bits/8 bits
• Parity bits.................. Even parity/odd parity/0 parity/no parity
• Stop bits.................... 1 bit/2 bits
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 selected by ASIM20 and baud rate generator control register 20 (BRGC20).
If a serial data receive error occurs, the receive error contents can be determined by reading the status
of asynchronous serial interface status register 20 (ASIS20).
CHAPTER 12 SERIAL INTERFACE 20
One data frame
D0
D1
D2
D3
D4
User's Manual U15075EJ1V0UM00
Parity
D5
D6
D7
Stop bit
bit
231