Skip to main content

GW Setting File Specification and Sheet Descriptions

This product uses an Excel-format GW setting file to configure MicroPeckerX InstaGW. This section explains the file specification and configuration items.

Note

The GW setting file template (ConfigTemplate.xlsx) is included in the MicroPeckerX InstaGW package folder. Copy the template to any folder before use.

GW Setting File Specification

Sheet Order

The Excel sheets must be in this order: Com -> Immediate GW -> Gateway -> Periodic Frame

You may add additional sheets after these.

Sheet names

Com Sheet

The Com sheet defines communication settings. This sheet is required.

Com sheet settings
ItemDescriptionSetting Values
Arbitration PartBaudrateBaud rate for arbitration partSelect from:
125k, 250k, 500k, 1M
Sample PointSample point for arbitration partSelect from:
60%, 65%, 70%, 75%, 80%, 85%
Payload PartBaudrateBaud rate for payload partSelect from:
500k, 1M, 2M, 4M, 5M
Sample PointSample point for payload partSelect from:
60%, 65%, 70%, 75%, 80%, 85%
TerminatorTermination resistor usageSelect from:
Use, Not Use
Immediate Gateway ProtocolTransmit protocol used by Immediate GWSelect from:
CAN, CAN FD
Caution

If the loaded file has the following arbitration/payload baud rate combinations, payload baud rate is automatically corrected.

Arbitration Baud RatePayload Baud Rate
Before CorrectionAfter Correction
125 kbps1 Mbps, 2 Mbps, 4 Mbps, 5 Mbps500 kbps
250 kbps4 Mbps, 5 Mbps2 Mbps
1 Mbps500 kbps1 Mbps

If the loaded file has the following payload baud rate/sample point combinations, payload sample point is automatically corrected.

Payload Baud RatePayload Sample Point
Before CorrectionAfter Correction
2 Mbps, 4 Mbps65%, 75%, 85%-5% from the original (60%, 70%, 80%)
5 Mbps60%, 65%, 70%, 80%, 85%75%

Immediate GW Sheet

The Immediate GW sheet configures immediate gateway rules.

Immediate GW uses hardware processing in MicroPeckerX, enabling very low latency gateway behavior. You can configure up to 32 IDs total for CH1->CH2 and CH2->CH1.

When a frame with a target ID is received, a frame with the same ID is sent on the opposite channel using the configured protocol and DL. Wildcard (*) is supported for GW target ID and DL.

Immediate GW sheet settings
ItemDescriptionSetting Values
EnaEnable/disable this entrySelect from:
0 (disabled), 1 (enabled)
GW Routing(Ch)
From -> To
GW transfer direction (channel)Select from:
1->2, 2->1
ID(Hex)Target GW IDEnter value (right side) in hexadecimal.
Select format (left side):
Std. (standard ID), Ext. (extended ID)
DLTarget GW DLSelect from:
*, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 20, 24, 32, 48, 64
Caution

In Immediate GW, destination protocol (CAN/CAN FD) follows Immediate Gateway Protocol in communication settings.

If destination protocol is CAN, data length is handled as follows:

Source ProtocolData Length
CANUnchanged
CAN FDUp to 8 bytes (from the start)

In Immediate GW, CAN FD frames from error-passive nodes (ESI = 1) are gatewayed. (They are filtered in standard GW.)

Gateway Sheet

The Gateway sheet configures standard gateway rules.

Gateway sheet settings

Standard GW uses software processing in MicroPeckerX. It supports:

  • transmission timing offset,
  • different source/destination IDs (ID conversion).

You can configure up to 64 IDs total for CH1->CH2 and CH2->CH1.

When a frame with a target source ID is received, a destination frame with configured protocol/ID/DL is transmitted at the configured timing.

ItemDescriptionSetting Values
EnaEnable/disable this entrySelect from:
0 (disabled), 1 (enabled)
GW Routing(Ch)
From -> To
GW transfer direction (channel)Select from:
1->2, 2->1
GW FromProtocolSource protocolSelect from:
CAN, CAN FD
ID(Hex)Source IDEnter value (right side) in hexadecimal.
Select format (left side): Std. / Ext.
DLSource DLSelect from:
1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 20, 24, 32, 48, 64
GW ToProtocolDestination protocolSelect from:
CAN, CAN FD
ID(Hex)Destination IDEnter value (right side) in hexadecimal.
Select format (left side): Std. / Ext.
DLDestination DL (*)Select from:
1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 20, 24, 32, 48, 64
Delay(ms)Delay from source receive to destination transmitEnter decimal integer (unit: ms)

If destination DL is shorter than source DL, excess data is truncated. (Example: source DL=8, destination DL=5 -> bytes after D5 are truncated.)

Periodic Frame Sheet

The Periodic Frame sheet configures cyclic transmission.

MicroPeckerX InstaGW can cyclically transmit frame data to any channel. It can also be used together with GW processing, so each channel can be used as a standalone simulation node.

Periodic Frame sheet settings
ItemDescriptionSetting Values
EnaEnable/disable this entrySelect from:
0 (disabled), 1 (enabled)
ChTransmit channelSelect from:
1 (CH1), 2 (CH2)
ID(Hex)Transmit IDEnter value (right side) in hexadecimal.
Select format (left side): Std. / Ext.
ProtocolTransmit protocolSelect from:
CAN, CAN FD
DLTransmit DLSelect from:
1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 20, 24, 32, 48, 64
TimingCycle(ms)Transmission cycleEnter decimal integer (unit: ms)
Offset(ms)Transmission offsetEnter decimal integer (unit: ms)
Data(Hex)D1 to D64Transmit data (*)Hex input

Data beyond transmit DL does not need to be entered. (Example: if DL=8, D9 and later are unnecessary.)