Convert Between CAN and CAN FD Protocols
Use MicroPeckerX InstaGW to convert between CAN and CAN FD communication protocols.
Usage Example
A protocol gateway is configured between Ch1 (CAN FD) and Ch2 (CAN). The GW setting file example is shown below.
Common Settings
Com Sheet
- Configure the baud rates for
Arbitration PartandPayload Partfor each channel. In this example, Ch1 is CAN FD and Ch2 is CAN. - When using Immediate GW,
Immediate GW Protocoldefines the protocol for each channel. In this example, Ch1 is CAN FD and Ch2 is CAN.
When Using Immediate GW
Immediate GW Sheet
- Immediate GW provides low-latency gateway operation[*].
- Set target CAN IDs for protocol gateway on each channel. In this example, target CAN IDs are
200, 201, 202for1->2 (CAN FD->CAN), and100, 101, 102for2->1 (CAN->CAN FD). - Immediate GW supports up to 32 CAN IDs.
[*]: Gateway latency is approximately 3.5 us (measured with CAN FD communication: arbitration phase 500 kbps, data phase 2 Mbps).
When Using Standard GW
Gateway Sheet
- Standard GW[*] supports ID replacement and transmission timing control.
- Configure target CAN IDs for gateway on each channel. In this example,
1->2 (Ch1->Ch2)is configured asCAN FD->CANprotocol conversion. - ID replacement is also configured, for example
CAN ID 200 -> CAN ID 180. - For Ch1 CAN IDs
200, 201, 202, 203, a 5 ms delay is added before forwarding to Ch2. - Standard GW supports up to 64 CAN IDs.
[*]: Gateway latency is approximately 12.5 to 20 us (depends on data length), measured with CAN FD communication (arbitration phase 500 kbps, data phase 2 Mbps).
Immediate GW and Standard GW
Immediate GW and Standard GW can be used together.
Immediate GW supports up to 32 CAN IDs, and Standard GW supports up to 64 CAN IDs. By combining them, up to 96 CAN IDs can be configured.