Multiprocessor Communication Function - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

14.3.3

Multiprocessor Communication Function

The multiprocessor communication function performs serial communication using the multiprocessor format, in which a
multiprocessor bit is added to the transfer data, in asynchronous mode. Use of this function enables data transfer to be
performed among a number of processors sharing transmission lines.
When multiprocessor communication is carried out, each receiving station is addressed by a unique ID code.
The serial communication cycle consists of two component cycles: an ID transmission cycle which specifies the receiving
station , and a data transmission cycle. The multiprocessor bit is used to differentiate between the ID transmission cycle
and the data transmission cycle.
The transmitting station first sends the ID of the receiving station with which it wants to perform serial communication as
data with a 1 multiprocessor bit added. It then sends transmit data as data with a 0 multiprocessor bit added.
The receiving station skips the data until data with a 1 multiprocessor bit is sent.
When data with a 1 multiprocessor bit is received, the receiving station compares that data with its own ID. The station
whose ID matches then receives the data sent next. Stations whose ID does not match continue to skip the data until data
with a 1 multiprocessor bit is again received. In this way, data communication is carried out among a number of
processors.
Figure 14-9 shows an example of inter-processor communication using the multiprocessor format.
Data Transfer Format: There are four data transfer formats.
When the multiprocessor format is specified, the parity bit specification is invalid.
For details, see table 14-10.
Clock: See the section on asynchronous mode.
Serial
data
Legend:
MPB: Multiprocessor bit
Figure 14-9 Example of Inter-Processor Communication Using Multiprocessor Format
Transmitting
station
Receiving
Receiving
station A
station B
(ID= 01)
(ID= 02)
H'01
ID transmission cycle=
receiving station
specification
(Transmission of Data H'AA to Receiving Station A)
Serial transmission line
Receiving
station C
(ID= 03)
H'AA
(MPB= 1)
Data transmission cycle=
Data transmission to
receiving station specified by ID
Receiving
station D
(ID= 04)
(MPB= 0)
Rev.6.00 Oct.28.2004 page 499 of 1016
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents