Search found 6 matches

by r_frojd
Thu 13. May 2021, 08:10
Forum: Linux
Topic: Change the default timing
Replies: 1
Views: 3172

Change the default timing

Hi guys.
I am trying to change the default timings of the pcan devices which should be persistent on each boot.

here is the settings I want to use for all my pcan devices:
d.PNG

I tried to set them with (for example) echo 10 | sudo tee /sys/class/pcan/pcanpcifd2/nom_sjw
But that gives me ...
by r_frojd
Thu 15. Apr 2021, 15:14
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 14527

Re: Multiple pcan devices on a Linux system

No worries! All good! I figured it out myself late last night :)

So this how I set it up:
https://cdn.discordapp.com/attachments/772472372770897981/832148253335879680/Blueprint.png

And calling each joint with #define DEVICE "/dev/pcan-pcie_fd/devid=X
Did some basic testing with one motor and ...
by r_frojd
Wed 14. Apr 2021, 21:54
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 14527

Re: Multiple pcan devices on a Linux system

Sorry. I read your previous post carefully, but I am not sure I am follow you on this. :roll:

"You should set the already set device-ids for each channel accordingly
to one specfic id per hardware device."

Do you mean then that I should set the same ID for all /dev/pcanpcifdX which are on each ...
by r_frojd
Wed 14. Apr 2021, 15:53
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 14527

Re: Multiple pcan devices on a Linux system

So, This is how I configured the boards:
https://cdn.discordapp.com/attachments/772472372770897981/831888436734066728/Namnlos.png

And this is how my /etc/modprobe.d/pcan.conf looks like: (is this correct?)

# pcan - automatic made entry, begin --------
# if required add options and remove ...
by r_frojd
Wed 14. Apr 2021, 14:58
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 14527

Re: Multiple pcan devices on a Linux system

Thanks for the prompt reply! :)

The second part I dont think I understand correctly. Even if I am looking on the reference post.

So this is where I am at:
I unplugged all card except one.
I did the steps you mention from the manual.

here is the output for that card:
robot@robot-UP-WHL01:~$ ls -l ...
by r_frojd
Wed 14. Apr 2021, 09:58
Forum: PCAN-miniPCIe FD
Topic: Multiple pcan devices on a Linux system
Replies: 9
Views: 14527

Multiple pcan devices on a Linux system

Hi Forum!
I am using two PCAN-miniPCIe FD and one PCAN-M.2 FD on a UP Xtreme i7C1-8565U and I am now trying to verify and secure that all devices are "fixed" and can´'t change ID on reboot. This is of utmost importance as each channel controls a position on a legged robot.
The system is running ...