Connect CAN bus over 2 mbeds

20 Nov 2011

Hi,

Can anyone tell me is it possible to connect the CAN Tx of one mbed to the CAN Rx of another mbed and viceversa and then to send data from one mbed to the other through the CAN.

Is anyone familiar with examples on cookbook?

Many thanks

Fergal

30 Jun 2013

You need to use an interface chip between the ucontrollers, otherwise yes you can use CAN Bus to talk to two mbed's. check out the mcp2551, it's the interface chip you need. Also remember to tremanite your CAN network by placing a 120ohm resistor between CANH and CANL. There are sample codes, I'm on an iPad so ill let you find the code. If you have trouble, ask again and I can post.

01 Aug 2013