communication between two mBed

03 Feb 2011

I'm trying to find a simple and time efficient method to send a 10 bit data from one mBed to another, simplex communication. Has anyone attempted this before, I tried searching the forum but they all seem complex or takes too long to transfer the data.

I'm thinking of setting up the receiving mBed as an spi master and the transmitting mBed as a slave. How fast can I set the spi bus clock frequency in this case? Also, I'm aware that setting each mBed to either master or slave will work but to reduce the processing time on the transmitting mBed, should I set it to a master or slave?

Or anyone knows a simpler method or if its possible to run multiple threads on the mBed?