%HTTP_EQUIV_ON_VIEW%
PGMFI Logo
Library> MultiprocessorMode ( vs. r1.1) Destinations: Home | Library | Change Log | Index
Search | Go

 <<O>>  Difference Topic MultiprocessorMode (r1.1 - 03 Jun 2005 - Home.hondainfo)
Added:
>
>

%META:TOPICINFO{author="hondainfo" date="1117793220" format="1.0" version="1.1"}% %META:TOPICPARENT{name="DLCCommunication"}% MULTIPROCESSOR COMMUNICATIONS

In applications where multiple controllers jointly perform a task, the master controller must be able to communicate selectively with individual slaves. To do this, the master first identifies the target slave (or slaves) with an address byte and then transmits a block of data. The target slaves must be able to identify their own address before receiving any data bytes. The serial port on the 8051 provides a 9-bit mode to facilitate multiprocessor communication. The 9th bit allows the controller to distinguish between address and data bytes. In this mode, a total of 11 bits are received or transmitted: a start bit (0), 8 data bits (LSB first), a programmable 9th bit, and a stop bit (1). See Figure below. The 9th bit is set to 1 to identify address bytes and set to 0 for data bytes. A typical data stream is seen below: ADDRESS BYTE / DATA BYTE / DATA BYTE / . . . D8 e1 D8 e0 D8 e 0 Initially the slave is set up to only receive address bytes. Once it receives its own address, the slave reconfigures itself to receive data. On the 8051 serial port, an address byte interrupts all slaves for an address comparison. On the 83C51FA, however, Automatic Address Recognition allows the addressed slave to be the only one interrupted; that is, the address comparison occurs in hardware, not software. With this feature, the master controller can establish communication with one or more slaves without all the slaves having to respond to the transmission.

mpcomm.jpg

%META:FILEATTACHMENT{name="mpcomm.jpg" attr="" comment="" date="1117793134" path="C:\Documents and Settings\Beci\Asztal\mpcomm.jpg" size="24229" user="hondainfo" version="1.1"}%


{ View | Diffs | r1.1 | More }
Copyright © 2002-present by the contributing authors. All material on this collaboration platform is the property of the
contributing authors, and is covered by the Non-Commercial Share-Alike License unless explicitly stated otherwise.
Ideas, requests, problems regarding the PGMFI TWiki?? E-Mail the WikiAdmin
Site Designed By: Digital Fusion   Need a website?

Revision -
Revision r1.1 - 03 Jun 2005 - 10:07 GMT - Home.hondainfo
%WEBCOPYRIGHT%