12 years, 1 month ago.

mbed to mbed communication

Hi,

I'm looking into communication between two mbeds, I'm currently thinking using a serial connection (ie. p9 and p10). I cannot use the Ethernet interface as that is already used for something else.

Are there any better ways than serial?

It needs to be able to handle roughly 100,000 bps, and I know the serial can go up higher than that.

Thanks.

4 Answers

12 years, 1 month ago.

If you have structured data, and the potential for more devices, then I might suggest using CAN,

It is capable of sending 8 bytes, in one message block, (to a wide range of destinations configurations)

It is also Multiple Master, Master/slave configurations. and the hardware is very robust, and long connection distances are easy.

Cheers

Ceri

Accepted Answer
12 years, 1 month ago.

For those speeds I would indeed just use serial, easiest solution.

12 years, 1 month ago.

What distance? I use I2C in my quadrotor.

Very short, the two mbeds will be within a foot of each other.

posted by Adam Osborn 09 Aug 2013
Adam Osborn
poster
12 years, 1 month ago.

Thanks for the CAN suggestion Ceri, have now read up on it. It does seem like a fuller connection, and easier to have multiple mbeds on.