
SH7145F
Multiprocessor Communications
REJ06B0358-0100O/Rev.1.00 March 2004 Page 6 of 17
3. Operation
Figure 3 shows reception operation when the do not IDs match, and figure 4 shows reception
operation when they do match. To help explain figures 3 and 4, tables 3 and 4 list the software and
hardware processing that is performed.
Transmission operation is identical to asynchronous serial data transmission, except that the
MPBT bit in SSR_0 is set to 1 when transmitting the ID.
0
RXD0
(pin)
0
ID
RDRF
(SSR_0 bit)
MPB
0
(1)
(2)
(3)
(4)
(5)
(6)
MPIE
(SCR_0 bit)
(7)
11
MPB
Stop
bit
Start
bit
Start
bit
Start
bit
Stop
bit
1
Data bits D0 to D7
Figure 3 Reception Operation when IDs Do Not Match
Table 3 Processing
Software Processing Hardware Processing
(1) — ClearMPIEflaginSCR_0to0(receiveID
data)
(2) — RSR_0 receives serial data and transfers it to
RDR_0
(3) — Set RDRF flag in SSR_1 to 1
(4) Read data from RDR_1 —
(5) Compare with own ID —
(6) Clear RDRF flag in SSR_1 and MPIE
flaginSCR_0to0
—
(7) — Do not receive data transmitted when MPIE
flag value was 1 because MPB bit is 0
Komentáře k této Příručce