Hi,
I would like to know how to modify the speed of the information that is received through a channel to route it and send it through another channel at a different speed.
For example:
In channel 2 I receive the information at a speed of 125Mbit/s and I want to route that information so that it can be sent through channel 4 at 500Mbit/s.
Is this possible?
If possible, could it also be bidirectional between both channels?
Could you share an example please?
----------------------------------------------
Another question.
Could it be translated from a J1939 250KB/S CAN protocol to another CAN protocol?
Thanks for any answer!
Different speeds between channels
Re: Different speeds between channels
Hi,
yes, please see 01_Routing example for the PCAN-Router Pro FD we deliver in the PEAK-Dev pack. In the file src\can-user.c line 11 (Timing_CANx[6]) the bitrate definitions are set.
you will find some common definitions in inc\can_user.h or you can also generate a new one with the BitrateCalculationTool we offer on our support website:
https://www.peak-system.com/fileadmin/m ... onTool.zip
And yes, you could also use the PCAN-Router to transfer data between different CAN protocols (J1939 to CAN etc.). However, you have to program the protocol specific parts in the firmware by yourself.
regards
Michael
yes, please see 01_Routing example for the PCAN-Router Pro FD we deliver in the PEAK-Dev pack. In the file src\can-user.c line 11 (Timing_CANx[6]) the bitrate definitions are set.
Code: Select all
// timings for CAN1 to CAN6
static const CANTiming_t Timing_CANx[6] = {
_40M_500K_80____4M_80_ISO, // CAN1
_40M_500K_80____4M_80_ISO, // CAN2
_40M_500K_80____4M_80_ISO, // CAN3
_40M_500K_80____4M_80_ISO, // CAN4
_40M_500K_80____4M_80_ISO, // CAN5
_40M_500K_80____4M_80_ISO // CAN6
};
https://www.peak-system.com/fileadmin/m ... onTool.zip
And yes, you could also use the PCAN-Router to transfer data between different CAN protocols (J1939 to CAN etc.). However, you have to program the protocol specific parts in the firmware by yourself.
regards
Michael