Siddft
Junior Member level 2
- Joined
- Oct 19, 2012
- Messages
- 20
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Bangalore
- Activity points
- 1,432
Hello All,
I am trying to implement Single Master Multiple slave implementation using PIC microcontroller.
I am using PIC18F4550 as Master and PIC18F4520 as slave.
Slaves will convert the values of potentiometer(A/D conversion) and communicate those values to master using SPI protocol.
I am getting values correctly from slave to master in Single master single slave implemetation.
But when i connect more slaves to master then 'm not getting the values properly, i think there migth be some problem with DELAY(SYNC problem) so how to overcome from this problem.
If anybody have sample code for Single Master Multiple slave implementation plz share it.
Advance thanks,
Siddesh
I am trying to implement Single Master Multiple slave implementation using PIC microcontroller.
I am using PIC18F4550 as Master and PIC18F4520 as slave.
Slaves will convert the values of potentiometer(A/D conversion) and communicate those values to master using SPI protocol.
I am getting values correctly from slave to master in Single master single slave implemetation.
But when i connect more slaves to master then 'm not getting the values properly, i think there migth be some problem with DELAY(SYNC problem) so how to overcome from this problem.
If anybody have sample code for Single Master Multiple slave implementation plz share it.
Advance thanks,
Siddesh