1
\$\begingroup\$

I'm trying to connect an automatic car gearbox which is using the CAN bus at 250 kbit/s to car with bus speed 500 kbit/s.

  1. Is it possible to have nodes with different speeds on the CAN bus?

  2. If it is not possible to have different speeds, is there a way to accomplish what I want to do? Anyway, a starting point would be great.

\$\endgroup\$
8
  • 2
    \$\begingroup\$ 1) No. 2) Unlikely. \$\endgroup\$
    – Eugene Sh.
    Commented Jul 4, 2016 at 20:13
  • \$\begingroup\$ Well, you could toss a MCU inbetween, with two CAN interfaces (one for each speed) that would do the bridging. \$\endgroup\$
    – dim
    Commented Jul 4, 2016 at 21:00
  • \$\begingroup\$ @dim It will work only if the device and the overall traffic is low-bandwidth. Otherwise it will just miss packets. \$\endgroup\$
    – Eugene Sh.
    Commented Jul 4, 2016 at 21:17
  • \$\begingroup\$ See electronics.stackexchange.com/questions/95900/… \$\endgroup\$ Commented Jul 4, 2016 at 21:19
  • \$\begingroup\$ @EugeneSh. Of course. I assumed a gearbox doesn't send/receive commands at a high rate, wich may be wrong. Moreover, even if OP manages to make that part work, I'm not sure you can change car parts like that hoping that every node on the CAN network will still happily talk to each other, and to the new hardware. \$\endgroup\$
    – dim
    Commented Jul 4, 2016 at 21:24

1 Answer 1

4
\$\begingroup\$

Basic CAN protocol doesn't support nodes running at different bitrates:

The speed of CAN may be different in different systems. However, in a given system the bitrate is uniform and fixed.

The newer version of the protocol called CAN FD, provides support for flexible data rate, as its name suggests. Legacy CAN hardware is supported on CAN FD networks, however, it still has to run at a given fixed bitrate.

I think your only option is to buy a router. Here is an example of a CAN router which supports 4 channels with independent bitrate configuration.

\$\endgroup\$
3
  • \$\begingroup\$ Thank you for the information , I'm going to buy one when its available . \$\endgroup\$
    – sDev
    Commented Jul 5, 2016 at 9:49
  • \$\begingroup\$ @sDev I advise you to look for a router on your own, you may end up finding a more suitable and/or cheaper product, available immediately. I literally typed "can router" in the search box and clicked on the first relevant link, just to show you what such routers look like. Take your time, compare, read the specs before you pay $700 for it. \$\endgroup\$ Commented Jul 5, 2016 at 9:53
  • \$\begingroup\$ I am afraid you are wasting your time. If you have a different bitrate, likely the information is not compatible, as the product is designed for a different network. Even if you put a proposed gateway correcting the speed... the messages will probably make no sense and it will not work. \$\endgroup\$ Commented Feb 25, 2017 at 23:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.