int main(void) // Your system clock and SPI initialization OSCCONbits.COSC = 0b011; // HFINTOSC // ... other configurations
If you search your standard Proteus library for MCP2515 , you might find a generic model. However, the default model often suffers from two fatal flaws: mcp2515 proteus library
