KansaiRobot
Member
Hello everybody and thanks
I have developed a system that uses two PICs that communicate through SPI. Therefore a master and a slave. I am planning to try next a master and several slaves. As you know communication can only be started by the master with the slaves responding.
However, the master polling its slaves would take resources, so instead how about interruptions? I mean, when a slave finish its task and is ready to transmit, notify the master through interruptions
Have you ever heard about this? How do you do this? So far I am thinking some cables communicating the slaves to a general IO of the master and generating those kind of interruptions. But that would take a lot of pins if the slaves are several (and plus we also use pins to activate SS!)
Does anybody have an advice on this?
Thanks
I have developed a system that uses two PICs that communicate through SPI. Therefore a master and a slave. I am planning to try next a master and several slaves. As you know communication can only be started by the master with the slaves responding.
However, the master polling its slaves would take resources, so instead how about interruptions? I mean, when a slave finish its task and is ready to transmit, notify the master through interruptions
Have you ever heard about this? How do you do this? So far I am thinking some cables communicating the slaves to a general IO of the master and generating those kind of interruptions. But that would take a lot of pins if the slaves are several (and plus we also use pins to activate SS!)
Does anybody have an advice on this?
Thanks