On Mon, Dec 16, 2002 at 05:53:43AM -0800, [EMAIL PROTECTED] wrote:
> I was trying to figure out how to make a 8051 multiprocessor communication.
> Basically, for varibale baud rate, there are 2 different communication modes:
> Mode 1: 8-bit UART, and Mode 3: 9-bit UART.
> As far I know the Mode 3 is the mode specially intended for multiprocessor
>communication, but it is a 9-bit UART. Becuase of I want it to communicate with a
>regular PC UART (which is 8-bit UART) I would like to use Mode 1 instead.
>
> What could be wrong in use Mode 1 instead Mode 3 for multiprocessor
> communication?
In Mode 3 you only have 8 bits simply :-) However, as I remember you can
use the PC UART for the 9bit mode too. One of the flags odd/even...
can simulate the 9th bit.
The advantage of the 9th bit is, that you can configure your controller
to get a interrupt only if the 9th bit is set (and the device adr is sent).
With 8bit you get an interrupt every time (and using the same scheme - MSB
for signaling the device adress - you can only transfer 7 bits in this mode).
Matthias
--
Author: Matthias Weingart
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB CHIPDIR-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).