Hitachi H8S/2646 Hardware Manual page 511

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Figure 13-13 shows an example of SCI operation for multiprocessor format reception.
Start
bit
1
0
D0
MPIE
RDRF
RDR
value
MPIE = 0
Start
bit
1
0
D0
MPIE
RDRF
RDR
ID1
value
MPIE = 0
Figure 13-13 Example of SCI Operation in Reception
(Example with 8-Bit Data, Multiprocessor Bit, One Stop Bit)
Data (ID1)
Stop
MPB
bit
D1
D7
1
RXI interrupt
RDR data read
request
and RDRF flag
(multiprocessor
cleared to 0 in
interrupt)
RXI interrupt
service routine
generated
(a) Data does not match station's ID
Data (ID2)
Stop
MPB
bit
D1
D7
1
RXI interrupt
RDR data read and
RDRF flag cleared
request
to 0 in RXI interrupt
(multiprocessor
service routine
interrupt)
generated
(b) Data matches station's ID
Start
Data (Data1)
bit
1
0
D0
D1
If not this station's ID,
MPIE bit is set to 1
again
Start
Data (Data2)
bit
1
0
D0
D1
Matches this station's ID,
so reception continues, and
data is received in RXI
interrupt service routine
Stop
MPB
bit
1
D7
0
1
Idle state
(mark state)
ID1
RXI interrupt request is
not generated, and RDR
retains its state
Stop
MPB
bit
1
D7
0
1
Idle state
(mark state)
ID2
Data2
MPIE bit set to 1
again
479

Advertisement

Table of Contents
loading

Table of Contents