Page 1 of 1

Is it possible to log echo frames with PCAN-Ethernet Gateway DR?

Posted: Tue 20. May 2025, 14:54
by formenergy
This manual states that PCAN_ALLOW_ECHO_FRAMES is supported by PCAN-LAN devices if using the PCAN Basic API v 4.6.0+: https://www.peak-system.com/produktcd/D ... tation.pdf

The PCAN-Ethernet Gateway I'm using is hardware version 2.0 and has software version 2.11.1. Can this feature be used on my HW? If so, can it only be enabled with the API? I cannot find mention of "echo" in the user manual (https://www.peak-system.com/produktcd/P ... an_eng.pdf) or the developer documentation (https://www.peak-system.com/produktcd/P ... on_eng.pdf).

Ideally, I'd like to be able to enable logging echo frames with an http request or through the device's configuration file.

Thank you!

Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?

Posted: Tue 20. May 2025, 16:53
by S.Grosjean
Hello,

Yes, echoing a *written* frame on CAN is possible but only with the PCAN-Ethernet Gateway FD.

The PCAN-Ethernet Gateway CAN 2.0 version you have can only do something like an internal loopback (the frame is copied into the controller Rx fifo only, but is not written on the wire).

Best regards,

Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?

Posted: Tue 20. May 2025, 23:13
by formenergy
Ah, so when I write a frame, should I be able to read it back in my Rx data along with all of the other frames I receive from my device under test? Is there a special way to access the Rx FIFO? Do I need to enable this somehow?

Re: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?

Posted: Wed 21. May 2025, 14:07
by S.Grosjean
Hi,

As you said, by using PCAN-Basic, or as written in https://www.peak-system.com/produktcd/P ... on_eng.pdf in page 19 as well as in page 23.

Best regards,