I have two MCP2515 modules
one labeled HW-184 works OK with the RP2040 pico and a ESP32 both VCC to 3.3V
with RP2040 and ESP32 the other MCP2515 module works with loopback test and iinitialises OK at 3.3V but the send/receive test of post 7 indicates errors sending messages and does not receive
ESP32 CAN MCP2515 shield Send/Receive test - MCP2515 Initialize
Entering Configuration Mode Successful!
Setting Baudrate Successful!
CAN Receive - MCP2515 Initialized Successfully!
MCP2515 Library CAN Send/Receive Example
enter space to send a frame
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Error Sending Message...
0x01 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Error Sending Message...
0x02 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Error Sending Message...
if using the ESP32 I power the MCP2525 VCC from 5V the send/receive test then works OK
ESP32 CAN MCP2515 shield Send/Receive test - MCP2515 Initialize
Entering Configuration Mode Successful!
Setting Baudrate Successful!
CAN Receive - MCP2515 Initialized Successfully!
MCP2515 Library CAN Send/Receive Example
enter space to send a frame
0x01 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Message Sent Successfully!
0x02 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Message Sent Successfully!
0x03 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Message Sent Successfully!
0x04 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Message Sent Successfully!
0x05 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Message Sent Successfully!
0x06 0x01 0x02 0x03 0x04 0x05 0x06 0x07 Message Sent Successfully!
Standard ID: 0x066 DLC: 8 Data: 0x44 0x44 0x44 0x99 0x99 0xAA 0xAA 0x00
Standard ID: 0x066 DLC: 8 Data: 0x44 0x44 0x44 0x99 0x99 0xAA 0xAA 0x00
Standard ID: 0x066 DLC: 8 Data: 0x44 0x44 0x44 0x99 0x99 0xAA 0xAA 0x00
Standard ID: 0x066 DLC: 8 Data: 0x44 0x44 0x44 0x99 0x99 0xAA 0xAA 0x00
Standard ID: 0x066 DLC: 8 Data: 0x44 0x44 0x44 0x99 0x99 0xAA 0xAA 0x00
photo of MCP2515 which works at 5V connected to ESP32
I would not try powering the MCP2515 from 5V when using a RP2040 RPi Pico unless I used a level shifter to connect the module
probably simpler to get a MCP2515 which works at 3.3V
