-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waveshare 2-ch can FD hat setup in VeCan and RpiGpioSetup appears to work, but can9 interface is not created #46
Comments
It is really hard to say what needs to change. My guess is you still have GPIO conflicts if you aren't seeing anything in dmesg or iplink about the second can port. Simply running RpiGpioSetup won't necessarily clear up conflicts. It does offer a second set of GPIO assignments for relay outputs and digital inputs that MAY eliminate conflicts. It depends on the hat module(s) being used. I've also seen Waveshare change GPIO assignments so look at the documentation for your specific module. VeCanSetup does offer setting up one or both ports of a dual port hat but I'm guessing you did that. |
Findings / tl;dr
Notes to Self / Long
|
Answer For the interested It appears that I had run #/data/RpiGpioSetup/setup before I had configured the Waveshare CANHatFD via #/data/VeCanSetup/setup This caused the VenusGpioOverlay.dtbo to be loaded in /u-boot/config.txt instead of the correct VenusGpioOverlayForCanHats.dtbo Simply uninstalling RpiGpioSetup and re-installing it fixed the issue. Thanks @kwindrem for all your great contributions! |
I ran./VeCanSetup/setup to install the WaveShare 2-CH can FD hat... worked great. It said to run RpiGpioSetup to clean up the pin conflicts, which I did, then ran VeCanSetup/setup again, peerrfect.
I connected my SOK BMS on can8, and configured it... all is beautiful.
However
can9 never showed up in the gui.
so, I go back to CLI and look to see what interfaces exist:
#ip link
...and nada on the can9. can8 exists and is UP, but no can9:
5: can8: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP mode DEFAULT group default qlen 100
link/can
Where do I edit the config to specify can9?
The text was updated successfully, but these errors were encountered: