I get a complete system hang on 'sudo ip link set can0 up type can bitrate 250000'
ifconfig -a shows Can0 and no errors that i can see in dmesg
I am using the Waveshare CanHat https://www.waveshare.com/rs485-can-hat.htm
dtparam=spi=on dtoverlay=mcp2515-can0,oscillator=12000000,interrupt=25,spimaxfrequency=2000000
so i changed the following lines in the dts file.
clock-frequency = <12000000>;
spi-max-frequency = <20000000>;
nothing else, I am Wired as per directions
Orange Pi 3.0.6 Bullseye with Linux 5.16.17-sun50iw6
Anybody got any idea's ??
I know im close, but with a complete hang, its hard to see the error.