Page 1 of 1

Forward all messages from CAN's with different bit rates

Posted: Wed 7. Apr 2021, 11:35
by Designwerk
Hi!

We plan to get a PCAN-Router Pro for the following application.

Is it possible to forward all messages from one CAN with 667 kbit/s to another CAN with 1 Mbit/s and a few messages in the other direction?

Thank you,
Joel

Re: Forward all messages from CAN's with different bit rates

Posted: Wed 7. Apr 2021, 12:42
by PEAK-Support
Yes, that i spossible. If you only have 2 seperate CAN Neztworks, the smaller PCAN Router or PCAN-Router FD could also be used.

Re: Forward all messages from CAN's with different bit rates

Posted: Mon 3. May 2021, 16:37
by Designwerk
Thanks, but how do I set this special bitrate of 667kbit/s?

Re: Forward all messages from CAN's with different bit rates

Posted: Tue 4. May 2021, 08:26
by M.Heidemann
Hello,

The a custom bitrate can be defined in Firmware
on both devices. The approach varies slightly due to
different controllers being used, but the examples
provided give a good idea on how one would
implement his custom bitrate into his application.

We offer a bitrate calculation tool which helps to
find the correct bitrate timing settings for your custom
bitrate:

https://www.peak-system.com/fileadmin/m ... onTool.zip

A more specific sample can be given, if you tell us which device you want to use ultimately.

Best Regards

Marvin

Re: Forward all messages from CAN's with different bit rates

Posted: Tue 4. May 2021, 08:59
by Designwerk
Hello,

Thanks for the Tool, this gives a good idea how it's done.
We will use the PCAN-Router Pro because we need all the four channels.

Best regards

Joel

Re: Forward all messages from CAN's with different bit rates

Posted: Tue 4. May 2021, 11:31
by M.Heidemann
Thank you for your feedback.

If you use the PPCAN-Editor for your configuration, you will have to use the I/O function "CANx Bitrate Raw" to
set a custom bitrate, not included in the bitrate dropdown (set the "user"-bitrate here, in this example bitrate = 666,667 kbits):
2021-05-04 11_27_16-Window.png
2021-05-04 11_27_16-Window.png (14.14 KiB) Viewed 6224 times

See page 64 of the PCAN-Router Pro User manual regarding this:

https://www.peak-system.com/produktcd/P ... an_eng.pdf


Best Regards

Marvin

Re: Forward all messages from CAN's with different bit rates

Posted: Tue 4. May 2021, 13:23
by Designwerk
Thanks a lot. It works.

Best regards

Joel