Forward all messages from CAN's with different bit rates

4-Channel CAN Router with Data Logger
Post Reply
Designwerk
Posts: 5
Joined: Wed 7. Apr 2021, 11:10

Forward all messages from CAN's with different bit rates

Post by Designwerk » Wed 7. Apr 2021, 11:35

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

User avatar
PEAK-Support
Sales & Support
Sales & Support
Posts: 1646
Joined: Fri 10. Sep 2010, 19:34

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

Post by PEAK-Support » Wed 7. Apr 2021, 12:42

Yes, that i spossible. If you only have 2 seperate CAN Neztworks, the smaller PCAN Router or PCAN-Router FD could also be used.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------

Designwerk
Posts: 5
Joined: Wed 7. Apr 2021, 11:10

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

Post by Designwerk » Mon 3. May 2021, 16:37

Thanks, but how do I set this special bitrate of 667kbit/s?

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

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

Post by M.Heidemann » Tue 4. May 2021, 08:26

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
---
Marvin Heidemann
PEAK-Support Team

Designwerk
Posts: 5
Joined: Wed 7. Apr 2021, 11:10

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

Post by Designwerk » Tue 4. May 2021, 08:59

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

M.Heidemann
Sales & Support
Sales & Support
Posts: 1083
Joined: Fri 20. Sep 2019, 13:31

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

Post by M.Heidemann » Tue 4. May 2021, 11:31

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 6222 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
---
Marvin Heidemann
PEAK-Support Team

Designwerk
Posts: 5
Joined: Wed 7. Apr 2021, 11:10

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

Post by Designwerk » Tue 4. May 2021, 13:23

Thanks a lot. It works.

Best regards

Joel

Post Reply