Search found 10 matches

by fenasikerim
Tue 18. Feb 2025, 14:39
Forum: Software
Topic: PCAN PCI Channel Init Causes Stuff & Form Errors on the Bus
Replies: 3
Views: 122

Re: PCAN PCI Channel Init Causes Stuff & Form Errors on the Bus

I am using version 8.18 and previously tried 8.10.2, but both behaved the same. I have 120-ohm termination resistors at both ends of the CAN bus (I can successfuly listen the line), but I have not added any termination in my Jetson-PCAN configuration since the device is not at either end of the line.
by fenasikerim
Tue 18. Feb 2025, 11:51
Forum: Software
Topic: PCAN PCI Channel Init Causes Stuff & Form Errors on the Bus
Replies: 3
Views: 122

PCAN PCI Channel Init Causes Stuff & Form Errors on the Bus

Hello, I am using two Peak Systems PCAN PCI cards with two different Jetson TX2 for CAN communication. My setup initializes the channels as follows: result = CAN_Initialize(PCAN_PCIBUS1, PCAN_BAUD_500K, 0, 0, 0); // Similarly, initializing PCAN_PCIBUS2, PCAN_PCIBUS3, etc. Before sending any data, im...
by fenasikerim
Wed 18. Dec 2024, 11:39
Forum: PCAN-Basic
Topic: 80h: TX | Stuff Error
Replies: 4
Views: 948

Re: 80h: TX | Stuff Error

Okay, I made sure the cable ends with proper resistance and it worked as we expect thank you :) :)
by fenasikerim
Tue 17. Dec 2024, 11:56
Forum: PCAN-Basic
Topic: 80h: TX | Stuff Error
Replies: 4
Views: 948

Re: 80h: TX | Stuff Error

Hi Michael, I initialize channel at 500K Baudrate do I need to sleep around 2 microseconds (which equivalents to 500 kHz) ? If I don't put a sleep in between, will the transmission occur at 500 kHz or do I need to run the entire thread at 500 kHz to be able to run at this baudrate?
by fenasikerim
Tue 17. Dec 2024, 09:53
Forum: PCAN-Basic
Topic: 80h: TX | Stuff Error
Replies: 4
Views: 948

80h: TX | Stuff Error

I'm currently trying to write data to my CANBUS line. $ cat /proc/pcan *------------- PEAK-System CAN interfaces (www.peak-system.com) ------------- *------------- Release_20240521_n (8.18.0) Dec 13 2024 16:57:39 -------------- *------------- [mod] [isa] [pci] [pec] [dng] [usb] -------------- *-----...
by fenasikerim
Mon 2. Dec 2024, 11:41
Forum: Linux
Topic: Enabling PCAN write mode
Replies: 5
Views: 1578

Re: Enabling PCAN write mode

Can you tell me what kind of questions are answered in this forum?

From now on, I can report my problems accordingly.

sorry for the inconvenience
by fenasikerim
Mon 2. Dec 2024, 09:55
Forum: Linux
Topic: Enabling PCAN write mode
Replies: 5
Views: 1578

Re: Enabling PCAN write mode

I found out how to do it. As you said, it was already open, but I disabled it with C++ code as follows. DWORD listenOnlyState = PCAN_PARAMETER_ON; if (CAN_SetValue(channelUsed, PCAN_LISTEN_ONLY, &listenOnlyState, sizeof(listenOnlyState)) == PCAN_ERROR_OK) When I turn the listen_only mode here to OFF...
by fenasikerim
Mon 2. Dec 2024, 08:48
Forum: Linux
Topic: Enabling PCAN write mode
Replies: 5
Views: 1578

Enabling PCAN write mode

Hello, I am new to PCAN stuff and try to run all CAN related works with C++ code. I would like to enable PCAN cards write mode. Here it shows (I guess) it is closed because the value is 0. I am currently using jetson tx2. I checked the usermanuel for the parameters and added options pcan txqsize=64 ...
by fenasikerim
Mon 11. Nov 2024, 12:50
Forum: Linux
Topic: PCAN-miniPCIe FD CAN1 Ctrlr Rx Buffer overrun
Replies: 3
Views: 1602

Re: PCAN-miniPCIe FD CAN1 Ctrlr Rx Buffer overrun

$ cat /proc/pcan *------------- PEAK-System CAN interfaces (www.peak-system.com) ------------- *------------- Release_20200701_n (8.10.2) Jul 9 2021 02:30:17 -------------- *------------- [mod] [isa] [pci] [pec] [dng] [usb] -------------- *--------------------- 4 interfaces @ major 505 found ------...
by fenasikerim
Fri 8. Nov 2024, 11:47
Forum: Linux
Topic: PCAN-miniPCIe FD CAN1 Ctrlr Rx Buffer overrun
Replies: 3
Views: 1602

PCAN-miniPCIe FD CAN1 Ctrlr Rx Buffer overrun

I observe this error in my Jetson TX2's system logs when I activate CAN Bus Line. I tried switching aspm from powersave mode to performance and default mode in tx2. This error still shows up. Can someone help me to solve the issue ? This error still comes into my log files and sometimes my device su...