Abhilashhegde94
Member level 1
Hi,
I am designing an embedded system which requires 2 or more chips to communicate some data involving PIC18f Series Controller.
For example if we take 3 PIC18F controllers,my design requires that any can become master at any time and it is given that there can be only 1 master at a time,also communicating via either a full duplex or half duplex bus(preferably half duplex as speed is not that much of a criteria here).
For the issue of multiple master collision i have found out that voting could be the best option to decide which controllers gets to be master when.
So basically i need to use a already software defined communication protocol which can implement the following:
1.Voting
2.Change from slave mode to master mode at will
3.Moderate speed
4.Half duplex preferably.
5.With timing to have ARQ.
Can anyone give suggestions as to which would be the best to use(preferably among I2C,UART,SPI).
Also how to use RS485 in PIC controllers
I am designing an embedded system which requires 2 or more chips to communicate some data involving PIC18f Series Controller.
For example if we take 3 PIC18F controllers,my design requires that any can become master at any time and it is given that there can be only 1 master at a time,also communicating via either a full duplex or half duplex bus(preferably half duplex as speed is not that much of a criteria here).
For the issue of multiple master collision i have found out that voting could be the best option to decide which controllers gets to be master when.
So basically i need to use a already software defined communication protocol which can implement the following:
1.Voting
2.Change from slave mode to master mode at will
3.Moderate speed
4.Half duplex preferably.
5.With timing to have ARQ.
Can anyone give suggestions as to which would be the best to use(preferably among I2C,UART,SPI).
Also how to use RS485 in PIC controllers