CHAPTER 12 SERIAL INTERFACE 20
User’s Manual U15075EJ1V0UM00
231
(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
D0
D1
D2
D3
D4
D5
D6
D7
Parity
bit
Stop bit
Start
bit
One data frame
•
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).
Summary of Contents for mPD789426 Series
Page 2: ...2 User s Manual U15075EJ1V0UM00 MEMO...
Page 6: ...6 User s Manual U15075EJ1V0UM00 MEMO...
Page 10: ...10 User s Manual U15075EJ1V0UM00 MEMO...
Page 24: ...24 User s Manual U15075EJ1V0UM00 MEMO...
Page 36: ...36 User s Manual U15075EJ1V0UM00 MEMO...
Page 46: ...46 User s Manual U15075EJ1V0UM00 MEMO...
Page 176: ...User s Manual U15075EJ1V0UM00 176 MEMO...
Page 196: ...User s Manual U15075EJ1V0UM00 196 MEMO...
Page 210: ...User s Manual U15075EJ1V0UM00 210 MEMO...
Page 262: ...262 User s Manual U15075EJ1V0UM00 MEMO...
Page 278: ...278 User s Manual U15075EJ1V0UM00 MEMO...
Page 296: ...296 User s Manual U15075EJ1V0UM00 MEMO...
Page 298: ...User s Manual U15075EJ1V0UM00 298 MEMO...