|
Dynamically Switching Operating Modes 06-06-03 18:15
I have a system in which I have two or more i²C-bus devices - one of them is a Tracii application. I want to run Tracii in master mode, however my slave device needs to initiate the communication from time to time. Additionally I want to run Tracii in slave mode, but Tracii should also initiate communication from time to time.
Can I swap the master and slave roles for a little while to let my slave act as master? Can I use a multimaster setup for this purpose? No, this is not advisable. You can of cause re-initialize Tracii in a different mode, however timing for this process is not guarrantied. On the other hand your other device(s) will need to co-operate with this behaviour too and this is quite hard to debug. A multimaster setup allows you to put more than one dedicated masters in your system which communicate with one or more dedicated slaves. If you have such problem, you may consider one of the following solutions:
<lu> trigger the master upon communication request. The software of the master device can then initiate i²c communication as usual. slave on the other bus. <- Back to: FAQ / Support |