is there anyone who has tried the coryjfowler library with an Arduino Nano Every?
i have swapped an Arduino Nano with the new Nano Every but when execute my program (no compile error), it stop here at initialization:
while (CAN_OK != CAN.begin(MCP_STDEXT, CAN_500KBPS, MCP_16MHZ))
delay(100);
in detail, in DEBUG mode, on file mcp_can.cpp:
/*********************************************************************************************************
** Function name: mcp2515_init
** Descriptions: Initialize the controller
*********************************************************************************************************/
INT8U MCP_CAN::mcp2515_init(const INT8U canIDMode, const INT8U canSpeed, const INT8U canClock)
after this point:
res = mcp2515_setCANCTRL_Mode(mcpMode);
if(res)
{
#if DEBUG_MODE
Serial.print("Returning to Previous Mode Failure...\r\n");
#endif
return res;
}
Because i receive this message:
Returning to Previous Mode Failure...