A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
Colleagues,=20
Is it possible to choose between Master and Slave modes on the fly by=20
writing to the SSPCON register?=20
I will have two PICs in the system. One will handle the display,=20
another one will control the process. When the process isn=E2=80=99t runnin=
g,=20
the display PIC should be the Master. When the process is running,=20
the display PIC should display the parameters. But the problem is=20
that I have a requirement from the guy, who developed the current=20
version of the control PIC firmware, that the control PIC shouldn=E2=80=99t=
=20
be interrupted for serial communication. I=E2=80=99m contemplating about=20
making a multimaster bus, where the process control PIC is a Master,=20
when the process is running, and the display PIC is a Master for the=20
rest of the time. I=E2=80=99ll probably add a handshaking line too. Do you=
=20
think that this is a good approach?=20
Another option would be to replace I2C with CAN, which is a peer-to-
peer bus to begin with.=20
Cheers,=20
- Nick
to unsubscribe, go to http://www.yahoogroups.com and follow the instruction=
s=20
=20

(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )