15-74
MSM66591/ML66592 User's Manual
Chapter 15 Serial Port Functions
15.3.2 Receive Operation
The UART mode used by the SCI0, SCI2, SCI3, and SCI4 serial ports on the receive
side has a single buffer mode and a 4-stage buffer mode. Single buffer mode has a
single stage of receive buffer, and 4-stage buffer mode has four stages of receive
buffers. SCI1 has single buffer mode only.
[1]
Single Buffer Mode
<UART Normal Mode>
The clock pulse (BRGn), generated by the baud rate generator (SnTM), is divided by 16
to generate the receive shift clock (SRnCLK) (refer to Figure 15-33). The 1/16 dividing
circuit stops in reset status until the receive operation starts.
The 7th, 8th and 9th pulses of the 1/16 division become the input sampling clock of the
RXDn pin, and the 10th pulse becomes SRnCLK. The receive circuit controls the
fetching of the receive data, synchronizing with SRnCLK.
The receive operation is started (SRnREN of SRnCON must be "1" at this time) when
the RXDn pin is changed from "H" to "L" level, and the SRnFREE signal that indicates
receiving is set to "L" level.
When SRnFREE becomes "L" level, the 1/16 dividing circuit, that has been stopped in
reset status, operates, and the start bit ("L" level) is sampled by 3 sampling clocks of
the 1/16 division (7th, 8th and 9th). If 2 or more sampling clocks are in "L" level, the
start bit is judged as valid, and the receive operation continues. If 2 or more sampling
clocks are in "H" level, the start bit is judged as invalid, and the receive operation is
initialized (SRnFREE becomes "H" level), and then stops.
Receive data is sampled by 3 sampling clocks of the 1/16 division (7th, 8th and 9th),
and 2 or more values of the sampled values are shifted in to the receive register as
receive data by the 10th pulse (SRnCLK).
Hereafter, receive data continues to be received according to the specification of
SRnCON. The stop bit is received, the receive operation ends, and the LSRnBUF
signal is generated.
The receive operation ends when the first stop bit is detected, regardless of whether the
stop bit of the receive data is 1 bit or 2 bits.
If LSRnBUF is generated, the content of the receive register (receive data) is trans-
ferred to SnBUF, an overrun error, framing error and parity error (if parity bit exists) are
set, a receive interrupt request signal (RXnREADY) is generated synchronizing with the
M1S1 signal, which indicates the beginning of an instruction, and the interrupt request
flag (QSCIn) is set to "1".
<UART Multiprocessor Communication Mode>
In UART multiprocessor communication mode, receive is controlled by the same timing
as UART normal mode. The differences are shown below.
• Setting of multiprocessor communication error
• If SRnMPC of SRnCON is "0", receive data is accepted regardless of the MPC bit of
the receive data. When SRnMPC of SRnCON is "1", receive data is accepted if the
MPC bit of receive data is "1", but receive data is not accepted if the MPC bit of
receive data is "0". This means that data shifted in the shift register will not be loaded
to SnBUF, and also that an interrupt request will not be generated.
[Note] n = 0–4.
Summary of Contents for MSM66591
Page 15: ...Contents 12...
Page 17: ......
Page 18: ...Overview Chapter 1 1...
Page 19: ......
Page 30: ...Description of Pins Chapter 2 2...
Page 31: ......
Page 44: ...CPU Architecture Chapter 3 3...
Page 45: ......
Page 101: ...3 56 MSM66591 ML66592User sManual Chapter 3 CPU Architecture...
Page 102: ...CPU Control Functions Chapter 4 4...
Page 103: ......
Page 111: ...4 8 MSM66591 ML66592User sManual Chapter 4 CPU Control Functions...
Page 112: ...Memory Control Functions Chapter 5 5...
Page 113: ......
Page 117: ...5 4 MSM66591 ML66592User sManual Chapter 5 Memory Control Functions...
Page 118: ...Port Functions Chapter 6 6...
Page 119: ......
Page 152: ...Output Pin Control Pin OE Chapter 7 7...
Page 153: ......
Page 155: ...7 2 MSM66591 ML66592User sManual Chapter 7 Output Pin Control Pin OE...
Page 156: ...Clock Generation Circuit Chapter 8 8...
Page 157: ......
Page 160: ...Time Base Counter TBC Chapter 9 9...
Page 161: ......
Page 164: ...Watchdog Timer WDT Chapter 10 10...
Page 165: ......
Page 170: ...Flexible Timer FTM Chapter 11 11 11...
Page 171: ......
Page 213: ...11 42 MSM66591 ML66592User sManual Chapter 11 Flexible Timer FTM...
Page 214: ...General Purpose 8 Bit Timer Function Chapter 12 12...
Page 215: ......
Page 223: ...12 8 MSM66591 ML66592User sManual Chapter 12 General Purpose 8 Bit Timer Function...
Page 224: ...PWM Functions Chapter 13 13...
Page 225: ......
Page 244: ...Baud Rate Generator Functions Chapter 14 14...
Page 245: ......
Page 263: ...14 18 MSM66591 ML66592User sManual Chapter 14 Baud Rate Generator Functions...
Page 264: ...Serial Port Functions Chapter 15 15...
Page 265: ......
Page 348: ...A D Converter Functions Chapter 16 16...
Page 349: ......
Page 381: ...16 32 MSM66591 ML66592User sManual Chapter 16 A D Converter Functions...
Page 382: ...Transition Detector Functions Chapter 17 17...
Page 383: ......
Page 387: ...17 4 MSM66591 ML66592User sManual Chapter 17 Transition Detector Functions...
Page 388: ...Peripheral Functions Chapter 18 18...
Page 389: ......
Page 392: ...External Interrupt Request Function Chapter 19 19...
Page 393: ......
Page 396: ...Interrupt Request Processing Function Chapter 20 20...
Page 397: ......
Page 407: ...20 10 MSM66591 ML66592User sManual Chapter 20 Interrupt Request Processing Function...
Page 408: ...Bus Port Functions Chapter 21 21...
Page 409: ......
Page 413: ...21 4 MSM66591 ML66592User sManual Chapter 21 Bus Port Functions...
Page 414: ...Expansion Port Chapter 22 22...
Page 415: ......
Page 420: ...Serial Port with FIFO SCI5 Chapter 23 23...
Page 421: ......
Page 431: ...23 10 MSM66591 ML66592User sManual Chapter 23 Serial Port with FIFO SCI5...
Page 432: ...RAM Monitor Function Chapter 24 24...
Page 433: ......
Page 441: ...24 8 MSM66591 ML66592User sManual Chapter 24 RAM Monitor Function...
Page 442: ...25 Electrical Characteristics Chapter 25...
Page 443: ......
Page 458: ...Package Dimensions Chapter 26 26...
Page 459: ......
Page 461: ...26 2 MSM66591 ML66592User sManual Chapter 26 Package Dimensions...
Page 462: ...Revision History Chapter 27 27...
Page 463: ......
Page 465: ...27 2 MSM66591 ML66592User sManual Chapter 27 Revision History...