@mfarver There is no fixed version that is installed. It’s all based on the west manifest that you used to initialize your repo. Are you using the nFED repo or something else? I was using NCS v1.6.0 when I last played with this.
Here is an except from a working setup I had here not too long ago.
Overlay:
// Shared SPI bus for SD card and CAN
&spi2 {
compatible = "nordic,nrf-spim";
status = "okay";
sck-pin = <19>;
mosi-pin = <21>;
miso-pin = <22>;
cs-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>, <&gpio0 17 GPIO_ACTIVE_LOW>;
sdhc0: sdhc@0 {
compatible = "zephyr,mmc-spi-slot";
reg = <0>;
status = "okay";
label = "SDHC0";
spi-max-frequency = <24000000>;
};
can1: mcp2515@1 {
compatible = "microchip,mcp2515";
spi-max-frequency = <1000000>;
int-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
status = "okay";
label = "CAN_1";
reg = <0x1>;
osc-freq = <16000000>;
bus-speed = <125000>;
sjw = <1>;
prop-seg = <2>;
phase-seg1 = <7>;
phase-seg2 = <6>;
#address-cells = <1>;
#size-cells = <0>;
};
};
/ {
chosen {
zephyr,can-primary = &can1;
};
};
My config also enables the mcp2515 device. Are you doing that somewhere?
# Adding CAN
CONFIG_CAN=y
CONFIG_CAN_MCP2515=y