Figure 16.15 Example Of Sci Operation In Reception (Example With 8-Bit Data, Multiprocessor Bit, One Stop Bit) - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 16 Serial Communication Interface (SCI, IrDA, and CRC)
with a 1 multiprocessor bit, the receive data is transferred to RDR. An RXI interrupt request is
generated at this time. All other SCI operations are the same as in asynchronous mode. Figure
16.15 shows an example of SCI operation for multiprocessor format reception.
Start
1
bit
0
D0
MPIE
RDRF
RDR
value
MPIE = 0
Start
1
bit
0
D0
MPIE
RDRF
RDR
ID1
value
MPIE = 0
Figure 16.15 Example of SCI Operation in Reception (Example with 8-Bit Data,
Rev. 3.00 Jan 25, 2006 page 434 of 872
REJ09B0286-0300
Data (ID1)
Stop
MPB
bit
D1
D7
1
1
RXI interrupt
RDR data read
request
and RDRF flag
(multiprocessor
cleared to 0 in
interrupt)
RXI interrupt
generated
service routine
(a) Data does not match station's ID
Data (ID2)
Stop
MPB
bit
D1
D7
1
1
RXI interrupt
RDR data read and
request
RDRF flag cleared
(multiprocessor
to 0 in RXI interrupt
interrupt)
service routine
generated
(b) Data matches station's ID
Multiprocessor Bit, One Stop Bit)
Start
Data (Data 1)
bit
0
D0
D1
D7
ID1
If not this station's ID,
MPIE bit is set to 1
again
Start
Data (Data 2)
bit
0
D0
D1
D7
ID2
Matches this station's ID,
so reception continues, and
data is received in RXI
interrupt service routine
Stop
MPB
bit
1
0
1
Idle state
(mark state)
RXI interrupt request is
not generated, and RDR
retains its state
Stop
1
MPB
bit
0
1
Idle state
(mark state)
Data 2
MPIE bit set to 1
again

Advertisement

Table of Contents
loading

Table of Contents