Search found 9 matches

by petark
Mon 16. May 2022, 11:23
Forum: Linux
Topic: pcanfd_open(..)
Replies: 3
Views: 132

Re: pcanfd_open(..)

Hallo,

Thanks for the reply.

A question a bit off topic:
Is using a clock for CAN Communication with +-1% Tolerance within the CAN-Spec? What are your thoughts on than? Do you think it is a "hack"?

Kind Regards,
Petar
by petark
Fri 13. May 2022, 22:37
Forum: Linux
Topic: pcanfd_open(..)
Replies: 3
Views: 132

pcanfd_open(..)

Hello I had Problems with the CAN communication (250k) to a device using a stm32 with a internal clock with +-1% Tolerance. Sometimes, the communiaction worked without any can errors, other times a lot of communication errors occured. The discussion occred about the Bit Timing of my can device, whic...
by petark
Wed 7. Apr 2021, 16:33
Forum: Linux
Topic: Chip-send-buffer full
Replies: 12
Views: 4066

Re: Chip-send-buffer full

Hi, If the reading thread still receives CAN frames, then the interrupt handler works as it should. Therefore, there is no obvious reason why it doesn't unlock the writing thread too... This version of pcan is not multi-session. This means that only one thread is allowed to write over a channel. Mo...
by petark
Tue 6. Apr 2021, 18:19
Forum: Linux
Topic: Chip-send-buffer full
Replies: 12
Views: 4066

Re: Chip-send-buffer full

Hello, thanks a lot for the fast answer! Does the reading thread still receives any CAN frames? Yes, as mentioned before the reading thread still receives CAN frames. If I power off the other CAN Device connected to the Channel such that there is no traffic on the CAN-bus anymore (no receives), the ...
by petark
Tue 6. Apr 2021, 14:22
Forum: Linux
Topic: Chip-send-buffer full
Replies: 12
Views: 4066

Re: Chip-send-buffer full

Hello, Please check whether you really run v8.11.0: both of your screenshots show v8.10.0 and v8.10.2: https://www.directupload.net/file/d/6138/obu76pew_png.htm https://www.directupload.net/file/d/6138/oegcs4d4_png.htm Regards, Hallo, You are right, on that tests I did use v8.10.0 and v8.10.2. I up...
by petark
Fri 2. Apr 2021, 12:02
Forum: Linux
Topic: Chip-send-buffer full
Replies: 12
Views: 4066

Re: Chip-send-buffer full

Hallo I have updated the driver to the 8.11.0 Version and the issue still occurs. I am thinking about if I use ur driver wrong. As mentioned before I use RTAI and open your driver in blocking mode. Are the send and receive function from your driver thread save? Can they be called from different thre...
by petark
Tue 30. Mar 2021, 10:05
Forum: Linux
Topic: Chip-send-buffer full
Replies: 12
Views: 4066

Re: Chip-send-buffer full

Whats the output for cat /proc/pcan once this issue occurs? Marvin Hello Here you can see the output of 2 different times when the issue occured. https://www.directupload.net/file/d/6138/obu76pew_png.htm https://www.directupload.net/file/d/6138/oegcs4d4_png.htm As mentioned before, the issue occure...
by petark
Mon 29. Mar 2021, 20:35
Forum: Linux
Topic: Chip-send-buffer full
Replies: 12
Views: 4066

Re: Chip-send-buffer full

Hello Thanks a lot for the fast answer. I will update my PCAN-Linux driver to 8.11.0 and do some tests again, thanks for the suggestion. I forgot to mention that I am using RTAI. I am not sure if I will be able to replicate the issue with your tests contained in the test folder, since the Problem se...
by petark
Fri 26. Mar 2021, 19:30
Forum: Linux
Topic: Chip-send-buffer full
Replies: 12
Views: 4066

Chip-send-buffer full

Hallo I am having an issue with my PCAN module (miniPCIe-FD). My device is run in blocking mode. I am using all 4 available CAN Channels to communicate to different Devices. After My Application is running around 20min-1h, I am not able to write to a specific CAN Channel, but the read still works. T...