I'm trying to set up my mcp2515 with a VP230 Can transceiver for can communication. so far, I am able to connect the mcp to my RPI using SPI bus 0 and to set it up as can0 in RPI. However, when I tried to set the communication up, it seems like it was set up when I run the command "ip -d -s link show can0" However when I run the command "dmesg | fgrep -i can" it showed that the can bit-timing is not yet defined.
I'm pretty new to RPI and Can devices, so any advice would definitely help! Thanks
Able to establish bit timing for MCP2515 spi bus.
edit! it seems like my spidev is set up for spidev0.1 and spidev6.0 my /boot/config.txt file for spi is as follows dtparam=spi=on dtoverlay=spi6-1cs, cs0_pin=18 dtoverlay=mcp2515-can0, cs0_pin=8, oscillator=8000000, interrupt=25
I'm not sure if is it due to the spidev difference that causes my spi bit-timing to not be set.