
Semiconductor Group
50
On-Chip Peripheral Components
7.2.2
Multiprocessor Communication Feature
Modes 2 and 3 of the serial interface 0 have a special provision for multi-processor communication.
In these modes, 9 data bits are received. The 9th bit goes into RB8. Then a stop bit follows. The
port can be programmed such that when the stop bit is received, the serial port 0 interrupt will be
activated (i.e. the request flag RI is set) only if RB8 = 1. This feature is enabled by setting bit SM2
in SCON. A way to use this feature in multiprocessor communications is as follows.
lf the master processor wants to transmit a block of data to one of the several slaves, it first sends
out an address byte which identifies the target slave. An address byte differs from a data byte in
that the 9th bit is 1 in an address byte and 0 in a data byte. With SM2 = 1, no slave will be interrupted
by a data byte. An address byte, however, will interrupt all slaves, so that each slave can examine
the received byte and see if it is being addressed. The addressed slave will clear its SM2 bit and
prepare to receive the data bytes that will be coming. After having received a complete message,
the slave sets SM2 again. The slaves that were not addressed leave their SM2 set and go on about
their business, ignoring the incoming data bytes.
SM2 has no effect in mode 0. In mode 1 SM2 can be used to check the validity of the stop bit. lf
SM2 = 1 in mode 1, the receive interrupt will not be activated unless a valid stop bit is received.
7.2.3
Baud Rates
As already mentioned there are several possibilities to generate the baud rate clock for the serial
interface depending on the mode in which it is operated.
To clarify the terminology, something should be said about the difference between "baud rate clock"
and "baud rate". The serial interface requires a clock rate which is 16 times the baud rate for internal
synchronization, as mentioned in the detailed description of the various operating modes in section
7.2.4.
Therefore, the baud rate generator have to provide a "baud rate clock" to the serial interface which -
there divided by 16 - results in the actual "baud rate". However, all formulas given in the following
section already include the factor and calculate the final baud rate.
*
Summary of Contents for SAB 80515 Series
Page 9: ...Semiconductor Group 9 Introduction Figure 1 2 Block Diagram ...
Page 12: ...Semiconductor Group 12 Fundamental Structure Figure 2 1 Detailed Block Diagram ...
Page 18: ...Semiconductor Group 18 Central Processing Unit Figure 3 1 Fetch Execute Sequence ...
Page 73: ...Semiconductor Group 73 On Chip Peripheral Components Figure 7 25 A D Converter Block Diagram ...
Page 83: ...Semiconductor Group 83 On Chip Peripheral Components Figure 7 33 a Timer 2 Block Diagram ...
Page 215: ...Device Specifications Semiconductor Group 215 ...
Page 217: ...Device Specifications Semiconductor Group 217 Pin Configuration P LCC 68 ...
Page 219: ...Device Specifications Semiconductor Group 219 Logic Symbol ...
Page 226: ...Device Specifications Semiconductor Group 226 Figure 1 Block Diagram ...
Page 229: ...Device Specifications Semiconductor Group 229 Figure 2 Memory Address Spaces ...
Page 239: ...Device Specifications Semiconductor Group 239 Figure 4 Block Diagram of the A D Converter ...
Page 241: ...Device Specifications Semiconductor Group 241 Figure 5 Interrupt Request Sources ...
Page 242: ...Device Specifications Semiconductor Group 242 Figure 6 Interrupt Priority Level Structure ...