Search found 5 matches

by formenergy
Fri 30. Jan 2026, 22:03
Forum: PCAN-Ethernet Gateway FD DR
Topic: Dropped CAN frame on every socket.recv()
Replies: 2
Views: 21254

Dropped CAN frame on every socket.recv()

Hello! I have a python app that reads from a PCAN Gateway once per second with a basic TCP socket connection (handshake is off), and I'm seeing a frame be dropped on every read.

My simplest reproducing case is that I have two devices on my bus that each broadcast one frame at 1 Hz and 5 additional ...
by formenergy
Wed 3. Dec 2025, 17:34
Forum: PCAN-Ethernet Gateway DR
Topic: Internal buffer size of PCAN-Ethernet Gateways
Replies: 1
Views: 3624

Internal buffer size of PCAN-Ethernet Gateways

Hello,

We're using a socket connection in python to read off of a PCAN-Ethernet Gateway (FD and non-FD versions). There is a note in some code that I inherited that the internal buffer size of the non-FD gateway is 921 CAN messages, 36 bytes each, for a total of 33,156 bytes. I see in the PCAN ...
by formenergy
Tue 20. May 2025, 23:13
Forum: PCAN-Ethernet Gateway DR
Topic: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
Replies: 3
Views: 16054

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

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?
by formenergy
Tue 20. May 2025, 14:54
Forum: PCAN-Ethernet Gateway DR
Topic: Is it possible to log echo frames with PCAN-Ethernet Gateway DR?
Replies: 3
Views: 16054

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

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/Develop/PC%20interfaces/Windows/PCAN-Basic%20API/PCAN-Parameter_Documentation.pdf

The PCAN-Ethernet Gateway I'm using is hardware version 2.0 ...
by formenergy
Wed 23. Aug 2023, 21:25
Forum: PCAN-Ethernet Gateway DR
Topic: PCAN-Ethernet Gateway Internal Buffer
Replies: 1
Views: 4495

PCAN-Ethernet Gateway Internal Buffer

Hello,

We are seeing some unexpected behavior with the PCAN-Ethernet gateway we are using to communicate using TCP sockets between a PCB that broadcasts and can receive CAN messages, and a linux server.

We observed that we were receiving stale data from the gateway and after some experimentation ...