Search found 547 matches

by M.Heidemann
Fri 23. Jul 2021, 08:27
Forum: Linux
Topic: Pcan adapter with docker container, set KERNEL_LOCATION variable to the root directory of your own built kernel
Replies: 1
Views: 62

Re: Pcan adapter with docker container, set KERNEL_LOCATION variable to the root directory of your own built kernel

Hello, We do not use Docker and cannot support Docker environments, however it seems like the installation of kernel-headers is commented out: #RUN apt-get install linux-headers -y As the error-message clearly states, these are required to build the PCAN-Linux driver. Try to have your docker contain...
by M.Heidemann
Wed 21. Jul 2021, 12:24
Forum: PCAN-Basic
Topic: Problem "A PCAN-Client is already connected to the PCAN-Net"
Replies: 6
Views: 91

Re: Problem "A PCAN-Client is already connected to the PCAN-Net"

Hello, To confirm that i understood the procedure and its order correctly: 1) The Python script runs, the bitrate given at 40Mhz is 500k 2) While the script is a time.sleep instruction you connect with PCAN-View 3) PCAN-View display the info "cannot change bitrate" 4) PCAN-View shows to be connected...
by M.Heidemann
Tue 20. Jul 2021, 10:12
Forum: Linux
Topic: usb pcan fd raspberry pi
Replies: 8
Views: 175

Re: usb pcan fd raspberry pi

Hello, The error counts suggests there are still issues with this config. have you tried to configure microcontroller for 80% Sample-Point and use 80 % SP on the PCAN side? As you mentioned the TMS320 series is used here, you could, according to the calculator use the following settings for your mic...
by M.Heidemann
Tue 20. Jul 2021, 10:01
Forum: PCAN-Basic
Topic: Problem "A PCAN-Client is already connected to the PCAN-Net"
Replies: 6
Views: 91

Re: Problem "A PCAN-Client is already connected to the PCAN-Net"

Hello, PCANBasic can also connect to Connections established by PCANView, however in this case, the bitrate settings need to match exactly. This was only the first point of resolvement. As to what you have described: I cannot replicate this behaviour, PCAN-View will always recognize other clock freq...
by M.Heidemann
Tue 20. Jul 2021, 08:53
Forum: PCAN-Router Pro
Topic: PCAN-Router Pro Library(C/C++)
Replies: 1
Views: 17

Re: PCAN-Router Pro Library(C/C++)

Hello, Thank you for your request. We provide two methods of configuring the PCAN-Router Pro: - Using PPCAN-Editor 2 to configure the device - Writing and flashing your own firmware for it. (Requires programming knowledge) PPCAN-Editor 2 does not provide configuration via CMD. The second option coul...
by M.Heidemann
Mon 19. Jul 2021, 16:25
Forum: PCAN-PCI Express FD
Topic: Instable connection when moving from PCI Express to PCI Express FD
Replies: 8
Views: 298

Re: Instable connection when moving from PCI Express to PCI Express FD

Hello Felix, No problem. Please check with texas Instruments which predefined bitrates are available, as this will simplify things quite alot. At 90Mhz not every config will work as intended, or will be valid. Are there any clear examples, where both bitrate and SP are given? Please report back to u...
by M.Heidemann
Mon 19. Jul 2021, 16:04
Forum: Linux
Topic: usb pcan fd raspberry pi
Replies: 8
Views: 175

Re: usb pcan fd raspberry pi

Hello, The command itself works as intended, however apparently the bit-timing used for 500kbit/s .875 does not seem to match whats on the bus. You could also try .75 and .80 sample-points, as they are quite common. We do not know what you other Node on the bus uses exactly, please check the docs or...
by M.Heidemann
Mon 19. Jul 2021, 09:40
Forum: Linux
Topic: usb pcan fd raspberry pi
Replies: 8
Views: 175

Re: usb pcan fd raspberry pi

Hello, Can you please elaborate how exactly the command: sudo ip link set can0 up type can bitrate 500000 sample-point 0.875 does not work? Do you get any error message? Do you not see the expected traffic ,for example using candump? If you use candump, do you have error-frames active (-e paramter)?...
by M.Heidemann
Mon 19. Jul 2021, 08:14
Forum: PCAN-Basic
Topic: Problem "A PCAN-Client is already connected to the PCAN-Net"
Replies: 6
Views: 91

Re: Problem "A PCAN-Client is already connected to the PCAN-Net"

Hello, Have you tried running PCAN-View after your PCANBasic application has initiliazed the channel? Also, have you checked if your bitrate matches the bitrates used on other PCs exactly ? (Sample-Point, etc) Does that resolve the issue? Please report back to us regarding this. Best Regards Marvin
by M.Heidemann
Mon 19. Jul 2021, 08:11
Forum: Linux
Topic: usb pcan fd raspberry pi
Replies: 8
Views: 175

Re: usb pcan fd raspberry pi

Hello,

Can you elaborate on your issue?

What exactly does not work?

Have you actually tested, if the PCAN-USB FD receives/sends messages as intended?

Best Regards

Marvin