esp32_can
esp32_can copied to clipboard
Receive message drop with CAN1 MCP2515
Have noticed that the CAN1 with MCP2515 is not receiving all messages send on the bus. Tested with just 4 different messages all running al 10ms.
Switched the interrupt to core1 and now it seems stable xTaskCreatePinnedToCore(&task_MCPInt15, "CAN_INT_M15", 4096, this, 10, &intDelegateTask, 1);
Also have Wifi enabled which also runs on core0
As soon as CAN0 starts to transmit can frames CAN1 starts to missing received messages.
Are interrupts disabled when CAN0 transmits?