Search found 8 matches

by thomas_r3s
Fri 18. Nov 2022, 18:16
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

Hi Stephan,

thanks!
It seems I would need a higher wait time than 1,5 ms.
Can we discuss a way to extend this period?

Regards
Thomas
by thomas_r3s
Thu 3. Nov 2022, 11:37
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

Thanks!
Thus, the valid range for this parameter is 0..150 translatingt into 0..15 ms?
by thomas_r3s
Wed 2. Nov 2022, 15:07
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

Thanks!

From the developer documentation I would assume irq_time_limit is in 1ms instead of 100us.

Would ypu mind double checking if its 1000 or 100 us?

Thanks again
Thomas
by thomas_r3s
Wed 2. Nov 2022, 09:46
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

Hi,

we got hold on FD DR gateways and could experiment with irq_time_limit and irq_count_limit.

When does the relevant timer start?

Assume, the irq triggers and a UDP message is send. Thus, we're having a 'clean' state.
Does the timer start already now, or only after the 'first' CAN frame arrives ...
by thomas_r3s
Thu 22. Sep 2022, 11:56
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

Understood.

Probably last question for now: But w/the GW FD DR feature mentioned earlier, the 3-in-1 approach should be feasible?

Thanks!
by thomas_r3s
Thu 22. Sep 2022, 11:19
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

In my application, every 20ms, 3 CAN packets are coming very close (<1ms).
Thus, if there is way to 'play' with this timeout also with the 'normal' GW, that would be apprecicated very much!
by thomas_r3s
Thu 22. Sep 2022, 09:25
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

Thanks, I'll try with the PCAN-Ethernet Gateways FD.

For the normal Gateway:
As my goal is to always aggregate 3 consecutive CAN frames into 1 IP packet, it seems I would rather need a 'min. CAN frames per IP packet'.
Do I understand correct that there is still no way to achieve this in the 'normal ...
by thomas_r3s
Wed 21. Sep 2022, 17:47
Forum: PCAN-Ethernet Gateway DR
Topic: Only one CAN frame in each UDP packet
Replies: 30
Views: 57967

Re: Only one CAN frame in each UDP packet

Hi Stepan,

I just read FD DR developer manual section 2.1.1 'Configuring CAN IRQ Limits'...

Do I understand correctly, this (new?) feature enables me to have a new (then larger) UDP packet being sent only every 3 CAN packets?

Best Regards
Thomas