ml670100 Oki Semiconductor, ml670100 Datasheet - Page 130

no-image

ml670100

Manufacturer Part Number
ml670100
Description
Ml670100 Is A High-performance 32-bit Microcontroller
Manufacturer
Oki Semiconductor
Datasheet
8.3.2
8.3.3
8-16
(1) Parity, 8-bit word length, 1 stop bit (ASPEN = "1," ASLEN = "0," ASTSTB = "1")
(2) No parity, 8-bit word length, 1 stop bit (ASPEN = "0," ASLEN = "0," ASTSTB = "1")
(3) Parity, 8-bit word length, 2 stop bits (ASPEN = "1," ASLEN = "0," ASTSTB = "0")
(4) Parity, 7-bit word length, 1 stop bit (ASPEN = "1," ASLEN = "1," ASTSTB = "1")
The program specifies the character length, number of stop bits, and the parity for transmission
and reception with the ASI Control Register (ASICON). To enable reception, it must also set
the ASRVEN bit in ASICON to "1."
Figure 8.10 gives examples of ASICON settings and the corresponding frame formats.
Writing 8-bit data to the ASI Buffer Register (ASBUF) starts the transmission sequence. If the
character length is set to 7, the interface ignores bit 7, the most significant bit.
The interface transfers the data written to ASBUF to the transmit shift register, generates a
transmit ready interrupt request (TRINT), and sets the ATRIRQ bit in the ASI Status Register
(ASIST) to "1." This transmit ready state indicates that ASBUF is empty and thus ready to
accept the next character.
The interface then transmits the bits for the frame: the start bit, seven or eight (as specified in
ASI Control Register (ASICON) ) data bits (LSB first), the parity bit (if specified), and the stop
bit (or bits).
Setting Communications Parameters
Transmitting Data
START
START
START
START
D0
D0
D0
D0
Figure 8.10 : Frame Format Examples
D1
D1
D1
D1
D2
D2
D2
D2
D3
D3
D3
D3
D4
D4
D4
D4
D5
D5
D5
D5
D6
D6
D6
D6
D7
P
D7
D7
STOP
STOP
P
P
STOP
START
START
STOP
STOP
START
START

Related parts for ml670100